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.

Documented updated: 2023-07-24


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.9.4
  java -jar BuildTools.jar --rev 1.10.2
  java -jar BuildTools.jar --rev 1.11
  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.2
  java -jar BuildTools.jar --rev 1.16.5
  java -jar BuildTools.jar --rev 1.17.1
  java -jar BuildTools.jar --rev 1.18.2
  java -jar BuildTools.jar --rev 1.19.3
  java -jar BuildTools.jar --rev 1.20.1
  mkdir spigot-1.17.1
  cd spigot-1.17.1
  java -jar ../BuildTools.jar --rev 1.17.1
  
  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.17.1_server
  copy /B builds\spigot-1.17.1\spigot-1.17.1.jar spigot-1.17.1_server
  cd ../..
  mkdir spigot-1.17.1_server
  cp builds/spigot-1.17.1/spigot-1.17.1.jar spigot-1.17.1_server
    java -Xms2g -Xmx8g -jar spigot-1.17.1.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.