Minecraft – batch script to download the latest Craftbukkit Build

minecraft-bukkitminecraft-java-edition

How can I write a batch script (Windows) that will download the latest Craftbukkit Build and put it in a certain directory whenever I run it?

So has anyone overcome the problem of updating Bukkit without a lot of hassle?

PS: Bonus points to anyone that can automatically update plugins too.

Best Answer

On linux I'm using wget and you can use it too even on Windows, try i.e. "complete package ..." from here. Then write some batch file which you can call by Windows task scheduler (don't forget to -O wget parameter). For this automatic updating use only RB (recommended build), anyway you must restart your server. For plugins updating you can call reload from the server or restart again (see this).