Admin Tools
Admin Tools
A small set of admin and vehicle tools: give an item to every online player, add the car you're sitting in to a garage, and let players hand their own car to someone else — with Discord logs.
Detects ESX or QBCore automatically. Items go through ox_inventory.
Compatibility
ESX LegacyQBCoreox_libox_inventoryoxmysqlesx_vehicleshop / esx_garageqb-garagesAny vehicle keys resource
Commands
| Command | Who | Description |
|---|---|---|
| /admingiveall <item> <amount> | admin | Give an item to every online player. Each one gets a notification |
| /adminaddcar | admin | Add the vehicle you're in to your garage |
| /admingivecar <id> | admin | Add the vehicle you're in to another player's garage |
| /givecarkey <id> | anyone | Transfer ownership of the car you're in (that you own) to another player |
Features
- Ownership is checked against the database before any transfer
- Cooldown on
/givecarkeyto stop spam - New plates generated if the vehicle has none or the plate is taken
- Fires your vehicle keys event so the new owner gets keys straight away
- Discord logs for transfers, admin adds and admin gives
- Table and column names are configurable for custom garage schemas
Dependencies
| Resource | Required | Notes |
|---|---|---|
| ox_lib | required | Notifications, vehicle properties |
| ox_inventory | required | /admingiveall |
| oxmysql | required | Vehicle ownership |
| es_extended / qb-core | one of | Detected automatically |