0R Admin (0R-admin) is a simple admin menu for FiveM. The download contains a version for ESX and a version for QBCore (QBUS). You decide in the config who gets access and which actions each permission group may use.
Controls
- Insert: open the menu
- Delete: noclip and vanish
Features
- Player actions: revive, heal, go to, bring, kill, kick, ban, freeze, set job, give item, open or clear inventory, take a screenshot, wipe.
- Vehicles: spawn a car for a player, give an owned car, repair the current vehicle, delete vehicles near players.
- Server: change weather and time, send an announcement, show player blips, clear an area (vehicles and props within 150 units).
- Mass actions: revive all, bring all, kick all.
- Offline players: ban or wipe offline players.
- Self: noclip, vanish (invisibility), teleport to marker, copy coordinates (vector3 or with heading).
- Player list, ban list with option to delete bans, and removing all community service.
- Bans are stored in their own
0r-banstable.
Permissions
Admins are listed in Config.Auth with name, identifier and permission group. Config.Perms defines which actions each group may use; the default config has an admin group with all actions and a moderator group with access, revive, heal, go to, bring, kick and set job.
Requirements
- ESX or QBCore (use the matching folder)
- MySQL database for the ban table
Installation
- Copy the
ESXorQBCorefolder into yourresourcesfolder and give it a resource name, for example0R-admin. - Import
0r-bans.sqlinto your database. - Enter your admins and their permission groups in
config.lua. - Add
ensurewith your resource name to your server config.