feat!: ace permission system

This commit is contained in:
BerkieBb
2022-02-24 21:58:49 +01:00
parent 1412d02db1
commit 31888996ab
13 changed files with 195 additions and 72 deletions
+5 -3
View File
@@ -27,8 +27,10 @@ QBConfig.Server.uptime = 0 -- Time the server has been up.
QBConfig.Server.whitelist = false -- Enable or disable whitelist on the server
QBConfig.Server.pvp = true -- Enable or disable pvp on the server (Ability to shoot other players)
QBConfig.Server.discord = "" -- Discord invite link
QBConfig.Server.checkDuplicateLicense = true -- check for duplicate rockstar license on join
QBConfig.Server.PermissionList = {} -- permission list
QBConfig.Server.checkDuplicateLicense = true -- Check for duplicate rockstar license on join
QBConfig.Server.PermissionList = {} -- Permission list for old permission system
QBConfig.Server.UseOldPermissionSystem = true -- Use old permissions system from the database
QBConfig.Server.AllPermissions = {'god',} -- Table of permissions which have access to everything
QBConfig.Notify = {}
@@ -62,4 +64,4 @@ QBConfig.Notify.VariantDefinitions = {
classes = 'ambulance',
icon = 'fas fa-ambulance'
}
}
}