Articles on: Virtual Private Servers & Dedicated Servers

How to install and configure a default FiveM server on your Windows VPS

How to install and configure a default FiveM server on your Windows server



This guide covers how to install and setup a Default FiveM server on your Windows server. There are two parts to this guide:
Installing the FiveM server
Configuring txAdmin

Installing the FiveM server



Prerequisites


Before installing the Fivem Windows artifacts, you'll need the below:
At least 20GB of free disk space
Port 30120 opened on inbound and outbound connections using both UDP and TCP protocols, and port 40120 opened on inbound and outbound connections using the TCP protocol (if you want txAdmin open externally). See our How to allow ports through your Windows firewall guide for help.

The size of your server is doubled to due cache, please ensure you have enough storage available for your server. Example: 12GB of server files = 24GB total server size.

The Installation



Please connect to your Windows server BEFORE attempting to setup your server. All actions should be completed on the server. See our Logging Into Your Windows VPS guide for help.

Firstly, head to the FiveM builds download page, and download the latest build.

This is the latest build available at the time the documentation was made and can be subject to change.



Once downloaded, create a folder on your desktop and set the name to your servers name. Then create a folder called Citizen inside of it.


Next move the server.7z from your downloads and into your Citizen folder, once completed left click the server.7z then `right click`extract here. You may delete the server.7z after.



Next Locate the FXServer.exe, once found left click and then right click run as administrator.


Once ran, you should see a console like this.



Configuring txAdmin



Before you can continue configuration you require a cfx account, if you do hold an account head over to https://forum.cfx.re/latest and create one, ensuring you use a secure password containing symbols, numbers and upper case letters and additionally enabling 2fa for your account.

txAdmin should have opened automatically in your default browser with the registration pin inputted after starting the server, if not you can access it manually via http://localhost:40120/ and enter the registration pin from the console.



Firstly confirm using the Link Account button.


Then you you be prompted to login to your cfx account, once you have logged in grant txAdmin access to your cfx account by clicking continue.



If you have signed into anything cfx related before this installation you may not be required to sign in,


Next you will need to configure the additional options for your txAdmin account. (Optionally) you may enter your discord id if you wish to use the features of the in game txAdmin panel, creating a backup password and confirming it and lastly reading and accepting the Creator PLA and txAdmin License. Once complete you may click the register button.

Ensure you use a secure password containing symbols, numbers and upper case letters.


Once registering you will be welcomed by the txAdmin panel, click next.


Input your servers name into the server name field. Note that this will be used for txAdmin not your FiveM server, once done click next.


Now you will be asked for the deployment type, choose Popular Recipes.


Then choose CFX Default Fivem.


Now you will be asked for your server data path, you may skip this as it is auto filled. To continue press save followed by go to recipe deployer.



You will now be brought to a page to review your recipe, do not edit the recipe and click next.


You will now be asked for your license key, you create one at https://portal.cfx.re once you have got your key input in into the license key field and press run recipe.


Once it has successfully executed the recipe you may click next.


Now you will be asked to configure your server configuration file, you do not have to make a change but if you are ensure you know what the parameters are before you change them. Don't worry you can edit these parameters at any time later on by accessing your server.cfg file. Once your happy with your changes or if you did not make any you may click save and run server.



Done! Your server is now installed and will be starting up, you will be brought to the console where you can manage players and your server.

Updated on: 21/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!