I’m not sure if this has already been done but here it is anyways
Note this is not a FXServer script, this will only START your server, there are no commands within this
Hello, so with FXServer, you need to run it in cmd, so I made this little batch file which will start your server, it’s just simple batch but thought it would help people out.
How to use
The only thing you need to change with this is the directory of the file, that’s about it. Since my FXServer folder is located on my desktop, I do this:
The script will do the rest
@echo off cls TIMEOUT /T 1 cd C:/users/administrator/desktop/server TIMEOUT /T 1 run.cmd +exec server.cfg pause >nul
(Just create a text file, put this in it, and when you save, do “Save As”, and call it run.bat)
Linux Version (Thanks to @zombieguy)
#!/bin/bash echo "launching server..." cd /home/server/fx-server bash run.sh +exec server.cfg
If you have any questions, ask.