Phoenix616 / Snap

Experimental tool to run BungeeCord plugins on Velocity
https://hangar.papermc.io/Phoenix616/Snap
GNU Lesser General Public License v3.0
116 stars 10 forks source link

FastLogin #3

Closed mirkocerati closed 3 years ago

mirkocerati commented 3 years ago

Hi there. FastLogin doesn't work. https://pastebin.com/KgCiegeS

Same thing if I change to MySQL instead of SQLite. I'm using the latest build of FastLoginBungee (https://ci.codemc.io/job/Games647/job/FastLogin/).

Phoenix616 commented 3 years ago

Hm, looks like the BungeeCord-api artifact doesn't specify SQLite/MySQL drivers but includes it via the proxy artifact? I'm not sure if I should include those directly seeing as it's easily possible to just provide those via the classpath.

mirkocerati commented 3 years ago

I'm not a Java Developer so I really don't know what you're talking about, lol. Is it something that can be fixed?

Phoenix616 commented 3 years ago

That has nothing to do with developing Java, adding libraries to the classpath is part of starting and running a java application.

mirkocerati commented 3 years ago

So, is there a way to fix this issue?

Phoenix616 commented 3 years ago

Yes, either provide the required library in your classpath, shade it into the plugin jar itself or wait until someone has looked into this and maybe included a fix.

astei commented 3 years ago

Velocity doesn't ship with any JDBC drivers by default, primarily because there's no need for us to do so.

@Phoenix616 It may be worth it to shade in the same version of SQLite and MySQL Connector/J as BungeeCord in Snap to reduce any "shock".

Phoenix616 commented 3 years ago

Added some more of the stuff BungeeCord/Waterfall provide. They do not include SQLite so I don't think Snap should either (and as the error already correctly identifies one would have to use MySQL on Bungee.)