Blaze Scripts
Home
Chat System [Standalone] (Open Source)

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

d63f807d4c601e98dd4298b82f8a010cec6a3887.png

06f1e121c219fc3d1598d996245a8c89c3ce7e00.png

Features

  • 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

Dependencies

  • None
  • Works on FiveM & RedM!

Configuration

All settings can be adjusted in the config.lua file:

871f774bf73eb63c45fb8fd218dce871b540d83c.png

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.

...
Price
30.00 EUR

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

d63f807d4c601e98dd4298b82f8a010cec6a3887.png

06f1e121c219fc3d1598d996245a8c89c3ce7e00.png

Features

  • 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

Dependencies

  • None
  • Works on FiveM & RedM!

Configuration

All settings can be adjusted in the config.lua file:

871f774bf73eb63c45fb8fd218dce871b540d83c.png

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.

What Is Escrow?

Escrow is a licensing system that was made by the creators of the FiveM to protect the resources and license them.

How Can I Get Support?

You can always get support for our products by joining our Discord server.

How to Install Scripts?

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.

Can I Customize Scripts?

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.

Where to Buy Premium Scripts?

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.