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
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 Installation
- Firstly, head to the FiveM builds download page, and download the latest build.
- 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 completedleft click
the server.7z thenright click
extract here. You may delete theserver.7z
after.
- Next Locate the
FXServer.exe
, once foundleft click
and thenright click
run as administrator.
Once ran, you should see a console like this.
Configuring txAdmin
- 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
.
- 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 clicksave 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
Thank you!