FiveM10 minutes

    Install a FiveM Server on Windows

    Guide to installing FiveM Server with txAdmin

    1. 1
      Step 1

      Install XAMPP

      HeidiSQL is optional, you can install XAMPP only. Install XAMPP From https://www.apachefriends.org/download.html. After, open XAMPP and start 'Apache' and 'MySQL'.

      Install XAMPP
    2. 2
      Step 2

      Download Artifacts

      Download the 'Latest Recommended' Artifact FiveM From Here and extract them to a new folder.

      Download Artifacts
    3. 3
      Step 3

      Run FXServer

      Double click on FXServer.exe to run it. Once loaded, it should open a web browser page.

      # PowerShell (as Administrator): let players through Windows Firewall
      New-NetFirewallRule -DisplayName "FiveM TCP" -Direction Inbound -Protocol TCP -LocalPort 30120 -Action Allow
      New-NetFirewallRule -DisplayName "FiveM UDP" -Direction Inbound -Protocol UDP -LocalPort 30120 -Action Allow
      New-NetFirewallRule -DisplayName "txAdmin" -Direction Inbound -Protocol TCP -LocalPort 40120 -Action Allow
      Run FXServer
    4. 4
      Step 4

      Setup txAdmin

      After you link your FiveM account, which it should do automatically, make a password. Then you will be greeted with steps.

      Setup txAdmin
    5. 5
      Step 5

      Select Template

      When you get to step number 3, click 'Popular Template' then select a template ( I select 'QBCore Framework' ).

      Select Template
    6. 6
      Step 6

      Select Data Folder

      Select a folder you would like to store your server data in.

      Select Data Folder
    7. 7
      Step 7

      Next Step

      Scroll to the bottom and click 'Next'.

      Next Step
    8. 8
      Step 8

      Enter Key

      Paste your Keymaster key where prompted.

      Enter Key
    9. 9
      Step 9

      Run Recipe

      Then click 'Run Recipe'. Let yarn install all the way through on the initial startup.

      Run Recipe

    Frequently asked questions

    Which artifact build should I download?

    Pick the build marked recommended on the artifacts page. The latest build has new features first, but recommended has been tested more and suits a live server.

    Do I need XAMPP?

    Only for the database. XAMPP is a quick way to get MySQL or MariaDB on Windows; you can also install MariaDB on its own, which uses fewer resources.

    How do I update the server later?

    Stop the server, download the new artifact zip and replace the files in the server folder. Keep txData and resources; they hold your settings and scripts.

    Players cannot connect but the server is running. Why?

    Usually Windows Firewall blocks port 30120. Allow it for both TCP and UDP, and allow TCP 40120 if you open txAdmin from another computer.

    Run this guide on a ready server

    Need a server for this guide? FiveM server hosting from SNG comes with txAdmin, OneSync and DDoS protection, and the SNG CDN for FiveM delivers your server files to players from inside Saudi Arabia.

    Related FiveM guides

    Need help?

    Steps didn't work for you? Our support team is available around the clock.

    Contact support