SeraphJACK / SimpleLogin

Auth mod based on forge for Minecraft 1.12+
https://www.curseforge.com/minecraft/mc-mods/simple-login
MIT License
49 stars 23 forks source link

Add MySQL Support #15

Closed RomualdYT closed 4 years ago

RomualdYT commented 4 years ago

Thanks for this very useful mod! That would be very nice to support MySQL to store the generated password of players server side!

SeraphJACK commented 4 years ago

It can be easily implemented, but why would you need it? In most cases, we're just dealing with a tiny amount of data, which doesn't need a powerful database engine.

RomualdYT commented 4 years ago

That is easier to see who's registered so we can check if someone need a unregister since there is a problem :) Also practical if we want to autolog a player with a launcher system : we can create a auth who can autolog the player to his session (not the first time)

SeraphJACK commented 4 years ago

Implemented, can you test them?

RomualdYT commented 4 years ago

Hello, sorry for the time :) Gonna try it thanks for you speed

SeraphJACK commented 4 years ago

The thing is that MariaDB driver uses LGPL, therefore I can't distribute these jars shaded the driver under MIT license.

SeraphJACK commented 4 years ago

Well seems it's fine if I ship these jars with an LGPL license included.

InkerBot commented 3 years ago

Hello, I think you shouldn't worry about this. Mysql driver have "foss-exception". You can get more information here: https://www.mysql.com/about/legal/licensing/foss-exception/