Skip to Content

Permissions

Configure command access for Vinewood LSPD

How 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") end

This 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 allow

Grant 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 allow

Grant access to a specific player

To grant access to a single player by their identifier:

add_principal identifier.license:xxxx group.admin

Replace 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.vinelspd

This creates a vinelspd group with the required ace, then assigns individual players to it.


Common Identifier Types

IdentifierFormatExample
Licenseidentifier.license:xxxxxidentifier.license:abc123def456
Steamidentifier.steam:xxxxxidentifier.steam:110000100000001
Discordidentifier.discord:xxxxxidentifier.discord:123456789012345
FiveMidentifier.fivem:xxxxxidentifier.fivem:1000001

You can use any identifier type supported by FiveM. The license identifier is the most commonly used.


Quick Reference

Required ACE Permission
vine_lspd.access
Minimum server.cfg Setup
add_ace group.admin vine_lspd.access allow
Command Name (configurable)
Config.ChangeInteriorCommand = ‘v’
Last updated on