mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-03-04 15:17:17 +00:00
Add bukkit/spigot type download
This commit is contained in:
parent
4ab31a049b
commit
d0263f31d6
1 changed files with 20 additions and 0 deletions
|
@ -37,6 +37,26 @@ echo "Checking type information."
|
|||
case "$TYPE" in
|
||||
*BUKKIT|*bukkit|SPIGOT|spigot)
|
||||
TYPE=SPIGOT
|
||||
case "$TYPE" in
|
||||
*BUKKIT|*bukkit)
|
||||
echo "Downloading latest CraftBukkit 1.8 server ..."
|
||||
SERVER=craftbukkit_server.jar
|
||||
;;
|
||||
*)
|
||||
echo "Downloading latest Spigot 1.8 server ..."
|
||||
SERVER=spigot_server.jar
|
||||
;;
|
||||
esac
|
||||
case $VANILLA_VERSION in
|
||||
1.8*)
|
||||
URL=/spigot18/$SERVER
|
||||
;;
|
||||
*)
|
||||
echo "That version of $SERVER is not available."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
wget -q https://getspigot.org$URL
|
||||
;;
|
||||
|
||||
FORGE|forge)
|
||||
|
|
Loading…
Add table
Reference in a new issue