How To Install a FiveM Server on Windows

Windows

Prerequisites

  1. Visual C++ Redistributable 2019 or newer.
  2. Git to assure a correct installation.

Installation

  1. Create a new directory (for example D:\FXServer\server), this will be used for the server binaries.
  2. Download the latest master branch build for Windows from the artifacts server.
  3. Extract the build into the directory previously created.
    3b. Use any archiving tool (such as WinRAR or 7-Zip).
  4. Clone cfx-server-data in a new folder outside of your server binaries folder, for example, D:\FXServer\server-data.
    4b. git clone https://github.com/citizenfx/cfx-server-data.git server-data
  5. Make a server.cfg file in your server-data folder (copy the example server.cfg file below into that file).
  6. Generate a license key at https://keymaster.fivem.net.
  7. Set the license key in your server.cfg using sv_licenseKey "licenseKeyGoesHere".
  8. Run the server from the server-data folder. For example, in a plain Windows command prompt (cmd.exe) window:cd /d D:\FXServer\server-data D:\FXServer\server\run.cmd +exec server.cfg (the /d flag is only needed when changing directory to somewhere on a different drive)
serverhub

Share
Published by
serverhub

Recent Posts

Choosing a Linux VPS Operating System: Ubuntu vs. Debian vs. CentOS

Your VPS operating system decides how often you patch, how long you get security fixes,…

3 days ago

WordPress Cloud Hosting Setup: A Beginner’s Guide for WordPress Sites

WordPress cloud hosting setup is the process that involves hosting a WordPress (WP) site in…

1 month ago

A Beginner’s Guide on How to Migrate From Cloud to Dedicated Server Without Downtime

Amazon Web Services (AWS) is a cloud platform widely used by businesses to host websites,…

2 months ago

A Comprehensive Migrate WordPress to VPS Guide for Beginners

A live WordPress (WP) website is an active website that is already accessible to visitors,…

3 months ago

Puppet Software: Explained: A Beginner’s Guide to Configuration Management and Setup

As IT environments grow, managing hundreds or even thousands of systems manually become difficult and…

4 months ago

A Beginner’s Guide to Building a Network Monitoring System for Windows and Linux Systems

In this article, we'll discuss the purpose of a network monitoring system, its relationship with…

5 months ago

This website uses cookies.