Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MC 1.13+ #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mkarneim
Copy link

@mkarneim mkarneim commented Nov 18, 2018

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

Maxim Varentsov and others added 2 commits July 18, 2017 01:06
@pellux-network
Copy link

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.

@OskyEdz
Copy link

OskyEdz commented Apr 9, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants