Saturday, September 28, 2013

Minecraft server update cron script

Automatically update crafbukkit server to latest development version

Modify as need and place or link the below script into your '/etc/cron.daily/' folder; remember not to use dots in your cron files as they will not be read - for example name it or soft link it as 'update-crafbukkit-minecraft'.

# file:

/etc/init.d/ stop
wget -N
# got the link by reading here: and guessing to change '-rb' to '-dev'
rm minecraft_server.jar
ln -s craftbukkit.jar minecraft_server.jar
/etc/init.d/ start

You can find my minecraft setup and my minecraft init.d startup script at an older post Minecraft Server on Debian.

No comments:

Post a Comment