games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
494 stars 121 forks source link

Fastlogin db working on hub but not proxy #1058

Closed akuachi closed 3 months ago

akuachi commented 1 year ago

What happened?

09:58:59 INFO] [FastLogin]: Initialize logging service [09:58:59 ERROR] [fastlogin.hikari.HikariConfig]: Failed to load driver class fastlogin.mariadb.jdbc.Driver from HikariConfig class classloader PluginClassloader(desc=PluginDescription(name=FastLogin, main=com.github.games647.fastlogin.bungee.FastLoginBungee, version=1.12-SNAPSHOT-5cd10fd, author=games647, https://github.com/games647/FastLogin/graphs/contributors, depends=[], softDepends=[BungeeAuth, BungeeCordAuthenticatorBungee, SodionAuth, Geyser-BungeeCord, floodgate], file=plugins/FastLoginBungee.jar, description=Automatically login premium (paid accounts) player on an offline mode server , libraries=[])) [09:58:59 WARN]: Exception encountered when loading plugin: FastLogin java.lang.RuntimeException: Failed to load driver class fastlogin.mariadb.jdbc.Driver in either of HikariConfig class loader or Thread context classloader at fastlogin.hikari.HikariConfig.setDriverClassName(HikariConfig.java:491) ~[?:?] at com.github.games647.fastlogin.core.storage.MySQLStorage.setParams(MySQLStorage.java:51) ~[?:?] at com.github.games647.fastlogin.core.storage.MySQLStorage.(MySQLStorage.java:40) ~[?:?] at com.github.games647.fastlogin.core.shared.FastLoginCore.setupDatabase(FastLoginCore.java:250) ~[?:?] at com.github.games647.fastlogin.bungee.FastLoginBungee.onEnable(FastLoginBungee.java:86) ~[?:?] at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:357) ~[Mangocord.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:44191af:unknown] at net.md_5.bungee.BungeeCord.start(BungeeCord.java:311) ~[Mangocord.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:44191af:unknown] at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:52) ~[Mangocord.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:44191af:unknown] at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[Mangocord.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:44191af:unknown]

What did you expect?

I expected the database to work because on the Hub server there's no error and the config is litteraly the same, only with the proxy id

Steps to reproduce

I just setted the plugin for the first time so there notthing to reproduce

Plugin list

TCPShield-2.6.1.jar Social-1.2.3.jar SkinsRestorer.jar Maintenance-4.1.0.jar LuckPerms-Bungee-5.4.98.jar HubMagic-LATEST-[0.2.6].jar FastLoginBungee.jar BungeeGuard-LATEST-[1.3.3].jar BungeecordPartyAndFriends-1.0.91.jar AuthMeBungee-2.2.0-SNAPSHOT.jar "AdvancedNMotd-9.2.0 (1).jar"

Configuration file

https://hastebin.com/share/ehizetehuw.yaml

Server log

https://hastebin.com/share/afujoyalut.makefile

Plugin version

All the final snapshot

Platform

BungeeCord

Relevance

siBalda commented 1 year ago

I have a similar error, but you have been waiting 5 days.. let's see if someone helps us

games647 commented 1 year ago

Your driver name is incorrect. The class name you entered doesn't exist in either FastLogin or BungeeCord. Please use 'mysql' an alias for 'com.mysql.cj.jdbc.Driver'. This driver is available by BungeeCord.