5M-CodeX Chat Resource
Thank you for choosing 5M-CodeX Chat Resource! This README.md document provides detailed instructions on how to edit the configuration file to tailor the chat experience to your preferences and requirements.
Table of Contents
- Introduction
- Configuration Overview
- Editing Configuration
- Languages
- Settings
- Installation
- Additional Information
Introduction
The 5M-CodeX Chat Resource stands as a testament to excellence in FiveM server communication. Crafted by TheStoicBear, this award-winning creation is a pinnacle of innovation, meticulously designed to enhance and elevate the communication experience within your FiveM server. Boasting a comprehensive set of features, it provides administrators with unparalleled customization options, allowing them to tailor the chat system precisely to their server’s unique needs. With 5M-CodeX Codex-Chat, you’re not just getting a chat resource; you’re investing in a seamless, immersive, and award-winning communication solution that sets new standards for FiveM servers.
If you ever need assistance or have questions during the configuration process feel free to reach out with any questions, concerns, commennts, recommendations
- Note this is a Project.
This is still being developed, fixed, and optimized, yet I do need some input from the community / people to test, therefore I would greatly appreciate any feedback
Configuration Overview
The configuration file, named config.lua
, includes various customizable sections:
- General settings such as language, text color, font, and display duration.
- Customization for specific chat commands like
/darkweb
,/rto
,/911
, and/panic
. - Configuration for chat tags, staff chat, and toggling specific commands.
- Custom URLs for commands and default tags for players without permissions.
- In-game chat settings and Discord webhook settings.
Editing Configuration
Section | Description and Instructions |
---|---|
General Settings | - language : Choose the language for chat messages. |
- color : Set the text color using RGBA values. |
|
- font : Choose the text font. |
|
- time : Duration to display the text (in ms). |
|
- scale : Set the text scale. |
|
- dist : Minimum distance to draw text. |
|
/darkweb Command | - canNotSee : Specify departments that can’t see the /darkweb command. |
/rto Command | - canNotSee : Specify departments that can’t see the /rto command. |
/911 Command | - callTo : Specify departments that can see the /911 command. |
/panic Command | - ignoreDepartments : Ignore departments for the /panic command. Set to true or false . |
- callTo : Specify departments that can see the /panic command. |
|
Chat Tags | - Configure different tags with permissions and image URLs. |
Staff Chat | - StaffChat : Set the permission required for staff chat. |
- ProxDist : Set the proximity distance for staff chat. |
|
Custom URLs for Commands | - Add URLs for different commands (e.g., Dispatch, Me, Do). |
Default Tag | - Set a default tag for players without permissions. |
Enable/Disable Commands | - Toggle commands on/off by setting true or false . |
Ingame Chat Settings | - Customize chat formats for different commands. |
Discord Webhook Settings | - Set the Discord webhook link and server name. |
Chat Commands
/fine <id> <amount> <reason>
: Deducts money from the targeted player for the specified fine amount./ticket <id> <amount> <reason>
: Deducts money from the targeted player for the specified ticket amount./parking <id> <amount> <reason>
: Deducts money from the targeted player for the specified parking ticket amount./impound
: Impounds the closest vehicle in front of you. Requires appropriate permission./911
: Only LEO & SAFR/LSFD departments can see this command after being inputted./me
: It says your character name and job in the chat./do
: It says your character name and job in the chat./gme
: It says your character name and job in the chat./twt
: It says your chosen twitter name in the chat./darkweb
: No Departments (LEO & LSFD can see this nor do the command./rto
: Only LEO & SAFR/LSFD departments can see this command. It is used for less important transmissions./panic
: This will broadcast a Blip on every Department you set, flash for 60 seconds, and play a sound for 10 seconds, and you can press [Y] to add a waypoint to them./x
: Tweet in-Game and on Discord./dispatch [message]
: Send a message to the dispatch channel./settag [Tag Name]
: Changes the Icon/Tag Name for when you talk in-game./staffchat
: Use to toggle staff chat mode.
Social Media Commands
These commands send messages with specific styles:
/x Post Details
: Send a tweet-like message./fbmarket [message]
: Send a message to the FB Market./news [message]
: Send a news headline./insta [message]
: Post an Instagram-style message./dot [message]
: Post a dot message.
Installation
-
Download the Resource:
- Download the 5M-CodeX Chat Resource from the provided source.
-
Rename the Resource:
- Rename the downloaded folder to
chat
.
- Rename the downloaded folder to
-
Navigate to Resources/Gameplay:
- Go to your server’s resources directory and find the
\Resources\
folder.
- Go to your server’s resources directory and find the
-
Replacing some Chat Files:
- Inside the
resources\[gameplay]
folder, drag and drop the contents of CodeX Chat intochat
folder.
- Inside the
-
Configure to your hearts desire:
-
Optional: Sounds Integration: – Coming soon
- If using sounds, make sure the
NDFramework/codex-sounds
resource is started beforechat
for proper integration.
- If using sounds, make sure the
Installation is complete! Restart or refresh your FiveM server to apply changes and enjoy the enhanced communication experience with the 5M-CodeX Chat Resource.
Notes
If you wish to have Department checks work, and money deduction work please use the following below.
All chat Bubbles are HTML templates therefore are extremely customizable.
All tags are capable of supporting GIF, PNGs, JPG.
If you want to block Chat Images, add <img
to profanity filter.
If you wish to have panic and soon other sounds to work please use the following below.
Which also has everything from
- CodeX Feed
- https://forum.cfx.re/t/free-5m-codex-feed
- Copy YouTube Link If link above doesn’t work.
https://www.youtube.com/watch?v=yS4r13MCwYg