Install a Spigot Server
Here you will find a quick guide on how to set up a Spigot server for the Challenge plugin.
Installing Java
This depends on the server version you want to run.
tip
Check out the supported versions here: Requirements
Installing the Server
- Download the server jar from here or build it with BuildTools.
- Place the downloaded jar file in a new folder.
- Windows
- Mac
- Linux
- Create a new startup script (start.bat) in the server directory to launch the JAR:
@echo off
java -Xms#G -Xmx#G -XX:+UseG1GC -jar spigot.jar nogui
pause
(where # is your allocated server memory in GB)
4. Double-click the start.bat file to start the server.
- Create a new startup script (start.command) to launch the JAR in the server directory:
#!/bin/sh
cd "$( dirname "$0" )"
java -Xms#G -Xmx#G -XX:+UseG1GC -jar spigot.jar nogui
(where # is your allocated server memory in GB)
4. Open Terminal and type into it: (Don't hit enter!)
chmod a+x
- Drag your startup script file into the Terminal window. (Be sure to put a space between chmod a+x and your startup script!)
- Double click your startup script.
- Create a new startup script (start.sh) in the server directory to launch the JAR:
#!/bin/sh
java -Xms#G -Xmx#G -XX:+UseG1GC -jar spigot.jar nogui
(where # is your allocated server memory in GB)
4. Open your terminal and execute the following in the directory:
chmod +x start.sh
- Run your start up script:
./start.sh
info
Make sure to replace spigot.jar
with the name of the server jar you downloaded, if it is different!