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

Is it possible to use this with MySql? #34

Closed TimLiz closed 2 years ago

TimLiz commented 2 years ago

Is it possible to use this with MySql?

SeraphJACK commented 2 years ago

You can use whatever you want and you just need to write a custom StorageProvider.

TimLiz commented 2 years ago

You can use whatever you want and you just need to write a custom StorageProvider.

What does it mean to write? And how to do it?

SeraphJACK commented 2 years ago

README.md:

Custom storage providers If you're familiar with Java and forge mods, it won't be very hard.

You need to implement the top.seraphjack.simplelogin.server.storage.StorageProvider interface, and register your own provider before the server starts by calling top.seraphjack.simplelogin.server.SLRegistries.STORAGE_PROVIDERS::register.