Skip to main content
The server.cfg file controls all server settings. This guide covers every setting relevant to Mythic Framework.

Basic Settings

License and API Keys

Never share your license or API keys publicly! Never commit them to public repositories.
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:
Two separate MongoDB databases are required. The auth database stores account/ban data while the fivem database stores all game data (characters, vehicles, inventory, properties, etc.).
For detailed database setup, see Database Connections.

Environment Configuration

Options:
  • dev — Development mode (verbose logging)
  • prod — Production mode (optimized, minimal logging)
Effect: Controls logging verbosity and feature behavior throughout the framework.
Numeric logging level. Higher values produce more verbose output.Recommendation: Use 0 in production, increase when debugging issues.
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

Resource load order is critical. See Resource Management for proper ordering.

Complete 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
After making changes to server.cfg, restart the server for them to take effect.