You can watch this YouTube video: How To Create a FiveM Server (FXServer)
(Seems people use default file name in FileManager and Windows hide those known filetypes. You can disable this on your Control Panel: uncheck “Hide known file types”.)
In my case I had just wrong folder structure.
I have advanced the case and the founding already ESX servers, so I have two different servers for them: Perus (Basic) and ESX.
Here is my folder structure about FiveM FXServer:
Here you see that my server.cfg file is located there on “server-data” folder.
And here is my ServerStart.bat file located in \FXServer folder:
cd /d C:\FXServer\server-data
c:\FXServer\run.cmd +exec server.cfg
(I just removed world “Perus” to copy and paste to your own batch file)
At last you need the server licence key from here and but it your server.cfg file (bottom of it):
And in my case, behind NAT, I have jost port forward the ports between 30110 - 30120. You just need to surf your router URL like 192.168.0.1 and do your magic.
I have one question. There on server.cfg is this values. I have the Rockstar version, not the Steam. If I use this kind of settings I cannot log in, even my my Steam client is open and I am logged in. This mean I cannot play on FXServers? Rockstar piracy protection is the Social Club -system and Steam maybe need just logged in. FiveM servers now believe I am the “bad guy/ pirate version user”?
# want to only allow players authenticated with a third-party provider like Steam?
(Uh, the font is big because of this “#” mark, eh.