Transform your server's chat into a professional, Discord-synced experience!
β¨ Key Features:
β No external dependencies beyond ox_lib. Drag & drop ready.
Perfect for serious roleplay servers needing professional chat with staff tools & Discord sync.
Live Demo: https://discord.gg/z6r8HNnzEp| [https://store.percz.dev]
Download & Extract
Ensure ox_lib is installed: https://overextended.dev/ox_lib
Drag [NL-Solutions]/nl-chat folder into your resources/
Add to server.cfg
ensure ox_lib
ensure nl-chat
Restart server or refresh + start nl-chat
Setup Discord Bot (required for tags/avatars) - See below
Done! Chat is now fully replaced. Press T to type.
All settings in chatconfig.lua (server-side only).
northline.Config.ChatDiscord = {
Enabled = true,
BotToken = 'YOUR_BOT_TOKEN', -- Create bot below
GuildId = '123456789012345678', -- Copy Server ID (right-click server icon)
CacheTTL = 300, -- Refresh roles every 5 min
}
northline.Config.ChatTags = {
Default = { tag = 'User', color = '222,222,222' },
Tags = {
{ tag = 'Owner', color = '0,255,102', role = '123456789012345678' }, -- Discord role ID
{ tag = 'Admin', color = '255,0,0', role = '123456789012345679' },
-- Add more...
},
Custom = {
AllowedRole = '123456789012345678', -- Who can use /chattag custom
MinLength = 2, MaxLength = 15,
Blacklist = { 'admin', 'owner', 'mod' }
}
}
northline.Config.ChatSettings = {
AntiSpam = 5, -- Seconds between messages
MaxCharacters = 300,
ProximityRange = 15.0, -- /me /do range (meters)
AutoAds = {
'Join Discord.gg/Northline',
'Apply at forms.Northline.lol'
}
}
northline.Config.ChatWebhooks = {
Master = 'https://discord.com/api/webhooks/...', -- ALL channels mirror here
OOC = 'https://discord.com/api/webhooks/...',
Me = '',
Twitter = 'https://discord.com/api/webhooks/...',
-- etc.
}
| Feature | Description |
|---|---|
| Discord Sync | Live role tags + Discord avatars |
| 10 Channels | OOC, Me, GlobalMe, Do, Twitter, Ad, DarkWeb, DM |
| Proximity | /me /do only shows to nearby players |
| Custom Tags | /chattag menu - role or custom (permissioned) |
| Anti-Spam | Cooldowns, blacklists, length limits |
| Staff Tools | /clearchat, /announce, webhook logs |
| NUI UI | Animated messages, avatars, hover effects |
| ox_lib | Native menus/notifications |
| Auto-Ads | Rotating server promotions |
| Custom UI | Edit html/ files (index.html, CSS/JS) for themes |
T - Open chat input
/chattag - Tag selection menu (roles + custom)
/chathelp - List all commands
/togglechat - Hide/show chat messages
/clear - Clear your local chat
π’ CHANNELS:
ooc [msg] - Global out-of-character
me [action] - Local emote (nearby players)
gme [action] - Global emote (everyone)
do [desc] - Local action description
tw [msg] - Twitter-style post
ad [msg] - Server-wide advertisement
darkweb [msg] - Dark web channel
vpn [msg] - VPN chat (anonymous/masked)
dm [id] [msg] - Private message player ID
π STAFF:
clearchat - Clear everyone's chat
announce [msg]- Staff broadcast (big red banner)
staff [msg] - Staff chat that only staff can see
Examples:
/me waves hello
/do *The door creaks open slowly*
dm 5 Hey, meet at the docks?
twt Breaking: LSPD corruption scandal! #news
/clearchat, /announce)Either:
ChatStaff.ClearChatRolechat.clearchatChatTags.Custom.AllowedRolebotRead Messages/View Channels + View Audit Logβ Bot ready! Roles/tags/avatars will appear automatically.
Every message type logs to Discord with rich embeds:
Player: [ID] Name π₯οΈ
Discord: @username
Message: Hello world!
Server: Northline | 2024-10-01 12:34
Separate webhook per channel + master mirror.
| Issue | Solution |
|---|---|
| No tags/avatars | Check bot token, guild ID, SERVER MEMBERS INTENT enabled |
| Commands missing | Ensure ox_lib running first |
| Chat not opening | Default chat disabled automatically |
| Webhooks silent | Verify URLs valid (test in browser) |
| Proximity not working | Check ProximityRange in config |
Console Errors? Check fxserver.log for Discord API issues.
Support: Issues?[ https://discord.gg/z6r8HNnzEp ]
Β© Northline Solutions
Northline Solutions - Perko
See what others have to say about our services!