Config.AdminGroup (default group.admin). Command names come from Config.Commands — rename them in config.lua.
Chat commands
| Command | What it does |
|---|---|
/whitelistmenu | Opens the admin UI. |
/addwhitelist <item|weapon> <name> <scope> <value> | Adds an entry. |
/removewhitelist <item|weapon> <name> | Removes all scopes for that item/weapon. Use the menu to remove a specific scope. |
/listwhitelist | Lists every entry with its scope. |
Arguments for /addwhitelist
| Argument | Value |
|---|---|
<item|weapon> | Literally item or weapon. |
<name> | Item or weapon name (e.g. radio or WEAPON_PISTOL). |
<scope> | job or identifier. |
<value> | The job name (police), or a player server ID (12), or an identifier (steam:110000... / citizenid). Server IDs are resolved to the identifier automatically. |
Examples
Keybinding
Config.MenuKeybind in config.lua is the default key for /whitelistmenu. Empty = none. Players can still bind it themselves from FiveM Settings → Key Bindings → FiveM.
