Setup and Installation Guide
This guide explains how to correctly install and configure C7 Framework V3 on your FiveM server. Follow each step carefully to ensure the framework loads and functions as intended.
1. Requirements
Before installing the framework, ensure your server meets the following:
Latest recommended FiveM artifacts
OxMySQL installed and running (support for other database scripts is coming soon)
A MySQL database (MariaDB recommended)
C7-Notifications installed (for popup support) - you can download this for free on our tebex shop.
2. Download the Bundled Resource
Your resources folder should look like the following:
resources/
└── [c7-scripts]
└── c7-scripts-framework-v3
└── c7-scripts-chat (optional module)
└── c7-scripts-jail (optional module)
└── c7-scripts-blips (optional module)
└── c7-scripts-scoreboard (optional module)
└── c7-scripts-notifications (required/dependency)You should not change the name of the folders as this will prompt errors. Keep it as what it comes as.
3. Add to server.cfg
Add the following line to your server.cfg, preferably after your MySQL and connection resources:
4. Configuring the scripts to the framework
c7-scripts-framework-v3 (config.lua):
Open c7-scripts-framework-v3/config/config.lua and adjust the settings:
Core Settings
Max character slots
Nearest postal script
Departments
Genders
Permissions (optional Discord role enforcement)
Discord configuration
Theme colours
Spawn locations
Webhook URLs
c7-scripts-chat
Click here to view the documentation for this script.
This script is also sold separately. Click here to view listing.
c7-scripts-blips (config.lua):
Open c7-scripts-blips/config/config.lua and adjust the settings to match your framework's departments:
c7-scrips-jail (config.lua):
Open c7-scripts-jail/config/config.lua and adjust the settings to match your framework's departments:
c7-scripts-scoreboard (config.lua):
Open c7-scripts-scoreboard/config/config.lua and adjust the settings to match your framework's departments:
5. Database Setup
C7 Framework V3 handles most data automatically. However, ensure:
OxMySQL is connected
Your database is reachable
No other scripts override character data
Your server’s license and identifiers are visible in
playerConnecting
You must install c7_fw_characters.sql into your database for this to all work.
6. Starting the Framework
Restart your server or run:
7. In-Game Commands
Framework Commands:
/framework - will open the character UI manually.
/sethome - will set the player's home.
Chat Commands (if module is installed):
/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.
Jail Menu Commands (if module is installed):
/jail
Blips Script Commands (if module is installed):
/blips (toggles your blips on or off)
8. Verify the Installation
To confirm the framework is working:
Connect to the server
On first join, the cinematic character UI should appear
Create a character, update it, delete it etc.
Select a spawn location
Disconnect and reconnect to confirm data saves
Test deleting & editing characters
Check Discord for webhook logs (if configured)
Check chat commands are working (if installed)
Check the jail script is working (if installed)
Check the blips are working (if installed)
9. Common Issues
UI does not open on join
Ensure
ensure c7-framework-v3is placed after database resourcesConfirm no other resource forces NUI focus
Check server console for missing dependencies
Characters are not saving
Verify OxMySQL is connected
Check database credentials in your server’s config
Ensure no MySQL errors appear in the console
Webhooks are not sending
Check webhook URLs
Ensure they are valid Discord webhook endpoints
Confirm the server can reach external URLs
Last updated
