Carwipe
Installation
Installation
1. Drop the resource
Unzip the package into your server's resources/ folder. Final path should look like:
server-data/resources/[suty]/suty-carwipe/
The folder must be named exactly suty-carwipe. A renamed copy doesn't run.
2. Start it in server.cfg
ensure oxmysql
ensure ox_lib
ensure suty-carwipe
oxmysql and ox_lib must start before suty-carwipe.
3. Database
Nothing to import. On first start the resource creates a small table, suty_carwipe, where the admin panel saves its settings. Check it with:
SHOW TABLES LIKE 'suty_carwipe';
4. Give your admins access
The default mode (Config.PermissionMode = 'auto') accepts a player as admin if any of these is true:
| Check | Who passes |
|---|---|
ACE Config.AcePermission (default group.admin) |
Anyone you grant that ACE in server.cfg |
| QBX / QB-Core permission | Players with one of Config.AdminGroups (admin, god, superadmin) |
| ESX group | Players whose ESX group is in Config.AdminGroups |
On QBX and QB-Core your existing admins usually pass with no extra setup. For standalone servers, or to be sure, grant the ACE to your admin group:
add_principal identifier.license:YOUR_LICENSE group.admin
add_ace group.admin group.admin allow
The check asks for the ACE named in Config.AcePermission. Being in the group.admin group isn't enough by itself: the add_ace line above grants it. If you change Config.AcePermission, grant that name instead.
5. Restart your server
The banner appears in the server console on a healthy boot:
███████╗██╗ ██╗████████╗██╗ ██╗
██╔════╝██║ ██║╚══██╔══╝╚██╗ ██╔╝
███████╗██║ ██║ ██║ ╚████╔╝
╚════██║██║ ██║ ██║ ╚██╔╝
███████║╚██████╔╝ ██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚═╝
██████╗ █████╗ ██████╗ ██╗ ██╗██╗██████╗ ███████╗
██╔════╝██╔══██╗██╔══██╗██║ ██║██║██╔══██╗██╔════╝
██║ ███████║██████╔╝██║ █╗ ██║██║██████╔╝█████╗
██║ ██╔══██║██╔══██╗██║███╗██║██║██╔═══╝ ██╔══╝
╚██████╗██║ ██║██║ ██║╚███╔███╔╝██║██║ ███████╗
╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝╚═╝ ╚══════╝
Version: 1.2.5 | Resource loaded successfully!
Once the database is connected, the console also prints whether the automatic carwipe is on and which announcement design is active:
[Carwipe] Automatic carwipe enabled - Running every 60 minutes
[Carwipe] Announcement theme: "classic"
6. Quick test
In game, as an admin:
/carwipe 15
Every player sees a 15-second countdown, then the empty vehicles around them are removed. Open the panel with:
/carwipepanel
Next steps
- Configuration — every setting in
config.luaexplained - Commands — commands and the admin panel
- Troubleshooting — fixes for common issues
