Hello, I’m trying to setup a FX Server but I’m having some troubles.
Can anybody make any guide how to setup it?
I followed the wiki page and it doesn’t work.
Thanks for the help
What isn’t working ?
The wiki explains it fine, what issue are you getting exactly?
You need to modify the path variable environment to run the command “run.cmd +exec server.cfg” in your server-data folder
https://wiki.fivem.net/wiki/Running_FXServer
When I clone “server-data” folder, theres no run.cmd inside, so how can I run “run.cmd” from the “server-data”?
When “run.cmd +exec server.cfg” I get an error saying “run.cmd not recognized as internal or external command”.
The only thing I can run is the “FXServer.exe”.
Surely I did something wrong, I leave some screenshots:
You can run run.cmd
from server-data folder:
- Open windows console:
cmd.exe
- Point to your server-data directory:
cd path\to\server-data
- Once you’re in there, start
run.cmd
using its full path:
path\to\fxserver\run.cmd +exec server.cfg
Lel! Found the error
My problem was that I had a space in the folder name.
I changed “FX Server” to “FXServer” and it worked.
Thanks!
Path? i don’t get that, ? i placed my on the dekstop
Yeah path, like C:\Users\You\Desktop\FXServer
Sry, man i don’t get it.
Yes, but its on my desk, in my administrator user, so?
Your desktop is a folder like any other…
It is located here C:\Users\You\Desktop
(change You with your account name)
No discord.
I told you the commands to type, you’re only typing the path alone…
Using cmd.exe:
- Point to your server-data directory:
cd C:\Users\Administrator\Desktop\server-data
- Once you’re in there, start run.cmd using its full path:
C:\Users\Administrator\Desktop\fxserver\run.cmd +exec server.cfg
But unfortunately without having basic Windows knowledges, I don’t think you will get somewhere…
C:\Users\Administrator\Desktop\server-data>C:\Users\Administrator\Desktop\fxserver\run.cmd +exec server.cfg
The system cannot find the path specified.
C:\Users\Administrator\Desktop\server-data>
Hmm.
is your server folder in C:\Users\Administrator\Desktop\fxserver
?
You’re the only one knowing where you put your stuff.
Okay, 2 sec im gonnna try something