Simple Chat Configuration

This guide explains how to correctly install and configure C7 Simple Chat on your FiveM server. Follow each step carefully to ensure the framework loads and functions as intended.

01. Installing the Resource

1

Download the latest release of the C7 Simple Chat;

This folder should contain the folder: c7-scripts-chat

2

Extract the .zip file's

3

Place the folders into your server's resource directory

Your resources folder should look like the following:

resources/
└── [c7-scripts]
    └── c7-scripts-framework-v3 (if installed)
    └── c7-scripts-chat
circle-exclamation

02. Adding to 'server.cfg'

Add the following line to your server.cfg, preferably after your MySQL and connection resources:

ensure chat (the default FiveM chat script)
ensure c7-scripts-framework-v3 (if installed)
ensure c7-scripts-notifications (start first)
ensure c7-scripts-chat

03. Script Configuration

Altering the script to your preferred configuration has been made easy with our configuration file. To get started, you need to open the file: c7-scripts-chat/config/config.lua

1

Configuring the Framework Type

To change the framework type of the script, you need to change the following configuration lines:

2

Configuring the Basics

You must change the following lines:

3

Configuring Nearest Postal

You must change the following lines:

4

Configuring Emergency Sounds

You must change the following lines:

5

Configuring Message Types

C7 Simple Chat allows creative freedom when it comes to creating your own commands, you can create whatever commands you want. To do this, follow the following instructions:

chevron-rightDefault Chat Message Configurationhashtag
chevron-rightCreating Custom Commandshashtag

Creating your own custom command is very simple, here is a demonstration of a command for 'Tweeting':

Ensure that you add a comma after every command at the end (as shown in line 22).

05. Default In-Game Commands

  • /me [message] (Proximity) - sends a me message.

  • /mer [message] (Proximity + 3D) - sends a 3D /me.

  • /gme [message] (Global) - sends a global me message.

  • /do [message] (Proximity) - sends a do message.

  • /ooc [message] (Proximity) - sends an out of character message.

  • /gooc [message] (Global) - sends an out of character message.

  • /cctv [message] (Global) - sends a CCTV message.

  • /med [message] (Proximity + 3D) - sends a medical message.

  • /darkweb [message] (Global) - sends a dark web message.

  • /ad [message] (Global) - sends an advertisement message.

  • /w (or) /whisper [message] - sends a whispered 3D message, does not appear in chat.

  • /nd911 [message] (Global) - sends a 911 message for no dispatch.

  • /nda911 [message] (Global) - sends an anonymous 911 message for no dispatch.

  • /nd311 [message] (Global) - sends a 311 message for no dispatch.

  • /nda311 [message] (Global) - sends an anonymous 311 message for no dispatch.

  • /county [postal] [type] (Global) - i.e. [/county 2032 Tow] sends a dispatched message.

  • /radiochat [message] (Global) - sends a radio chat mesage (C7 Framework Only)

Last updated