I am stuck at the server.cfg step when trying to make a FiveM server



GTA V version? Up to date
Up to date? Yes
Legit or Pirate copy? Legut
Steam/CD/Social Club? STEAM_0:1:192970071
Windows version? 10
Did you try to delete caches.xml and try again? no
Error screenshot (if any) none
System specifications
What did you do to get this issue? follow the steps
What server did you get this issue on? none
CitizenFX.log file none
.dmp files/report IDs

If an issue with starting:
GTA V folder screenshot
GTA V/update/x64/dlcpacks screenshot
Filepath to FiveM folder
FiveM client folder screenshot
Did you try to disable/uninstall your Anti-virus?

Also add what you already tried so far.


I dont know what a cfg file is neither how to make that kind of file


Just make a text file and rename it from whatever.txt to server.cfg


Idk how to set it up


An example server.cfg follows.

you probably don’t want to change these!

only change them if you’re using a server with multiple network interfaces

endpoint_add_tcp ""
endpoint_add_udp “”

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start rconlog
start scoreboard
start playernames

sv_scriptHookAllowed 1

change this

#rcon_password yay

sv_hostname “My new FXServer!”

nested configs!

#exec server_internal.cfg

loading a server icon (96x96 PNG file)

#load_server_icon myLogo.png

convars for use from script

set temp_convar “hey world!”

disable announcing? clear out the master by uncommenting this

#sv_master1 “”

want to only allow players authenticated with a third-party provider like Steam?

#sv_authMaxVariance 1
#sv_authMinTrust 5

add system admins

add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don’t allow quit
add_principal identifier.steam:110000112345678 group.admin # add the admin to the group

remove the # to hide player endpoints in external log output

#sv_endpointprivacy true

server slots limit (must be between 1 and 31)

sv_maxclients 30

license key for server (https://keymaster.fivem.net)

sv_licenseKey changeme


Edit the file with a text editor, like notepad.


How do I get a key… It says I need one and also Ok i did and now I am stuck at these steps:

You need to copy the example cfg below into the file.
Run the server from the server-data folder. (cd /d D:\FXServer\server-data)
D:\FXServer\run.cmd +exec server.cfg (from a new cmd window)


And I also don’t know my server IP


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.