Skip to main content
Before installing Mythic Framework, ensure you have all the required software and meet the minimum system requirements. This guide covers everything you need to prepare before installation.

System Requirements

Minimum Requirements

  • OS: Windows 10/11 or Linux (Ubuntu 20.04+)
  • RAM: 4GB
  • CPU: 2 cores @ 2.5GHz
  • Storage: 10GB free space
  • Network: 100 Mbps upload (for 32 players)

Recommended Requirements

  • OS: Windows Server 2019+ or Linux
  • RAM: 8GB+ (16GB for 48+ players)
  • CPU: 4+ cores @ 3.0GHz+
  • Storage: 20GB+ SSD
  • Network: 1 Gbps upload (for 48+ players)
Server performance heavily depends on player count and resource usage. The recommended specs are for a 48-player server running all Mythic Framework resources.

Out of the Box Dependencies

Mythic Framework comes pre-configured with premium maps and resources from top creators, giving you immediate access to high-quality content to enhance your server experience.
All dependencies are pre-installed and configured with Mythic Framework. These premium resources do not require separate purchases.

Required Software

1. FiveM Server License

You need a valid FiveM server license key to run a FiveM server.
1

Create Cfx.re Account

Visit forum.cfx.re and create an account if you don’t have one
2

Generate License Key

Go to Cfx.re Portal and generate a new server license key
3

Save Your Key

Save the license key - you’ll need it during server configuration
Each license key is tied to a specific IP address. If your server IP changes, you’ll need to generate a new license key.

2. MongoDB (Required)

MongoDB is the primary database for Mythic Framework, storing authentication data and game data.
Download & Install:
  1. Visit mongodb.com/try/download/community
  2. Download MongoDB Community Server 4.4+ (6.0+ recommended)
  3. Run the installer with default settings
  4. Enable “Install MongoDB as a Service”
  5. Install MongoDB Compass (GUI tool) when prompted
Start MongoDB Service:
# MongoDB should start automatically as a service
# To manually start/stop:
net start MongoDB
net stop MongoDB
For Production Servers:
  • Enable authentication (create admin user)
  • Configure firewall to restrict MongoDB port (27017) access
  • Set up regular backups
  • Monitor memory usage
Connection String Format:
mongodb://username:password@localhost:27017/?authSource=admin

3. MySQL/MariaDB (Required)

MySQL provides compatibility with existing FiveM resources and handles relational data.
Option 1: MySQL Community Server
  1. Download from dev.mysql.com/downloads/mysql
  2. Run installer and select “Server only” or “Full” installation
  3. Configure root password during setup
  4. Leave default port (3306)
Option 2: XAMPP (Easier for Beginners)
  1. Download from apachefriends.org
  2. Install XAMPP
  3. Start MySQL from XAMPP Control Panel
  4. Access phpMyAdmin at http://localhost/phpmyadmin

4. Node.js (Required for Database Operations)

Node.js is required for the JavaScript database wrapper used by mythic-base.
  1. Download LTS version from nodejs.org
  2. Run installer with default settings
  3. Verify installation:
node --version
# Should show: v18.x.x or higher

npm --version
# Should show: 9.x.x or higher

5. Steam Web API Key (Required)

Required for Steam integration and player authentication.
1

Visit Steam API Page

2

Register API Key

  • Enter your server domain (or IP address)
  • Agree to terms of use
  • Click “Register”
3

Save Your Key

Copy the generated API key - you’ll need it in server.cfg

Optional Software

GUI tool for managing MongoDB databases - makes database management much easier.
  • Download: mongodb.com/products/compass
  • Features: Visual query builder, schema analysis, performance monitoring
  • Usage: Useful for viewing character data, items, and debugging
GUI tools for managing MySQL databases.
  • Download: heidisql.com
  • Platform: Windows only
  • Features: Lightweight, easy to use
Version control for managing your server files and custom resources.
  • Windows: Download from git-scm.com
  • Linux: sudo apt-get install git

Visual Studio Code

Recommended for most developers

Sublime Text

Lightweight alternative

Network Requirements

Ports to Open

Ensure these ports are open in your firewall:
PortProtocolPurpose
30120TCP/UDPFiveM game server (default)
40120TCPFiveM HTTP server (optional)
27017TCPMongoDB (if remote access needed)
3306TCPMySQL (if remote access needed)
Security: Only open MongoDB (27017) and MySQL (3306) ports if you need remote access. For local development, keep them closed to external access.

Firewall Configuration

# Allow FiveM through Windows Firewall
netsh advfirewall firewall add rule name="FiveM Server" dir=in action=allow protocol=TCP localport=30120
netsh advfirewall firewall add rule name="FiveM Server UDP" dir=in action=allow protocol=UDP localport=30120

Verification Checklist

Before proceeding to installation, verify you have:
  • Adequate RAM (4GB minimum, 8GB+ recommended)
  • Sufficient storage (10GB+ free space)
  • Stable internet connection
  • MongoDB installed and running
  • MySQL/MariaDB installed and running
  • Node.js installed (v16+)
  • FiveM license key generated
  • Steam Web API key generated
  • Port 30120 open in firewall
  • Static IP or DDNS configured (if hosting publicly)
  • Port forwarding configured (if behind router)
  • MongoDB Compass installed (recommended)
  • MySQL GUI tool installed (recommended)
  • Code editor installed (for customization)
  • Git installed (for version control)

Common Pre-Installation Issues

Solutions:
  • Check if port 27017 is already in use: netstat -ano | findstr :27017 (Windows) or lsof -i :27017 (Linux)
  • Check MongoDB logs for errors
  • Ensure data directory has proper permissions
  • Try reinstalling MongoDB
Solutions:
  • Verify MySQL service is running
  • Check if port 3306 is open
  • Verify MySQL root password is correct
  • Check bind-address in my.cnf (should be 127.0.0.1 for local or 0.0.0.0 for remote)
Solutions:
  • Ensure you’re logged into Cfx.re forum
  • Use your actual server IP (not 127.0.0.1)
  • If testing locally, use 127.0.0.1 specifically
  • Check you haven’t exceeded license limit per account
Solutions:
  • Restart your terminal/command prompt
  • Check PATH environment variable includes Node.js
  • Reinstall Node.js with “Add to PATH” option checked

Next Steps

Once you have all prerequisites installed and verified:
First Time Installing? Follow this guide carefully and verify each step. Having all prerequisites properly configured will prevent 90% of installation issues.