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
502 stars 121 forks source link

Bungeecord No MySQLite Support #510

Closed Coddo-Python closed 3 years ago

Coddo-Python commented 3 years ago

What behaviour is observed:

[13:16:22 WARN] [FastLogin]: This driver org.sqlite.JDBC is not supported on this platform [13:16:22 WARN] [FastLogin]: Please choose MySQL (Spigot+BungeeCord), SQLite (Spigot+Sponge) or MariaDB (Sponge)

What behaviour is expected:

The warnings don't come up!

Steps/models to reproduce:

I popped FastLoginBungeecord into my bungeecord plugin folder, and when I started the server, it said the warnings said above!

Screenshots (if applicable)

Plugin list:

AuthMeBungee FastLoginBungee

Environment description

Minecraft Version 1.16.5 Waterfall #407

Plugin version or build number (don't write latest):

FastLoginBungee #978

Server Log:

Hastebin / Gist link of the error, stacktrace or the complete log (if any) [13:16:22 WARN] [FastLogin]: This driver org.sqlite.JDBC is not supported on this platform [13:16:22 WARN] [FastLogin]: Please choose MySQL (Spigot+BungeeCord), SQLite (Spigot+Sponge) or MariaDB (Sponge)

Configuration:

Hastebin / Gist link of your config.yml file https://paste.myst.rs/ca4xgdth

games647 commented 3 years ago

[13:16:22 WARN] [FastLogin]: Please choose MySQL (Spigot+BungeeCord), SQLite (Spigot+Sponge) or MariaDB (Sponge)

It says exactly what you need to do.

Coddo-Python commented 3 years ago

Sorry I am not too experienced, am I right I need to change this line in the config: driver: 'org.sqlite.JDBC'. If so, what do I change it to?

games647 commented 3 years ago

You need to setup a MySQL/MariaDB database server. If you rented a game server (not a VPS or root server), your provider most likely provides you one. Then you have to update the driver to the MySQL/MariaDB one. The comments in the configuration show you an example. After that username, password and database name have to be updated as well to match your database server configuration.