Support MC 1.13+
I removed the auto-downloading feature of the MC server jar since the naming has changed form MC 1.12 to 1.13. Instead you now must run vanillacord on an existing local server jar.
Usage:
java -jar vanillacord.jar <filename>
For example, to setup a bungee-enabled minecraft server for version 1.13, do this:
wget https://launcher.mojang.com/mc/game/1.13/server/d0caafb8438ebd206f99930cfaecfa6c9a13dca0/server.jar
java -jar vanillacord.jar server.jar
After that you can start the patched Minecraft server like this:
java -jar server-bungee.jar
Hi, I don't know how to build this properly. Could someone give me a link to a built jar? Would really help because one of my servers is vanilla.
I downloaded this PR with GitHub Client. (Open with, at the top) Installed Java JDK ( 1.8.0_281 ) and updated my JAVA_HOME environment variable. Copied the files to another folder. Opened command prompt as Administrator (yes on Windows 10) Went to the correct folder and ran "gradlew build".
I had the following error: https://pastebin.com/0LL7d8L1
So I tried updating distributionUrl to use gradle-4.4-all.zip
This time I only had one error :
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
I tried some searches on this believed it had something with my PATH to do, but I can reproduce the error after fixing my JAVA_HOME.
The build is "successful" although most of the actions say "NO-SOURCE"
Running the vanillacord.jar I found under build/libs/vanillacord.jar gave the following errors:
Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at uk.co.thinkofdeath.vanillacord.Main.addURL(Main.java:132)
at uk.co.thinkofdeath.vanillacord.Main.main(Main.java:30)