Skip to content

Instantly share code, notes, and snippets.

@robrotheram
Created December 12, 2014 15:32
Show Gist options
  • Save robrotheram/5ffac65aed7ba43a8425 to your computer and use it in GitHub Desktop.
Save robrotheram/5ffac65aed7ba43a8425 to your computer and use it in GitHub Desktop.
update-plugins.sh
#! /bin/bash
# creat backup dir
dt=$(date +%Y%m%d%H%M%S)
mkdir plugins_$dt
#copy jar to backup
cp *.jar plugins_$dt/.
rm *.jar
#download plugins
wget http://ci.shadowvolt.com/job/ProtocolLib/lastSuccessfulBuild/artifact/ProtocolLib/target/ProtocolLib.jar
wget -O CraftBook.zip https://dl.dropboxusercontent.com/u/20806998/mc/CraftBook%203.9.zip
wget http://mikeprimm.com/dynmap/builds/dynmap/dynmap-2.1-SNAPSHOT.jar
wget http://build.mctcp.com/job/TerrainControl%20-%20Master%20-%20Gradle/default/59/artifact/platforms/bukkit/build/distributions/terraincontrol-bukkit-2.7.0-SNAPSHOT.jar
wget http://signshop.beastmc.com/job/Signshop/lastSuccessfulBuild/artifact/dist/SignShop.jar
wget http://ci.griefcraft.com/job/LWC/lastSuccessfulBuild/artifact/core/target/LWC.jar
wget http://builds.enginehub.org/job/worldedit/6536/download/worldedit-bukkit-6.0.2-SNAPSHOT-dist.jar
wget http://builds.enginehub.org/job/worldguard/6447/download/worldguard-6.0.0-SNAPSHOT.zip
wget http://dev.bukkit.org/media/files/833/839/Stables.jar
wget http://dev.bukkit.org/media/files/837/976/Vault.jar
wget http://ci.onarandombox.com/job/Multiverse-Core/lastBuild/artifact/target/Multiverse-Core-2.5.jar
wget http://ci.onarandombox.com/job/Multiverse-SignPortals/lastSuccessfulBuild/artifact/target/Multiverse-SignPortals-2.5.jar
wget http://ci.onarandombox.com/job/Multiverse-NetherPortals/lastSuccessfulBuild/artifact/target/Multiverse-NetherPortals-2.5.jar
wget http://dev.bukkit.org/media/files/814/465/prism-2.0.4.jar
wget https://hub.spigotmc.org/jenkins/job/zPermissions/lastSuccessfulBuild/artifact/target/zPermissions-1.3-SNAPSHOT-b6.jar
wget https://hub.spigotmc.org/jenkins/job/Spigot-Essentials/lastSuccessfulBuild/artifact/Essentials/target/Essentials-2.x-SNAPSHOT.jar
# unzip any downloaded zip files
unzip worldguard-6.0.0-SNAPSHOT.zip
unzip CraftBook.zip
# Clean up of inflating zips
rm *.zip
rm *.html
rm *.txt
rm -r contrib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment