Prerequisites
- Windows 11 (the guide was tested on Windows 11 Home)
- GTA V with FiveM installed and working (standard edition of GTA V; the Enhanced edition was not tested)
- A Cfx.re account
- Free disk space: in the test, the extracted server took up about 191 MB and FiveM asked to download 1.6 GB of game data
Tested on
Tested on: FiveM server for Windows build 38435, the recommended one on 2026-11-20, with txAdmin 8.1.2, the FiveM Basic Server (CFX Default) template and game build 3751, on Windows 11 Home. Date: 2026-11-20, on kraslich's computer and with their Cfx.re account.
Download the recommended server
Go to the FiveM server download page at docs.fivem.net/docs/server-download/. Leave FiveM / RedM, Windows and Recommended selected, and press Download (server.7z is downloaded; in the test, build 38435). Create a folder on your computer where the server will live (for example C:\FXServer\server) and extract the .7z into it with 7-Zip or WinRAR, as the official guide says. FXServer.exe has to be in there. In the test, the .7z was extracted with the tar tool that comes with Windows 11, and the server that started came from the .zip of the "Recommended" link in the versions API.
- Official FiveM server download (opens in a new tab)
- Official guide: setting up a server with txAdmin (opens in a new tab)
According to the documentation of docs.fivem.net (opens in a new tab) · checked on 20 Nov 2026 · (; observed in the lab).
Start the server and open txAdmin
Go to the server folder and double-click FXServer.exe. A console opens that shows "Starting txAdmin v8.1.2/b38435/Win..." and, when it finishes, a box with "All ready! Please access:", an address on localhost and a four-digit PIN. Open that address in your browser. The console also shows a public IP.
According to the documentation of docs.fivem.net (opens in a new tab) · checked on 20 Nov 2026 · (; observed in the lab).
Link your Cfx.re account and create the admin
Type the four-digit PIN into the page in your browser. The page moves on by itself and asks you to log in to Cfx.re if you have not already. Then it shows some text saying what information txAdmin will be able to see, and a button to continue. txAdmin shows the linked account on a card; you do not need to type the name. Fill in "Backup Password" (the screen says "6~128 digits") and "Confirm Password", tick "I have read and agree to the Creator PLA." and press "Register". The "Discord ID" field is optional. The backup password lets you log in to the panel with a username and password if you cannot use Cfx.re.
According to the documentation of docs.fivem.net (opens in a new tab) · checked on 20 Nov 2026 · (; observed in the lab).
Get the server key from the portal
At portal.cfx.re go to "Servers" and then to "Server Registration Keys". Press the button with the plus sign to generate a new key. Fill in the required fields, in this order: "NAME" (sv_hostname, up to 40 characters), "TAGLINE" (sv_projectName, up to 120 characters), "DESCRIPTION" (sv_projectDesc, up to 250 characters) and "LANGUAGE". You can only have three active Server Registration Keys at a time. Press "GENERATE KEY" and copy the key with the "Copy Key" button. The key is free.
According to the documentation of docs.fivem.net (opens in a new tab) · checked on 20 Nov 2026 · (; observed in the lab).
Set up the server with the wizard
Type a short name for the server in "Server Name". In "Deployment Type" choose "Popular Recipes". For the template, choose "FiveM Basic Server (CFX Default)", which is a minimal base with no framework and only the configuration needed to run a FiveM server. On each screen press "Next" to move on to the next one. Accept the suggested path in "Data Location" and press "Save". On the last screen press "Go to Recipe Deployer".
According to the documentation of docs.fivem.net (opens in a new tab) · checked on 20 Nov 2026 · (; observed in the lab).
Run the recipe with your key
In "Review Recipe" press "Next" to go to the "Server Registration Key" field. Paste the key you copied and press "Run Recipe". When the deployment finishes and the folder is validated, you will see "Deploy finished and folder validated. All done!" with a "DONE" bar; press "Next" to reach "Configure server.cfg". There, review the file that txAdmin has already generated with the key substituted in; you do not have to paste anything. The code block shows an excerpt with the main lines of the file. The game build number is the one txAdmin 8.1.2 wrote on 2026-11-20 and it may be different later on. Here is what each line does: sv_enforceGameBuild pins the build, sv_licenseKey sets the licence key, sv_maxclients limits the clients, endpoint_add_tcp and endpoint_add_udp configure port 30120, and ensure starts or restarts the resources.
sv_enforceGameBuild 3751
sv_licenseKey "cfxk_TU_CLAVE"
sv_maxclients 48
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
ensure mapmanager
ensure chat
ensure spawnmanager
ensure basic-gamemode
ensure hardcap- Official reference for server commands and variables (opens in a new tab)
- Base server resources (opens in a new tab)
According to the documentation of docs.fivem.net (opens in a new tab) · checked on 20 Nov 2026 · (; observed in the lab).
Start the server and join from FiveM
Press "Save & Run Server" in the panel. The panel shows "Server: ONLINE". Open the FiveM console with F8 and type the following command:
connect 127.0.0.1:30120According to the documentation of docs.fivem.net (opens in a new tab) · checked on 20 Nov 2026 · (; observed in the lab).
Troubleshooting common errors
"Couldn't find resource hardcap."
The wizard's template includes an "ensure hardcap" line but the resource is not included. Open the CFG Editor in txAdmin, change the line to "# ensure hardcap", press "Save File" and restart the server with the panel's restart button ("Restarting server", "Continue"). The warning goes away. If you were in the game, the restart disconnects you from the server and you have to join again.
"Server list query returned an error: Cfx failed to reach the server at…"
The warning says that Cfx could not reach the server from outside through port 30120. In the test, joining from the computer itself worked all the same. To let players from another network join, that port has to be opened on the router, which is outside the scope of this guide.
"FiveM needs to update the local game data"
When connecting, FiveM warns that the local game data is out of date because the server pins build 3751 and the client was running a different one; press "Continue" and FiveM downloads the data and joins.
The "+" card does not appear in the portal
If you already have three active server keys, the portal does not show the card for generating a new one. Deactivate one you do not use with "DEACTIVATE" and accept the warning "This will also deactivate any server connected to it." The "+" card will appear.
"Timed out" when connecting
It happened in the test after closing the FXServer window. Reopen FXServer.exe, go into txAdmin and repeat the connection command "connect 127.0.0.1:30120" in the game console.
What has not been checked
What has not been verified: players joining from another network, which requires opening ports on the router, and the templates that need a database. The Enhanced edition of GTA V was not verified either, nor was the first start on a clean Windows install. The 45-minute duration is an estimate.
Transparency
Use of AI: the AI ran the lab tests and wrote the guide from the FiveM and txAdmin documentation. No affiliate links.
Last reviewed: 20 Nov 2026 · If something changed, let us know.