Kreezcraft

Making a server is easy. Whether in Linux or Windows.

  1. Create a folder somewhere that will be the server folder.
  2. Open the pack folder.
  3. Select everything in pack folder.
  4. Now copy that selection. For example right click the selection and choose copy.
  5. Open the server folder you made in step #1.
  6. Paste. for example right click and choose paste.
  7. Download the installer for Forge. Make sure to get the right version from files.minecraftforge.net.
  8. Move this installer jar to the server folder
  9. Open your shell/terminal/cmd/powershell
  10. Enter the server folder you created, you might have to navigate to it in your file manager.
  11. Enter the command java -jar name_of_installer.jar --installServer
  12. A bunch of stuff will happen
  13. At this point the server is created but not debugged
  14. I recommend deleting installer jar as you don’t need it anymore.

Start the server

  1. In your shell get a directory listing of the jars (Linux: ls *.jar Windows: dir *.jar)
  2. If you haven’t done so already, delete the installer jar.
  3. There will be a new jar file that doesn’t say installer and starts with “forge”, this is the file you will be executing, note it down.
  4. From your shell to start the server do java -jar forge_no_installer.jar
    • you can add nogui to the end to stop the gui from popping up. Do not put — in front of nogui.
  5. The server will start then stop, telling you edit the eula.txt. so that and set the one value there to true.
  6. Start the server again.
  7. The server has started.

Debug the server (do not run the client here)

  1. The server you created will likely crash because quite a few mods are not server friendly or coded in such a way that they will try to load client side classes on a server. When it happens there will be a crash report. Open the file and look at the top trace block to see what crashed.
  2. Check to see if there is an update for the mod, if yes, update it on both the server and the client, rerun the server
  3. If the server crashes again on the same mod, try a lower version, make sure the client matches
  4. If it crashes again, remove the mod from both the server and the client
  5. Eventually you’ll have a running server and client that should connect to it

Debug the client

  1. Great job on creating a functioning server
  2. now run the client that was adjusted alongside the server
  3. if it crashes look at the crash report and either update, rollback or remove the mod from the client and on the server if it exists
  4. eventually you’ll have a running client

Final Steps

  1. start the server
  2. start the client
  3. enter multiplayer button on client
  4. click on direct connect
  5. enter the ip address of the server and hit connect
  6. in a short few moments you should now be connected to your server

Where to go from here

You can export the pack using one of the launcher talked about on my kreezcraft.com/info/modded-minecraft-pack-launchers/ page, or you could use the export to publish the pack at www.curseforge.com/minecraft/modpacks/ and if it is the latter I recommend you follow this article kreezcraft.com/packs-dev/how-to-make-a-forge-server-from-a-forge-pack/publish-a-server-pack/ too.