This section allows you to enable permissions for AcePermissions, ESX, vRP, QBCore and QBX. These permissions will operate on the /shield command.
Adding custom permissions
The code for our permissions is located in sv_utils.lua and we encourage you to make edits.
Notifications
This allows you to modify the notifications used for the resource. By default, notifications will be base game notifications shown ontop of the map. However, you may enable a framework/resource such as QBCore, QBX, ESX, vRP or OKOKNotify.
Adding custom notifications
The code for our notifications is located in cl_utils.lua and we encourage you to make edits.
Inventory Items
The next section allows you to configure whether inventory items are enabled/disabled. Setting up inventory items is covered in the next page of this documentation.
Setting up permissions, notifications and items is easy!
Permissions = { EnablePermissions =false, AcePermissions = { Enabled =false,-- This enables ace permissions on the shield command },-- We've added ESX integration. All you need to do is enable it below and configure which jobs can use the command ESX = { Enabled =false, CheckJob = { Enabled =false, -- 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 vRP integration. All you need to do is enable it below. Then, configure if you wish to check for groups or permissions, or even both vRP = { Enabled =false, CheckGroup = { Enabled =false, -- Enable this to use vRP group check Groups = {"police"}, -- 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"} -- A user can have any of the following permissions, allowing you to add multiple }, },-- We've added QBCore integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both 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 = {"police"}, -- A user can have any of the following permissions, allowing you to add multiple }, }, QBX = { Enabled =false, CheckJob = { Enabled =false, -- Enable this to use QBX job check Jobs = {"police"}, -- A user can have any of the following jobs, meaning you can add different jobs } },}