-
Notifications
You must be signed in to change notification settings - Fork 46
Developer Setup and Installation
Nick Porillo edited this page Oct 2, 2019
·
3 revisions
Requirements:
- Java 1.8+
- Project Lombok
- Maven
- Git
Development setup:
- Clone repository using Git
- Import Maven Project
- In your IDE or by command line if you have Maven setup in your environment variables
- mvn clean compile install
This will compile the Java code, install the jar artifact into your local maven repository, and copy the desired jar file to the target directory.
You can now move this jar file to the plugins directory in the spigot folder to test changes.
Requirements
- Java 1.8+
- Git
- BuildTools - Direct Download
GlobalWarming is designed for 1.13+, so execute BuildTools.jar on the command line. Windows:
java -jar BuildTools.jar --rev 1.13
Mac:
export MAVEN_OPTS="-Xmx2G"
java -Xmx2G -jar BuildTools.jar --rev 1.13
This will take a few minutes as it has to pull Bukkit, CraftBukkit and then apply the Spigot patches to produce the desired jar file. Once that is done, you should now be able to start Spigot. Copy the GlobalWarming.jar file to the plugins directory inside the spigot folder. Once again, execute the spigot.jar file from the command line like we did above.