Config Files
The script is fully configurable, enabling you to tailor its behavior and features to your needs. Below is a list of the configuration files included in the resource.
IzaapConfig = IzaapConfig or {}
----------------------------------------------------------
-- Framework
----------------------------------------------------------
-- Supported: 'qb' (QBCore) | 'esx' (ESX)
IzaapConfig.Framework = 'qb'
IzaapConfig.Debug = false
----------------------------------------------------------
-- Commands & Keybinds
----------------------------------------------------------
-- Player menu (VIP)
IzaapConfig.VIPWeaponsCommand = "vipweaponsmenu" -- Command to open the VIP weapons menu
IzaapConfig.VIPWeaponsKey = "F10" -- Keybind to open the menu
-- Admin panel
IzaapConfig.AdminCommand = "weaponspanel" -- Command to open the admin panel
----------------------------------------------------------
-- Language
----------------------------------------------------------
-- Supported: 'en' | 'es'
IzaapConfig.Language = "en"
----------------------------------------------------------
-- Gameplay Settings
----------------------------------------------------------
IzaapConfig.AllowWeaponInCar = true -- Allow equipping weapons while inside a vehicle
----------------------------------------------------------
-- Discord / Webhook Log Templates
-- NOTE: Keep the %s placeholders as-is (string.format).
----------------------------------------------------------
IzaapConfig.LogMessages = {
AssignWeapon = {
title = "VIP Weapon Assigned",
message = "Staff %s assigned weapon '%s' to player %s (License: %s)."
},
AssignWeaponOffline = {
title = "VIP Weapon Assigned (Offline)",
message = "Staff %s assigned weapon '%s' to an offline player (License: %s, Name: %s)."
},
WeaponDeleted = {
title = "Weapon Template Deleted",
message = "Staff %s deleted the weapon template (ID: %s)."
},
TemplateCreated = {
title = "Weapon Template Created",
message = "Staff %s created template '%s' (Hash: %s)."
},
TemplateUpdated = {
title = "Template Components Updated",
message = "Staff %s updated components for weapon template (ID: %s)."
},
PlayerWeaponUpdated = {
title = "Player Weapon Attachments Updated",
message = "Staff %s updated attachments for an assigned weapon (ID: %s)."
}
}
----------------------------------------------------------
-- Notifications
----------------------------------------------------------
IzaapConfig.NotifyMessages = {
NoPermission = {
message = "You do not have permission to use this command.",
type = "error" -- QBCore notify type (ignored on ESX)
}
}
Last updated