mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
@@ -34,6 +34,7 @@ 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.Notify = {}
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ local function OnPlayerConnecting(name, setKickReason, deferrals)
|
||||
deferrals.done('No Valid Rockstar License Found')
|
||||
elseif isBanned then
|
||||
deferrals.done(Reason)
|
||||
elseif isLicenseAlreadyInUse then
|
||||
elseif isLicenseAlreadyInUse and QBCore.Config.Server.checkDuplicateLicense then
|
||||
deferrals.done('Duplicate Rockstar License Found')
|
||||
else
|
||||
deferrals.done()
|
||||
|
||||
Reference in New Issue
Block a user