editable files

Config.lua

Config = {}


-- qb for [QBCore & Qbox] & ESX for [ESX Framework]
Config.Framework = 'qb'
 
Config.Inventory = 'qb-inventory' -- qb-inventory or ox_inventory
Config.DiscordWebhook = "Your_Discord_WebhookURL" --- Discord Webhook URL

Config.Kick = false --- Want to kick player from server while using blacklist weapon

Config.WhitelistCommand = 'wlist'
Config.RemoveWhitelistCommand = 'wlremove'

Config.AdminGroup = "admin" -- your command permission group

weaponList.lua

Weapon = {}

--- weapon names must in capital letters
Weapon.WeaponHashes = {
    [GetHashKey("WEAPON_PISTOL")] = "WEAPON_PISTOL",
    [GetHashKey("WEAPON_COMBATPISTOL")] = "WEAPON_COMBATPISTOL",
    [GetHashKey("WEAPON_ASSAULTRIFLE")] = "WEAPON_ASSAULTRIFLE",
    [GetHashKey("WEAPON_SMG")] = "WEAPON_SMG",
    [GetHashKey("WEAPON_MINISMG")] = "WEAPON_MINISMG",
    [GetHashKey("WEAPON_PUMPSHOTGUN")] = "WEAPON_PUMPSHOTGUN",
    [GetHashKey("WEAPON_KNIFE")] = "WEAPON_KNIFE",
    -- Add more weapon hashes and names as needed
}

data.lua (Editable but Dont edit it it can auto change by in game commands)

Data = {}

--- Dont touch this config file this will auto update on ingame command /wlist [Id/Job] [Weapon Name in Capital]

Data.BlacklistedWeapons = {
    "WEAPON_PISTOL",
    "WEAPON_ASSAULTRIFLE",
    "WEAPON_SMG",
    "WEAPON_MINISMG",
}

Data.WhitelistedPlayers = {
}

Data.WhitelistedJobs = {
}

Last updated