Configuration
Configuration reference and runtime behavior for gcm_pedSystem.
Root config (sh_config.lua)
Config.Debug.client
- Type:
boolean - Current:
false - Allowed:
true/false - Impact: Enables client debug logs.
Config.Debug.server
- Type:
boolean - Current:
false - Allowed:
true/false - Impact: Enables server debug logs.
Config.Lang
- Type:
string - Current:
'en' - Allowed:
en,es(or custom keys added inlang.lua) - Impact: Selects menu/notification language.
Config.Triggers.ESX.load
- Type:
string - Current:
'esx:playerLoaded' - Allowed: valid client load event
- Impact: Player-load event for ESX mode.
Config.Triggers.QB.load
- Type:
string - Current:
'QBCore:Client:OnPlayerLoaded' - Allowed: valid client load event
- Impact: Player-load event for QB mode.
Config.MenuPosition
- Type:
string - Current:
'top-left' - Allowed: valid ox_lib menu positions
- Impact: Controls screen placement for menus.
Config.GroupPermissions
- Type:
string[] - Current:
['god', 'admin', 'superadmin'] - Allowed: framework/ACE groups
- Impact: Determines who can access admin PED panel.
Config.Commands.adminPanel
- Type:
string - Current:
'pedmenu' - Allowed: valid command name
- Impact: Staff command to open admin panel.
Config.Commands.userMenu
- Type:
string - Current:
'ped' - Allowed: valid command name
- Impact: Player command to open owned PED list.
Config.Logs.enable
- Type:
boolean - Current:
true - Allowed:
true/false - Impact: Enables Discord log sending.
Config.Logs.webhooks.admin_give / admin_set / admin_remove
- Type:
string - Current:
'INSER_YOUR_WEBHOOK'placeholders - Allowed: valid Discord webhook URL
- Impact: Per-action webhook endpoint for PED admin actions.