FiveM lets you run a custom GTA V multiplayer server with your own rules, jobs and roleplay scripts. The modern setup uses txAdmin, a web panel that handles installation, updates and management for you. Here is the clean way to get a server running.
If you want it ready instantly, a Vastrox FiveM plan ships with txAdmin and a base framework already installed.
Requirements
- A Windows or Linux server (Windows is the most common for FiveM)
- A strong single-core CPU, since FiveM leans on one core like most game servers
- 4 GB RAM for a small server, 8 GB or more with heavy scripts
- A free license key from the FiveM keymaster (keymaster.fivem.net)
- Port 30120 open on both TCP and UDP
Step 1: Get a license key
Sign in at keymaster.fivem.net, register a new server key, and tie it to your server IP. You paste this key into the config later. It is free.
Step 2: Install the server with txAdmin
Download the latest server artifact for your OS from the official FiveM build list and run it. txAdmin opens a setup wizard in your browser on first launch:
- Open the txAdmin URL shown in the console.
- Create an admin account.
- Choose a recipe (a base framework like ESX or QBCore) or a blank server.
- Paste your license key when asked.
txAdmin downloads everything and starts the server.
Step 3: Configure server.cfg
This file controls the name, slots and which resources load:
sv_hostnamefor the name shown in the browsersv_maxclientsfor player slotsset steam_webApiKeyif you use Steam identifiersensurelines to start each resource
Set
onesync onfor servers above 32 slots and for most modern frameworks. It also improves how the server tracks entities.
Step 4: Add resources
Drop scripts and frameworks into the resources folder, then add an ensure resourcename line to server.cfg or start them from the txAdmin panel. Restart to load them.
Step 5: Connect
Open FiveM, press F8 for the console, and run:
connect your-ip:30120
Or find your server in the in-game browser by name and add it to favorites.
Keep it healthy
- Manage from txAdmin. It gives you live restarts, scheduled restarts, player management and a console without touching the files.
- Schedule restarts. Roleplay servers with many scripts benefit from a few restarts a day.
- Watch one CPU core. If it pins at 100 percent, a script is too heavy. Profile and trim. See How to fix game server lag.
FAQ
Is a FiveM license key free?
Yes. You register a free key at the FiveM keymaster and tie it to your server. There is no charge for running a server.
How many players can a FiveM server hold?
32 by default, and up to hundreds with OneSync, though heavy roleplay scripts lower the practical limit. Per-core CPU speed is usually the cap.
ESX or QBCore?
Both are popular roleplay frameworks. QBCore is newer and very active; ESX is mature and widely documented. txAdmin can install either as a recipe.
Want it online now? Deploy a FiveM server with txAdmin and a framework ready to go.