Admin menu & permissions
The two staff tiers
Section titled “The two staff tiers”Permissions are plain FiveM ACE. From server.cfg:
# staff tieradd_ace group.admin command.zombiemenu allowadd_ace group.admin bs.admin allow
# owner tieradd_ace group.superadmin bs.superadmin allowadd_ace group.superadmin bs.owner allowadd_ace group.superadmin command allowadd_principal group.superadmin group.admin # superadmin gets everything admin hasbs_core reads them from Config.Permissions (bs_core/config/config.lua):
adminAces = { 'bs.admin', 'command.zombiemenu' },superAdminAces = { 'bs.superadmin' },Other ACEs used around the framework:
| ACE | For |
|---|---|
bs.admin | F10 menu, F1 console, staff commands |
bs.superadmin | destructive stuff: kick, give money, wipe builds/inventory, grant/revoke VIP |
bs.owner | deleting F1 profiles |
bs.guard.bypass | skip anti-cheat checks without being staff |
Adding your staff
Section titled “Adding your staff”Put their identifier in a group at the bottom of server.cfg. Steam hex or license, both work, add both if you are not sure which FiveM will resolve:
add_principal identifier.license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx group.superadminadd_principal identifier.steam:11000010xxxxxxx group.adminRemove the example principals from the shipped config before you go public. They are mine.
F10 admin menu
Section titled “F10 admin menu”bs_admin, key F10 (Admin.Settings.openKey = 57), command /adminmenu. Tabs:
- SELF - noclip, heal and other things for yourself
- PLAYERS - goto, bring, spectate and the rest
- SKILLS - set levels and skills
- ITEMS - item picker with tabs (boosters, gadgets, gear, drugs, ammo…)
- WEAPONS, CLOTHING, VEHICLE
- WORLD - time and weather presets
- DEBUG
- SANCTIONS - the global faction sanctions and admin jail
- GUARD - anti-cheat log (see Anti-cheat)
Actions in Admin.Settings.superAdminOnly (kick, givemoney, wipeBuilds, grantvip, revokevip, wipeInventory) need superadmin even inside the menu.
Quick commands for staff: /car, /dv, /heal, /ammo, /revive, /zspectate, /zforce. The whole list per resource is in the API reference, Commands section.
vMenu is there for staff only on F11, vmenu_menu_staff_only true. Its permissions are in resources/vMenu/config/permissions.cfg, exec’d before ensure vMenu. Its own group.admin inherits from your group.admin, so you don’t declare staff twice.
bs19.org · Privacy · Terms · Cookie settings