-
Notifications
You must be signed in to change notification settings - Fork 7
1MB BuildTools.sh
The buildtools shell script is made to help server owners get buildtools' latest jar file to make the latest spigot server jar so they can run a Minecraft server with plugins.
We use this for our own (standalone) servers daily. It checks if there's a new buildtools jar to be downloaded. It will only download a new buildtools jar if there is one made available for Minecraft 1.16.1.
And if there's a new Spigot release (--rev build for mc 1.16.1) it will build one. If you've run the script before and it has a cache.txt file with the same or older spigot build id, it will not build one.
We use this so we only have to build a new jar when there's a new spigot nightly, and only once. All the servers can then use this new jar on their next (daily) restart (just explaining, that part isn't in this public script).
So, how to use this?
This is for Minecraft 1.16.1, Spigot / Buildtools. Not for paperspigot or sponge, forge, etc. This is made for our macOS / linux distros, it works for us. Your distro might be different (or a different version). We've tested the public version of this script on macOS High Sierra, Mojave, Catalina and Ubuntu 14/16/18/20 lts.