Do you own a Dedicated Server and want to install and run your own FiveM Dedicated Server with txAdmin? You’re in the right place! Below, we’ll explain all the necessary steps to install and configure it, and what you need to keep in mind.
Operating system selected and installed This guide assumes that you have already selected and installed an operating system for your Dedicated Server. If you haven’t completed this step yet, first follow the steps in the Initial Setup guide for Dedicated Servers.
Setting up a FiveM Server requires a few preparation steps, which you’ll need to complete before configuring the FiveM Dedicated Server.
If you want to use and install resources that require a database, you’ll need an additional database server. There are several ways to set one up. Our MySQL Installation guide shows you how to install your own database server on your Dedicated Server.
The next step is to download the FiveM Server software. Using one of your installed web browsers, visit FiveM’s Server Build List and download the latest FiveM Server build.
Extract the downloaded file in your Downloads folder, then move the FiveM Server files to a separate directory. In this example, the Server software is in a folder called FiveM on the desktop.
Extraction software required You’ll need an archive extraction program to extract the downloaded FiveM Server software. This example uses 7Zip software.
Every FiveM Server needs its own license key, which is managed through the new Cfx.re Portal. The license key is linked to your Cfx.re account. Sign in to the website, go to the Server category, and click the Generate Key button.
You can now start installing the FiveM Server and txAdmin. Open your FiveM Server directory again and run the FXServer.exe application.
Once the Server application starts, the Server console and txAdmin will open. In the txAdmin interface, link your Cfx.re account to txAdmin.
During the txAdmin setup, your FiveM Server will be installed and configured in five steps. Follow the instructions in the txAdmin interface. First, choose a Server name, then select the Server type you want. This example shows how to install a FiveM Server with the Qbox Framework preinstalled.
In the Deployment Type step, select Popular Recipes, then choose the Qbox recipe. QBCore has no longer been available there since the end of October 2026. To use QBCore, select Remote URL Template instead and enter the official recipe URL https://raw.githubusercontent.com/qbcore-framework/txAdminRecipe/main/qbcore.yaml. Confirm the desired Data Directory, then start the Recipe Deployer to complete the installation.
During the Recipe Deployer step, you’ll need to provide a few final details before the Server can be started. Enter the FiveM license key you created earlier in the License Key field. Then click Show/Hide Database Options (Advanced) and enter your database server credentials. In this case, you only need the password you set earlier for the root user. Leave all other settings unchanged. Check your entries, then click Run Recipe to start the process.
To make your Server publicly accessible, you need to adjust the port forwarding rules for the ports used by the Dedicated Server process. You can do this directly with PowerShell commands, which is easier, or through the Windows Defender Firewall.
Open Windows Search and search for PowerShell. Right-click it and select Run as administrator to ensure you have the necessary permissions and everything works correctly.
Make sure you run PowerShell as an administrator. Otherwise, the settings may not be applied correctly.
Then copy and paste the following commands into your PowerShell console:
New-NetFirewallRule -DisplayName "FiveM Server" -Direction Inbound -LocalPort 30120 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "FiveM Server" -Direction Inbound -LocalPort 30120 -Protocol UDP -Action Allow
New-NetFirewallRule -DisplayName "FiveM Server" -Direction Outbound -LocalPort 30120 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "FiveM Server" -Direction Outbound -LocalPort 30120 -Protocol UDP -Action Allow
These commands automatically create the firewall rules required to make your FiveM Server publicly accessible.
Use Windows Search to open Windows Defender Firewall with Advanced Security. If you open only the basic firewall page, you may need to click Advanced settings to open the required window.
You’ll need to create new rules for your FiveM Server. To do this, select the inbound and outbound rules as described below, and add rules for these protocols and ports:
- TCP inbound and outbound: 30120
- UDP inbound and outbound: 30120
If you need more help, see our Port Forwarding (Firewall) guide.