- Install Minecraft
https://www.minecraft.net/en-us/download - Install Spigot Server
https://www.spigotmc.org/wiki/spigot-installation/#linux - Install BuildTools and run to build
spigot-X.XX.X.jar
(whereX.XX.X
is the latest version, for instancespigot-1.17.1.jar
) https://www.spigotmc.org/wiki/buildtools/
- Clone this repository
- Create a new Java workspace and open the
HungerGames
root folder as an existing project. - You need to configure the build path to use
spigot-X.XX.X.jar
as an external archive.
a) The exact file name may be different depending on the latest version, but it will always be something like "spigot-X.XX.X.jar"
-
Create a new directory for your server. Inside it, you must have a COPY of the
spigot-X.XX.X.jar
JAR file -
Create a file
start.sh
to start your server with the commandjava -Xms#G -Xmx#G -XX:+UseG1GC -jar spigot-X.XX.X.jar nogui
a) Change the#
to however much memory you wish to allocate to the server
b) Change the name ofspigot-X.XX.X.jar
to the latest version of spigot -
Inside the server directory you must create another directory named
plugins
-
Export from your workspace the project's
plugin.yml
as a .JAR file into theplugins
directory -
Start your server with
./start.sh