FiveM - Server Creation
Creating a server in FiveM
Windows
Requirements
Installation
Create a new folder (example
D:\FXServer\server), this will be used for the server binaries.Download the latest recommended build for windows from the
masterbranch from the artifacts server.Extract the build into the directory you created in step 1. Using an archive tool such as WinRar
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-dataDownload the server.cfg file and place it in your
server-datafolderGenerate a license key at https://keymaster.fivem.net.
Set the license key in your server.cfg using
sv_licenseKey REPLACEMEWITHYOURLICENSE.Copy the contents of the
server-datafolder and paste them inside theserverfolder (You might be asked to replace files within this folder. Replace the files in question)Start the FiveM server from the
serverfolder using the windows command prompt. (To open Command Prompt, type cmd in the windows search bar)cd D:\FXServer\server\FXServer.exe +exec server.cfg
From there the server will boot.
Last updated
Was this helpful?