Skip to content

Admin menu & permissions

Permissions are plain FiveM ACE. From server.cfg:

# staff tier
add_ace group.admin command.zombiemenu allow
add_ace group.admin bs.admin allow
# owner tier
add_ace group.superadmin bs.superadmin allow
add_ace group.superadmin bs.owner allow
add_ace group.superadmin command allow
add_principal group.superadmin group.admin # superadmin gets everything admin has

bs_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:

ACEFor
bs.adminF10 menu, F1 console, staff commands
bs.superadmindestructive stuff: kick, give money, wipe builds/inventory, grant/revoke VIP
bs.ownerdeleting F1 profiles
bs.guard.bypassskip anti-cheat checks without being 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.superadmin
add_principal identifier.steam:11000010xxxxxxx group.admin

Remove the example principals from the shipped config before you go public. They are mine.

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.