![Chat System [Standalone] (Open Source)](http://dunb17ur4ymx4.cloudfront.net/packages/images/b23c569883131ef03aaf28dc592c39d0e40b74e7.png)
Chat System [Standalone] (Open Source)
A feature-rich chat system for FiveM & RedM servers with advanced features including admin styling, preconfigured OOC commands, spam protection, and chat logging.
This script is open source.
🔹 Support: Join our Discord
🔹 Video Preview
- Cross-Platform: Works seamlessly on both FiveM and RedM servers with automatic platform detection
- Custom Templates: Easily create and customize chat message templates via config.lua
- Admin Styling: Special formatting for admin messages with configurable colors
- OOC Command: Built-in Out-of-Character chat command (as example for more commands like /me)
- Spam Protection: Configurable spam detection and timeout system
- Chat Logging: Comprehensive logging system with timestamps and player identifiers
- Command Suggestions: Automatic command suggestions based on player permissions
- Customizable UI: Adjust chat appearance through simple configuration options
- None
- Works on FiveM & RedM!
Configuration
All settings can be adjusted in the config.lua
file:
Commands
OOC CommandÂ
Use /ooc [message]
to send an Out-of-Character message that will be displayed with a blue [OOC] prefix.Â
There is a commands.lua file where you can add more commands (server-side).
Usage Examples
Sending an Important Message
TriggerEvent('chat:addMessage', {
templateId = 'important',
args = {'This is an important message!'}
})
Sending an Admin Message
Admin messages are automatically styled when sent by players with admin permissions.
Advanced Usage
Creating Custom Commands
You can easily add your own commands by editing the commands.lua
file. Here's an example of how to create a custom /me
command:
RegisterCommand('me', function(source, args)
local playerName = GetPlayerName(source)
if not playerName then return end
if #args == 0 then
TriggerClientEvent('chat:addMessage', source, {
color = {255, 0, 0},
args = {"SYSTEM", "Please provide an action for /me."}
})
return
end
local message = table.concat(args, ' ')
TriggerClientEvent('chat:addMessage', -1, {
templateId = 'me',
args = {playerName, message}
})
-- Log message if enabled
logToFile(message, source, "me")
end, false)
Then add a template in config.lua
:
Config.Templates['me'] = '^5* {0} {1}'
Adding Custom Styling
You can customize the appearance of the chat window by modifying the Config.Style
table in config.lua
.
Permissions
- Admin styling requires the
command
ACE permission - Command suggestions are based on player's ACE permissions
Locked Files:Â server.lua and client.lua are locked in the resource BY CFX ESCROW. UI, Config, Comamnd.lua is open.
A feature-rich chat system for FiveM & RedM servers with advanced features including admin styling, preconfigured OOC commands, spam protection, and chat logging.
This script is open source.
🔹 Support: Join our Discord
🔹 Video Preview
- Cross-Platform: Works seamlessly on both FiveM and RedM servers with automatic platform detection
- Custom Templates: Easily create and customize chat message templates via config.lua
- Admin Styling: Special formatting for admin messages with configurable colors
- OOC Command: Built-in Out-of-Character chat command (as example for more commands like /me)
- Spam Protection: Configurable spam detection and timeout system
- Chat Logging: Comprehensive logging system with timestamps and player identifiers
- Command Suggestions: Automatic command suggestions based on player permissions
- Customizable UI: Adjust chat appearance through simple configuration options
- None
- Works on FiveM & RedM!
Configuration
All settings can be adjusted in the config.lua
file:
Commands
OOC CommandÂ
Use /ooc [message]
to send an Out-of-Character message that will be displayed with a blue [OOC] prefix.Â
There is a commands.lua file where you can add more commands (server-side).
Usage Examples
Sending an Important Message
TriggerEvent('chat:addMessage', {
templateId = 'important',
args = {'This is an important message!'}
})
Sending an Admin Message
Admin messages are automatically styled when sent by players with admin permissions.
Advanced Usage
Creating Custom Commands
You can easily add your own commands by editing the commands.lua
file. Here's an example of how to create a custom /me
command:
RegisterCommand('me', function(source, args)
local playerName = GetPlayerName(source)
if not playerName then return end
if #args == 0 then
TriggerClientEvent('chat:addMessage', source, {
color = {255, 0, 0},
args = {"SYSTEM", "Please provide an action for /me."}
})
return
end
local message = table.concat(args, ' ')
TriggerClientEvent('chat:addMessage', -1, {
templateId = 'me',
args = {playerName, message}
})
-- Log message if enabled
logToFile(message, source, "me")
end, false)
Then add a template in config.lua
:
Config.Templates['me'] = '^5* {0} {1}'
Adding Custom Styling
You can customize the appearance of the chat window by modifying the Config.Style
table in config.lua
.
Permissions
- Admin styling requires the
command
ACE permission - Command suggestions are based on player's ACE permissions
Locked Files:Â server.lua and client.lua are locked in the resource BY CFX ESCROW. UI, Config, Comamnd.lua is open.
FEATURED PRODUCTS
Take look at our most liked scripts and find the most suitable one for you.
F.A.Q
Here are some of the most frequently asked questions to us.
Escrow is a licensing system that was made by the creators of the FiveM to protect the resources and license them.
You can always get support for our products by joining our Discord server.
Installing FiveM scripts is straightforward. First, ensure your server meets all necessary requirements. Download the desired script from our collection, upload it to your server's resources folder, update your server configuration file to include the new script, and restart your server.
Absolutely! Our FiveM scripts are designed with flexibility in mind. Whether you need custom job systems, unique vehicle modifications, or specialized UI enhancements, our scripts can be tailored to meet your specific requirements. Additionally, our experienced support team is available 24/7 to help you with any customization needs.
Our premium FiveM scripts are exclusively available through our Tebex store. Premium scripts offer advanced features, enhanced performance, and regular updates to ensure compatibility with the latest FiveM releases. By purchasing premium scripts, you gain access to priority support, detailed documentation, and exclusive content that will elevate your server’s gameplay and functionality.