Running server - Samuel-Martineau/MC-Config-Controller GitHub Wiki
Each time you run the
config-controller
orconfig-controller.exe
file to generate/regenerate the configuration for your server, all the files/folders in<serverNetworkFolder>/servers
except the required server.jar
files will be deleted. Make sure there is nothing important in<serverNetworkFolder>/servers
. If you have already configured files, we suggest doing a backup first.
- There should be a
server.jar
file in<serverNetworkFolder>/servers/<serverID>
- Run that file with this command (Note that you need to have java installed):
java -Xmx1024M -Xms1024M -jar server.jar nogui
- This should generate a few files and you will see something like this in the console:
...
[##:##:## INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
[##:##:## INFO]: Stopping server
...
- You need to go to the
eula.txt
file and accept it:
eula=false
# to
eula=true
- Run the
server.jar
file again - Wait for it to generate its files and stop the server using
Ctrl + C
- You can now transfer the files that do not change during the game to
<serverNetworkFolder>/config/servers/<serverID>
OR use templates - You can specify the rest of the files/folders (like the
world
folder or a configuration file that can be modified in game) in thekeepFiles
option - Take this moment to change the configuration as you need
- Regenerate the server files with this command:
./config-controller -p . -v
config-controller.exe -p . -v
- To start the server run the
server.jar
file again
- Go in
<serverNetworkFolder>/servers/<serverID>
- You will see the following files:
-
forge-installer.jar
: To install the Forge configuration files -
mods/sponge-#.##.#-####-#.#.#-######.jar
: To connect the Forge server with the server network
-
- Run the
forge-installer.jar
file with this command (Note that you need to have java installed):
java -Xmx1024M -Xms1024M -jar forge-installer.jar nogui --installServer
- Wait for it to generate its files and run the
minecraft_server.jar
file with this command (Note that you need to have java installed and the file might be named differently):
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
- This should generate a few files and you will see something like this in the console:
...
[##:##:## INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
[##:##:## INFO]: Stopping server
...
- You need to go to the
eula.txt
file and accept it:
eula=false
# to
eula=true
- Run the
minecraft_server.jar
file again - Wait for it to generate its files and stop the server using
Ctrl + C
- Transfer the files that do not change during the game to
<serverNetworkFolder>/config/servers/<serverID>
OR use templates - Specify the rest of the files/folders (like the
world
folder or a configuration file that can be modified in game) in thekeepFiles
option - Take this moment to change the configuration as you need
- Regenerate the server files with this command:
./config-controller -p . -v
config-controller.exe -p . -v
- To start the server run the
minecraft_server.jar
file again