msmhq / msm

An init script for managing Minecraft servers
http://msmhq.com
GNU General Public License v3.0
1.22k stars 225 forks source link

Automatic download jar when creating a server (craftbukkit DMCA) #273

Open Fr33maan opened 10 years ago

Fr33maan commented 10 years ago

Due to recent events -> http://dl.bukkit.org/dmca/notification.txt

I think that jargroup should have an option to force a given jar that already exists in the server file system. Because i don't want to download everytime i create a new server

If the jargroup url download fail, then jargroup uses given local jar.

I've already find a workaround but you must enter some commands and use a server

  1. Upload the needed jar somewhere you can download it (patched spigot in my case hosted on my VPS.
  2. create the jargroup with the given url
  3. create a server
  4. change the jargroup
  5. start the server (it will now download the good jar)
  6. change jargroup url

Now, everytime you create a server it will use the existing jargroup. It appears that you can't create a jargroup with a wrong url and manually move the jar into the jars/YourCustomJargroup.

If you see a better solution, i will try it ;)

mikedevita commented 9 years ago

just create a server using the default minecraft jargroup, then move the spigot server jar in place of it and start the server, thats what I do. I also created a jargroup folder called spigot for example and put the server jar in there. Then i changed the jargroup of the server.

also you could use the builds from here as URLs.