Commands and permissions
Eleven Phone commands on FiveM for players and staff: opening the phone, resetting a PIN, diagnosing FaceID, managing Eco business accounts and coverage.
Players
| Command | What it does |
|---|---|
/phone | Opens and closes the phone. Same action as the key (F1 by default). Rename it with Config.Command and change the key with Config.Keybind. |
Staff
Staff commands use ox_lib and require the permission in Config.Security.AdminAce (group.admin by default).
| Command | What it does |
|---|---|
/resetpin <number or citizenid> | Clears the PIN of a phone (by its number) or of every phone a citizen owns (by citizenid). It never reveals the PIN: the player gets the create-PIN screen again. |
/faceid | Prints to the client console (F8) what your character is wearing in the slots FaceID checks, and whether it counts your face as covered. Use it to fill in Config.Security.Face.Ignorar. |
/ecocuentas <citizenid> | Lists a citizen's Eco accounts: their own and their business's. |
/ecoempresa <alias> [job] | Links an Eco account (by its @handle, without the @) to a job. Without job, it unlinks it. |
/ecoacceso <alias> <citizenid> [quitar] | Grants an employee access to a business's Eco account. With quitar at the end, it revokes it. |
/coberturadebug | Toggles, only for you, the coverage spheres around each mast and their blips. |
/coberturadebug is a restricted FiveM command: it needs the command.coberturadebug ACE, which admins already have if your permissions.cfg includes add_ace group.admin command allow. Rename it with Config.Cobertura.DebugComando.
Permissions
To change who can use staff commands:
Config.Security = { AdminAce = 'group.mod' }
Then grant that group in your server.cfg, for example:
add_principal identifier.fivem:123456 group.mod
Emotes
The phone doesn't register emote commands: it uses your emote menu's (/e phone and /e phonecall in rpemotes). Change them with Config.Emote.Command and Config.Emote.CommandCall.