Compiling Spigot Minecraft Server for CentOS 7
A quick cheat sheet for those who don’t want to read the entire post with all the instructions:
Make a CentOS 7 server, then execute these three commands in it:
$ sudo yum -y install git java-1.7.0-openjdk-devel # TONS of output and dependent packages install $ wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar --2015-09-05 18:42:24-- https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar Resolving hub.spigotmc.org (hub.spigotmc.org)... 220.127.116.11, 18.104.22.168, 2400:cb00:2048:1::c629:cd5e, ... Connecting to hub.spigotmc.org (hub.spigotmc.org)|22.214.171.124|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3411286 (3.3M) [application/java-archive] Saving to: ‘BuildTools.jar’ 100%[======================================>] 3,411,286 2.65MB/s in 1.2s Last-modified header invalid -- time-stamp ignored. 2015-09-05 18:42:27 (2.65 MB/s) - ‘BuildTools.jar’ saved [3411286/3411286] $ java -jar BuildTools.jar # TONS of output Success! Everything compiled successfully. Copying final .jar files now. Copying craftbukkit-1.8.8-R0.1-SNAPSHOT.jar to /root/. - Saved as craftbukkit-1.8.8.jar Copying spigot-1.8.8-R0.1-SNAPSHOT.jar to /root/. - Saved as spigot-1.8.8.jar
Now you’ve got the latest jars for spigot and craftbukkit. Enjoy!
blog comments powered by Disqus
05 September 2015