Permissions
Vinewood LSPDHow Permissions Work
Vinewood LSPD uses the FiveM ACE permission system to control who can use the /v command. Only players with the vine_lspd.access ace permission can switch departments and interior styles.
The permission check is defined in the resource config:
Config.IsAllowed = function(playerId)
return IsPlayerAceAllowed(playerId, "vine_lspd.access")
endThis means any player attempting to use /v commands must have the vine_lspd.access ace granted to them — either directly or through a group.
Granting Access
Grant access to all admins
Add this line to your server.cfg to give all players in the admin group access:
add_ace group.admin vine_lspd.access allowGrant access to a custom group
If you have a custom group (e.g. police, staff, management), grant access to that group instead:
add_ace group.police vine_lspd.access allowGrant access to a specific player
To grant access to a single player by their identifier:
add_principal identifier.license:xxxx group.adminReplace xxxx with the player’s license identifier. This adds the player to the admin group, which inherits the ace permission.
You can create a dedicated group specifically for Vinewood LSPD access to keep permissions clean and separate from your other server roles.
Custom Group Example
If you want a standalone permission group just for this resource, add the following to your server.cfg:
## Vinewood LSPD Permissions
add_ace group.vinelspd vine_lspd.access allow
## Add players to the group
add_principal identifier.license:xxxxxxxxxxxxxxx group.vinelspd
add_principal identifier.license:xxxxxxxxxxxxxxx group.vinelspdThis creates a vinelspd group with the required ace, then assigns individual players to it.
Common Identifier Types
| Identifier | Format | Example |
|---|---|---|
| License | identifier.license:xxxxx | identifier.license:abc123def456 |
| Steam | identifier.steam:xxxxx | identifier.steam:110000100000001 |
| Discord | identifier.discord:xxxxx | identifier.discord:123456789012345 |
| FiveM | identifier.fivem:xxxxx | identifier.fivem:1000001 |
You can use any identifier type supported by FiveM. The license identifier is the most commonly used.
Quick Reference
vine_lspd.accessadd_ace group.admin vine_lspd.access allowConfig.ChangeInteriorCommand = ‘v’