Setting up a FiveM Server
Setup FiveM Server.
If you already have a FiveM server up & running you can skip this step.
1. Download and open server artifacts
Server artifacts contain the software needed to run a FiveM server.
- Go to FiveM Server Artifacts.
- Click Latest recommended to download the latest server build. The download progresses and completes.
- Open the server.7z archive using 7-Zip or a similar tool.
2. Create folder and extract contents
- Create a new folder on your desktop. Name it FiveM Server or something recognizable.
- Extract all contents of server.7z into the new folder.
3. Run FXServer and access txAdmin
- Go to the extracted folder and run FXServer.exe. Your browser opens txAdmin automatically.
If you are not automatically redirected, go to: http://localhost:40120
- Enter the 4-digit PIN from the console.
4. Link your account and register server
- Click Link account.
- Sign in and click Continue to authorize txAdmin to access to your Cfx.re account.
- Set up a backup password.
- Review the Creator Platform License Agreement and the txAdmin License.
- If you agree, click the checkbox below the password.
- Click Register.
The initial server configuration page is displayed.
5. Initialize the server settings
- Enter a Server Name, then click Next.
- For Deployment Type, choose Popular Recipes.
- For Select Template, choose FiveM Basic Server (CFX Default).
- Leave Data Location as-is and click Save.
- Click Go to Recipe Deployer.
6. Generate and enter server registration key
- In Step 1: Review Recipe, click Next.
- In Step 2: Input Parameters, click Portal link to open a new tab.
- Sign in with Cfx.re.
- Click Create a key > enter a display name > click GENERATE.
- Go to your new key and click copy.
- Return to txAdmin, paste the key in the textbox, and click Run Recipe.
7. Finish recipe deployment
Wait for the setup process to complete. A folder containing your server resources opens. You can close it for now.
8. Configure and run the server
Your server configuration file appears. No changes are needed.
Click Save and Run Server to launch your new FiveM server. You made it! Your own local FiveM server is now up and running, waiting for you to customize it to your liking!
Connect to local server
1. Launch the FiveM client and connect to your server
- Open the FiveM client. Relaunch it if it was previously closed.
- Click Connect to [ComputerName] on LAN, where ComputerName will be your computer name.
If you don’t see the button, restart the FiveM client.
2. Verify txAdmin is working
- Once connected, press F8 to open the in-game console.
- Type tx and press Enter.
The txAdmin in-game menu is displayed.
You can close the txAdmin in-game menu with Backspace or Esc.
You are now connected to your local server! Feel free to explore txAdmin features like:
- God mode
- Spawning vehicles
- Noclip