Prison

Prison Documentation

Prison Documents - Table of Contents

Setting up a Spigot Server

The Prison documentation covers how to setup a Spigot server for use as either a test environment, a production server. These instructions covers how to use the spigotmc’s buildtools to simplify not only the initial setup, but also provides easy updates.

Buildtools also allows easy setup of many test environments since all you would need to do is to just change the version.


Setting up Java

This is intended strictly as a high-level overview on how to setup Java. If you need more assistance, please search for online documentation since there are many good resources out there.


Setting Up and Running BuildTools

  java -jar BuildTools.jar --rev 1.8.8
  java -jar BuildTools.jar --rev 1.12.2
  java -jar BuildTools.jar --rev 1.13.2
  java -jar BuildTools.jar --rev 1.14.4
  java -jar BuildTools.jar --rev 1.15.1
  mkdir spigot-1.14.4
  cd spigot-1.14.4
  java -jar ../BuildTools.jar –rev 1.14.4
  cd ..
  mkdir spigot-1.8.8
  cd spigot-1.8.8
  java -jar ../BuildTools.jar –rev 1.8.8

Creating a Runnable Spigot Server

  cd ../..
  mkdir spigot-1.14.4_server
  copy /B builds\spigot-1.14.4\spigot-1.14.4.jar spigot-1.14.4_server
  cd ../..
  mkdir spigot-1.14.4_server
  cp builds/spigot-1.14.4/spigot-1.14.4.jar spigot-1.14.4_server
    java -Xms2g -Xmx8g -jar spigot-1.14.4.jar
    pause

This should give you a functional server for which to run the Prison plugin.


Customizing your Server

You can now customize the server, such as by adding plugins, etc…


Other Server Platforms

The same general instructions apply to paper server, but the big difference is that you download the runnable paper jar file from https://papermc.io/downloads and then place them in to your server runtime directory, and then follow the steps under Creating a Runnable Spigot Server but use the resources for the other platform. Then run the same general startup scripts.