Chocorean / authmod

Allows you to safely accept demo versions on your server.
https://minecraft.curseforge.com/projects/authmod
Apache License 2.0
20 stars 10 forks source link

Rework config #17

Closed Mcdostone closed 5 years ago

Mcdostone commented 5 years ago

In this new version, we give more flexibility to administrators. In the oldest versions of authmod, admins had to respect a defined SQL table structure with specific columns for basic information (username, email, password...). Now it will be possible to custom those column labels in the authmod.cfg file. 4 properties were added:

database {
    # column label telling whether the player is banned or not
    S:columnBanned=banned

    # column label containing the email address
    S:columnEmail=email

    # column label containing the encrypted password
    S:columnPassword=password

    # column label containing the player's username
    S:columnUsername=username

    # column label containing the player's UUID
    S:columnUuid=uuid
    # ... 
}