Intermediate
FiveM Server on Pterodactyl โ Full Setup Guide (2026)
โฑ๏ธ 20 min read
๐ FiveM
๐
Updated May 2026
Running a FiveM server through Pterodactyl Panel gives you full control โ restart, monitor, manage resources, and add players without SSH. This guide covers everything from the egg install to getting txAdmin running and your server listed publicly.
Prerequisites: You already have Pterodactyl Panel installed and Wings connected. If not, start with the
install guide first.
๐ฅ FiveM + txAdmin Egg
Download the working 2026 egg file and import it directly into your Pterodactyl Panel.
โฌ Download Egg JSON
Step 1 โ Get a FiveM License Key
FiveM requires a license key tied to a Steam account. It's free.
- Go to keymaster.fivem.net
- Log in with Steam
- Click New Server โ fill in your server IP and name
- Copy the license key (looks like:
cfxk_xxxxxxxxxxxx)
Important: The license key is locked to a specific IP address. If you change your server IP later, you'll need to update it in keymaster.
Step 2 โ Import the Egg
- In your Pterodactyl admin panel, go to Admin โ Nests
- Create a new nest called "FiveM" (or use an existing one)
- Click Import Egg
- Upload the
fivem-txadmin.json file you downloaded above
- Hit Save
Step 3 โ Create the FiveM Server
- Go to Admin โ Servers โ Create New
- Name your server
- Select a node and allocation (you need port 30120 open โ this is the main FiveM port)
- Under "Container Image", select the FiveM egg you just imported
- Set resources:
- RAM: minimum 4GB (8GB recommended for scripts)
- Disk: minimum 10GB
- CPU: 200โ400%
- Under "Egg Variables", paste your license key
- Hit Create
Step 4 โ Open Required Ports
On your VPS, make sure these ports are open:
ufw allow 30120/tcp
ufw allow 30120/udp
ufw allow 40120/tcp # txAdmin web panel
Step 5 โ Start the Server & Set Up txAdmin
- In Pterodactyl, start your FiveM server
- Watch the console โ it will output a txAdmin setup URL like:
http://YOUR_IP:40120/
- Open that URL in your browser
- Follow the txAdmin first-run wizard โ choose a recipe (QBCore, ESX, or vanilla)
- txAdmin will auto-download and configure your framework
๐ Your server is live! Players can connect in FiveM by pressing F8 and typing connect YOUR_IP:30120
Step 6 โ Add to FiveM Server List (Optional)
To appear in the public FiveM server browser:
- In your
server.cfg, add: sv_master1 "https://servers-frontend.fivem.net/api/servers/join"
- Make sure
sv_projectName and sv_projectDesc are set
- Your server will appear in the browser within ~5 minutes of starting
Common Issues
Server won't start โ "License key invalid"
Double-check the IP in keymaster.fivem.net matches your VPS IP exactly. The license is IP-locked.
txAdmin panel unreachable
Make sure port 40120 is open in your firewall. Check: ufw status and also check your VPS provider's firewall/security group settings.
Players can connect but get "server shutting down"
Your server is running out of RAM. Increase the memory allocation in Pterodactyl.
Next Steps