Skip to main content
This guide walks you through connecting to your server for the first time, verifying everything works, and creating your first character.

Pre-Start Checklist

Make sure you’ve completed:
  • MongoDB and MySQL running
  • Mythic Framework deployed via Server Setup
  • server.cfg configured with license key, database connections, admin permissions
If any of these aren’t done, go back and finish them. Starting with incomplete config will cause errors.

Starting the Server

Windows: Run FXServer.exe in your server directory. txAdmin starts automatically at http://localhost:40120. Linux:
cd ~/fivem-server
./run.sh
[Unit]
Description=Mythic Framework FiveM Server
After=network.target mongodb.service mysql.service

[Service]
Type=simple
User=your_username
WorkingDirectory=/home/your_username/fivem-server
ExecStart=/home/your_username/fivem-server/FXServer +exec server.cfg
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable mythic-fivem
sudo systemctl start mythic-fivem
sudo journalctl -u mythic-fivem -f
First start takes 2-5 minutes as databases initialize and resources compile. On first boot, Mythic automatically creates all MongoDB collections, MySQL tables, default items, jobs, locations, and indexes.

Connecting

Localhost

Press F8 in FiveM and type:
connect localhost:30120

Remote

Make sure port 30120 is open in your firewall, then:
connect YOUR_SERVER_IP:30120

First Login

When you connect for the first time:
  1. Loading screen with Mythic branding
  2. Character creation — enter name, DOB, gender, background
  3. Spawn selection — pick a spawn point on the map
  4. You’re in — spawned into Los Santos
Character data is saved to MongoDB automatically. The character system is powered by mythic-characters.

Verify Systems

Once spawned, check that everything is working:
Health, armor, and status bars (hunger, thirst) should be visible.
Press your inventory keybind — UI should open with drag and drop working.
Press your phone keybind — phone UI should open with apps visible.
Press T — chat input should open. Send a test message.
If you set yourself as admin, type /admin — admin menu should open.

Check for Errors

Watch the server console for red error messages. Common issues:
Verify MongoDB and MySQL are running and connection strings in server.cfg are correct.
Check resources.cfg load order. mythic-base must load before everything else. Verify all resource folders exist in resources/[mythic]/.
Check mythic-characters is started. Look for errors in the F8 console. Verify database connection.
Check relevant resources are started. Clear FiveM cache at %localappdata%\FiveM\FiveM.app\cache. Restart FiveM.

Useful Console Commands

status              # show connected players
restart mythic-xxx  # restart a resource
refresh             # reload server.cfg
quit                # graceful shutdown

Backups

Set up database backups before going live:
# MongoDB
mongodump --db fivem --out /backups/$(date +%Y%m%d)
mongodump --db auth --out /backups/$(date +%Y%m%d)

# MySQL
mysqldump -u root -p MythicFramework_345AE9 > /backups/mysql_$(date +%Y%m%d).sql
Set up automated backups before opening to players. Database issues can mean data loss.

Next Steps

Configure Features

Customize server settings, economy, and more

Core Concepts

Understand how Mythic Framework works