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.
Simple and Advanced
Section titled “Simple and Advanced”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.
bs19.org · Privacy · Terms · Cookie settings
Cookies and outside content
The site only needs two essential cookies to keep you logged in and protect forms. Videos and streams from YouTube and Twitch load from their servers, which can set their own cookies, so they stay off until you say yes. Nothing is pre-ticked and you can change your mind any time with "Cookie settings" at the bottom of every page. Details.
Questions about the server, the framework or the site? A real person reads this, usually within a day.