background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Categorias

FiveM Troubleshooting


This guide covers solutions to the most common FiveM server issues — TXAdmin access problems, CFX license key errors, database connection failures, server crashes, player connection issues, and resources not loading. For initial server setup, see the FiveM Server Setup Guide.

General troubleshooting tip: Always check the GPanel console output and TXAdmin logs first. Most errors produce a clear message that points to the cause.

TXAdmin Not Loading or Inaccessible

  • Verify the server is running in GPanel — TXAdmin only starts when the FiveM server process is active.
  • Check the GPanel console for the TXAdmin URL and port. The TXAdmin port is different from the game port.
  • Make sure you are using http:// not https:// — TXAdmin does not use SSL by default.
  • If TXAdmin was working before but stops loading, try restarting the server from GPanel.
  • Clear your browser cache or try an incognito/private window.
Lost your TXAdmin password? If you cannot log in, you may need to delete the TXAdmin profile data and re-run the setup wizard. Check the GPanel Files tab for TXAdmin's data directory and remove its profile files, then restart the server.

CFX License Key Errors

Error Message Cause Solution
Invalid license key Key copied incorrectly or extra whitespace Go to Keymaster, confirm the key is active, and re-copy it carefully. Paste it into both the GPanel Startup variable and sv_licenseKey in server.cfg.
License key already in use Key is registered to a different server IP Each key can only be used on one server at a time. Revoke the old key on Keymaster and generate a new one with your current server IP.
Unable to verify license key Cfx.re authentication servers are temporarily unavailable Wait a few minutes and restart the server. Check status.cfx.re for outages.
Tip: Ensure the key is set in both the GPanel Startup variable and in server.cfg (sv_licenseKey). Depending on your configuration, the server may read from one or the other.

Database Connection Errors

Error Message Cause Solution
Connection refused or ETIMEDOUT Wrong database host or port Double-check the database host address and port from the GPanel Databases tab. Do not use localhost or 127.0.0.1.
Access denied Wrong username or password Copy credentials directly from GPanel to avoid typos. Passwords are case-sensitive.
Unknown database Database name does not match Ensure the database name in your connection string matches exactly what is shown in GPanel.

Additional database troubleshooting steps:

  • If using oxmysql, ensure you have the oxmysql resource in your resources/ folder and that ensure oxmysql appears in server.cfg before any resources that require a database.
  • If your password contains special characters such as @, #, or %, URL-encode them in the connection string (e.g. @ becomes %40).
  • Test your connection string for missing or extra characters — even one misplaced character will cause a failure.
Do not use localhost. The database server is separate from the game server. Always use the full host address shown in the GPanel Databases tab.

Server Crashes on Startup

  • Check the GPanel console for error messages. Common causes include a missing or misconfigured server.cfg, an invalid CFX license key, or a broken resource.
  • Try disabling custom resources by commenting them out in server.cfg (add # before each ensure line) and restart. Add them back one at a time to identify the problematic resource.
  • Ensure the ports in endpoint_add_tcp and endpoint_add_udp match your GPanel assigned port.
# Comment out resources to isolate the problem
#ensure suspicious-resource
#ensure another-resource

# Keep core resources enabled
ensure mapmanager
ensure spawnmanager
ensure sessionmanager
ensure hardcap
ensure chat
Binary search for bad resources: If you have many resources, comment out half at a time rather than one by one. This narrows down the problem much faster.

Players Cannot Connect

  • Confirm the server shows Running in GPanel.
  • Verify the IP and port — players should use the game port, not the TXAdmin port.
  • Check that sv_maxclients is not set to 0 or an unreasonably low number.
  • If using a server password (sv_password in server.cfg), make sure players know it.
  • Players must have the FiveM client installed — they cannot connect using the regular GTA V launcher.
  • Check the GPanel Network tab and confirm the ports in endpoint_add_tcp and endpoint_add_udp match. A mismatch will prevent connections.
Server not in the browser? New servers can take 5-15 minutes to appear in the FiveM server list. Use direct connect (IP:PORT) in the meantime. Also verify that your sv_licenseKey is valid.

Resources Not Loading

  • Check that the resource folder is inside the resources/ directory (or an appropriate subfolder).
  • Verify the folder name matches the ensure line in server.cfg exactly (case-sensitive).
  • Each resource must contain a valid fxmanifest.lua (or the older __resource.lua). If this file is missing, the resource will not load.
  • Check the TXAdmin or GPanel console for error messages related to the resource. Common errors include missing dependencies or Lua syntax errors.
  • If the resource requires a framework (ESX, QBCore), make sure the framework is loaded before the resource in server.cfg.
  • If the resource requires a database, make sure your MySQL resource (oxmysql, mysql-async) is loaded and the database connection is working.
Check the folder structure. A common mistake is uploading a resource and ending up with a double-nested folder like resources/my-resource/my-resource/fxmanifest.lua. The manifest must be directly inside the resource folder: resources/my-resource/fxmanifest.lua.

Server Performance Issues

  • Open TXAdmin and check the Dashboard for performance metrics (tick time, player count, memory usage).
  • A healthy FiveM server should maintain a server tick time (also called "hitch") below 20ms. Consistent spikes above this indicate a resource is using too much processing time.
  • Use the TXAdmin Resources page to identify which resources are consuming the most server time.
  • Remove or replace poorly optimised resources. Free resources from unknown sources are often the cause of performance problems.
  • Reduce the number of loaded resources if your server plan's memory or CPU limits are being reached.

Getting Help

If you have tried the solutions above and are still experiencing issues:

  1. Copy the full error message from the GPanel console or TXAdmin log.
  2. Note which troubleshooting steps you have already tried.
  3. Open a support ticket at https://legionhosting.net/submitticket.php with this information. Our team will assist you as quickly as possible.

Related Articles


Este artigo foi útil?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.