server.cfg file controls all server settings. This guide covers every setting relevant to Mythic Framework.
Basic Settings
License and API Keys
1
Get FiveM License Key
Visit keymaster.fivem.net, log in, click “New Server”, and generate a key for your server IP.
2
Get Steam API Key
Visit steamcommunity.com/dev/apikey, enter your domain, and generate a key.
Network Configuration
Database Configuration
Mythic Framework uses 4 separate MongoDB convars (two databases) plus MySQL:Environment Configuration
sv_environment
sv_environment
Options:
dev— Development mode (verbose logging)prod— Production mode (optimized, minimal logging)
log_level
log_level
Numeric logging level. Higher values produce more verbose output.Recommendation: Use
0 in production, increase when debugging issues.OneSync
OneSync
Required: YES — Mythic Framework requires OneSync Infinity.Never disable OneSync — the framework depends on it.
Discord Webhooks
Learn how to create and configure webhooks in Discord Webhooks Guide.
Security Settings
Admin Permissions
For complete permission configuration, see Permissions Guide.
Resource Loading
Complete Example
View Full server.cfg Example
View Full server.cfg Example
Validation Checklist
Before starting your server, verify:1
License Keys
FiveM license key and Steam API key are set and valid.
2
Database
All 4 MongoDB convars set (
mongodb_auth_url, mongodb_auth_database, mongodb_game_url, mongodb_game_database). MySQL connection string configured.3
Network
Correct IP/port. Firewall allows traffic on port 30120.
4
OneSync
OneSync enabled with all three settings.
Next Steps
Database Connections
Configure MongoDB and MySQL connections
Discord Webhooks
Set up Discord logging webhooks
Resource Management
Understand resource load order
Permissions
Configure ACE permissions