
Feature Request: Velocity Support
JustinDevB opened this issue · 21 comments
Please add support for Velocity. It is quickly gaining traction as a replacement for Bungee. (It has even joined Paper)
https://velocitypowered.com/
+1
Velocity is increasing in popularity and support for waterfall will soon be deprecated.
@JustinDevB @GeleVla Can you try this version?
https://github.com/Dablakbandit/always-online/raw/velocity/output/always-online-latest.jar
Hi,
What a coincidence that Mojangs servers are down now ;)
I will try it when they are back online and let you know if it works!
I installed it, of couse the Mojang servers are down.
It loaded correctly, but then it started to give errors.
No more issues after the Mojang servers are online!
But when enabling MySQL a new error occured.
Velocity doesn't seem to come with MySQL connector, there are some examples on their forums as for how to get this loaded with velocity.
As for the errors, I have pushed an update to the same link as posted above.
Hi, there are pluginis that use MySQL on Velocity. Like Plan and Luckperms.
Can you take a second look to see if you can implement it within the plugin?
If each plugin adds the mysql connector, then you can get conflicting versions/classes, alongside bloating the jar.
Hi, I will look into it. Did you made the changes for Velocity also on the GitHub files?
Hi, I tried using the new flags and with the mysql jar in the main folder. But still I get an error. Could you make a second jar for velocity only?
java -Xms128M -Xmx1000M -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -Dterminal.jline=false -Dterminal.ansi=true -cp "velocity.jar:mysql-connector-java-8.0.16.jar"com.velocitypowered.proxy.Velocity -jar velocity.jar
Can you try the link again, I've added an option to add jars to /plugins/alwaysonline/libs
Note:
mysql-connector-java also requires protobuf-java
Hey @GeleVla have you run into any more issues or does this seem like its working well so far (besides MySQL support)?
@TheKrafter
Even though you necro'd a year old thread, the solution is a library called MySQLDriver. Another plugin called "VotingPlugin" requires this library to function on a proxy.
You can find it here.
I recently removed VotingPlugin and its dependencies to find a fault somewhere, and discovered that AlwaysOnline would not load without the library.
I hope this helps someone.
Plugin now supports mysql in velocity by default:
https://github.com/Dablakbandit/always-online/raw/master/output/always-online-latest.jar
Waiting to post to spigot after bukkit approval