How to make a server from a pack

Making a server is easy.

Whether in Linux or Windows.

  1. Create a folder somewhere that will be the server folder.
  2. Copy the contents of the mod pack client folder to this folder.
  3. Download the installer for the version of Forge that used to make the pack from
  4. move this installer jar to the server folder
  5. open your shell
  6. enter the server folder you created
  7. use the command java -jar name_of_installer.jar --installServer
  8. a bunch of stuff will happen
  9. At this point the server is created but not debugged

Start the server

  1. in your shell get a directory listing (Linux: ls Windows: dir)
  2. 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.
  3. From your shell to start the server do java -jar forge_no_installer.jar
  4. 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 a 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 running client

Final Step

  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