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.

The button at the top switches between two views.

  • Simple has three tabs, QUICK, PLAYER and SERVER, with the stuff you do every day: pick a player, heal, revive, teleport, fix their car, give an item, announce, change weather and time. Destructive buttons want a second click within 3 seconds.

  • Advanced shows every tab:

  • SELF - noclip, heal and other things for yourself

  • PLAYERS - goto, bring, spectate and the rest, plus the TESTER toggle that gives a player the F4 tester menu

  • 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)

Every button is a server action that checks staff rights again, so a modded client can’t skip it. Actions in Admin.Settings.superAdminOnly (kick, ban, unban, kill, givemoney, takemoney, wipeBuilds, wipeInventory, grantvip, revokevip) need superadmin even inside the menu.

Chat commands like /dv, /dz, /ann, /weather, /time, /tpc and /giveitem are on Staff commands.

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.