Running server - Samuel-Martineau/MC-Config-Controller GitHub Wiki

Each time you run the config-controller or config-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.

Paper & Waterfall

  1. There should be a server.jar file in <serverNetworkFolder>/servers/<serverID>
  2. Run that file with this command (Note that you need to have java installed):
java -Xmx1024M -Xms1024M -jar server.jar nogui
  1. 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
...
  1. You need to go to the eula.txt file and accept it:
eula=false

# to

eula=true
  1. Run the server.jar file again
  2. Wait for it to generate its files and stop the server using Ctrl + C
  3. You can now transfer the files that do not change during the game to <serverNetworkFolder>/config/servers/<serverID> OR use templates
  4. You can specify the rest of the files/folders (like the world folder or a configuration file that can be modified in game) in the keepFiles option
  5. Take this moment to change the configuration as you need
  6. Regenerate the server files with this command:
Linux & MacOS
./config-controller -p . -v
Windows
config-controller.exe -p . -v
  1. To start the server run the server.jar file again

Forge

  1. Go in <serverNetworkFolder>/servers/<serverID>
  2. 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
  3. 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
  1. 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
  1. 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
...
  1. You need to go to the eula.txt file and accept it:
eula=false

# to

eula=true
  1. Run the minecraft_server.jar file again
  2. Wait for it to generate its files and stop the server using Ctrl + C
  3. Transfer the files that do not change during the game to <serverNetworkFolder>/config/servers/<serverID> OR use templates
  4. Specify the rest of the files/folders (like the world folder or a configuration file that can be modified in game) in the keepFiles option
  5. Take this moment to change the configuration as you need
  6. Regenerate the server files with this command:
Linux & MacOS
./config-controller -p . -v
Windows
config-controller.exe -p . -v
  1. To start the server run the minecraft_server.jar file again

🎉🥳🎉 You're now done! 🎉🥳🎉


< Previous Step

⚠️ **GitHub.com Fallback** ⚠️