Configuring the permissions

Permissions

We've added support for ESX, vRP, QBCore, and Ace Permissions straight out of the box. To enable permissions for any of these, navigate to the framework of choice for example vRP = { You will then have the ability to enable this from false to true and then set the group or permission you want. Each framework has been documented allowing you to see which value in each category is doing.

acePermissions = {
    enabled = false,
    permission = "update.sign"
},

vRP = {
   enabled = false,
    checkGroup = {
        enabled = true, -- Enable this to use vRP group check
        groups = {"police", "emergency", "admin"}, -- A user can have any of the following groups, meaning you can add different jobs
    },
    checkPermission = {
        enabled = false, -- Enable this to use vRP permission check
        permissions = {"police.menu", "player.kick"} -- A user can have any of the following permissions, allowing you to add multiple
    },
},

-- We've added ESX integration. All you need to do is enable it below
-- Then, configure which jobs you want to check for
-- If you want to add further ESX integration, edit sv_smartsigns.lua
ESX = {
    enabled = false,
    checkJob = {
        enabled = true, -- Enable this to use ESX job check
        jobs = {"police"} -- A user can have any of the following jobs, allowing you to add multiple
    }
},

-- We've added QBCore integration. All you need to do is enable it below
QBCore = {
    enabled = false,
    checkJob = {
        enabled = false, -- Enable this to use QBCore job check
        jobs = {"police"}, -- A user can have any of the following jobs, meaning you can add different jobs
    },
    checkPermission = {
        enabled = false, -- Enable this to use QBCore permission check
        permissions = {"god"}, -- A user can have any of the following permissions, allowing you to add multiple
    },
},

Last updated