โ๏ธFull Configuration Breakdown
๐นconfig.lua (Server-Side)
config.lua (Server-Side)๐ง Core Settings
-- Notification duration (default: 5 seconds)
Config.DefaultDuration = 5000 -- in milliseconds
-- Framework detection (supports ESX/QBCore/standalone)
Config.Framework = {
AutoDetect = true, -- Automatically detect ESX/QBCore
Type = "newesx", -- Manual override: "oldesx", "newesx", "qbcore"
ESXExport = "es_extended", -- ESX resource name
QBCoreResource = "qb-core" -- QBCore resource name
} ๐ฌ Team Chat
Config.TeamChat = {
Enabled = true,
Command = "tc", -- Command: /tc [message]
AllowedGroups = { -- Staff groups with access
["admin"] = true,
["mod"] = true
},
ShowSteamID = true, -- Log SteamID to deter trolling
Cooldown = 3000, -- 3-second delay between messages
Prefix = "[STAFF]" -- Chat message prefix
} ๐ฎ Job Chat
๐ฉ Direct Messages
๐ธ html/config.js (Client-Side UI)
html/config.js (Client-Side UI)๐ Position & Layout
๐จ Appearance
โจ Animations
๐ Notification Types
3. translation.lua (Multi-Language)
translation.lua (Multi-Language)๐ง Common Config Scenarios
Change Notification Position
Edit
html/config.jsSet
positionPreset: "bottom-right"
Add a New Job Chat
Edit
config.luaunderConfig.JobChat.AllowedJobs:
Disable Glass Effect for Low-End PCs
๐ฆ Troubleshooting
Notifications Not Showing?
Check
ensure X_HUD_Notifyinserver.cfg.Verify no conflicts with other HUD scripts.
Chat Commands Not Working?
Ensure
Config.Framework.AutoDetectmatches your framework.Check group/job names in
config.lua.
Need Help? Join FiveWorld Discord for config reviews and optimization! ๐๐จ
Last updated