Authentic - Bring authentication to your server

Hi guys!

Sorry for the silence, I just find out that you were all asking those questions! xD

I will answer to the one I can see right now and note the ideas you gave me.

To respond to @Nam_Vo, it should be possible to do so, but i don’t think it could be efficient to do so (it will always be possible to impersonate using other characters). This can still be a useful feature so will keep it in mind.

For @Farmeur, i didn’t thought to prevent the player to use command i’ll see if i can add this to the plugin.

@ArcherDante, this can be annoying for players, i will add it in future releases :wink:

@Viper_XZ, that’s a major bug i published, but it must be corrected in the newer version. I suppose you already know, but just to be sure :).
For the commands and the drops, i understand that can be dangerous, i’ll also add it in the future.

@Echoes, only ASCII characters are allowed. I don’t know if java handles unicode strings, i’ll check and modify that if possible.

Hello, I find a bug in your plugin, if I don’t login i can’t do anything with my admin account exept move, can you fix it ?

:thinking: You can move even if unlogged?

I will see what may causes this, but it seems strange. What do you mean exactly by “admin account”? Are you talking about an op or something like that?

Can I add case checking for player names?

Can add case checking for player name?

A similar idea has been proposed.

To be honest, I think that such a feature should be integrated in a separate plugin. :thinking:
It would require a lot of rules to be set up (because not only case would have to be checked, other rules would be added), which would only make a simple authentication plugin unnecessarily heavy.

For the moment, I want to finish Authentic, and especially the management of the connection to the database, to avoid data loss when for some reason the database is inaccessible.
Maybe I’ll be able to work on this plugin later, but certainly not right now.

Hello! I wanted to know if you could explain to me step by step how to make the plugin work, because when installing it on the server it gives me an error telling me that it uses database, and I do not understand much of these things. I appreciate if you could help me

Hello!

This is because of the configuration file, if you don’t want to set up a full db, just go to config/authentic/authentic.conf and find the attribute "type" under the "DB" node.
By default, it should be set to "MYSQL" to prevent disk usage. Just set it to "H2" and the plugin will store everything in a file.

This is not good at all not working well but still 50% working u can use it but only register works nothing else everytime u have to register when u enter no meter the auth not saving the register of yours on any player

Hi. What can I do if one of my users forgot his password?

I’m planning to add a command to allow an op to change the password of a player, but for the moment, you must have access to the database: you can delete the line corresponding to the user, he will just have to register again.

If you use MySQL, it should be easy for you, as you probably have PhpMyAdmin installed (or maybe you are good enough in SQL).

If you use H2, you must use a database explorer (you can find the official one here)

in both case, you can use the following SQL command:


DELETE * FROM <table> WHERE username='<user>';

Where “<table>” is the table name you selected (it is “authentic” by default) and “<user>” is the username of your player.

It may be easier for you to use the web interface directly instead of SQL commands. Make it to your preference.

This is what I need, thanks.

i need help for the database setup for MYSQL settings

Yes? what is your problem?
Did you do anything to the database or the configuration file?

Hello I have some problem, can you help me with this?
https://images-ext-1.discordapp.net/external/ZA9N0cDRiydwQ6kAm5WDAuTcoGNXxdtlNBs_z9f3CDY/%3Fwidth%3D1374%26height%3D77/https/media.discordapp.net/attachments/949709308348735579/967797634700030022/unknown.png
How can i fix it? D:

Hi!
How did you setup the plugin’s configuration file?
Can you send it?

Hi when using MariaDB the plugin fills the database connection pool on the DB side with sleeping connections.

that’s weird, the plugins is supposed to cache results to prevents such things :thinking:.
I’ll probably switch to an orm engine later, which should handle the database connections better,
instead of writing sql queries by hand.
But for the moment I don’t have much time to work on the plugin since I’m in my last years of study.

how change password for players?

One can change its own password by using /register once logged.
For now, admins cannot change password from other players unless they have access to the database.
If you want to change the password in the database, you can refer to the post i made here.

an alternative solution would be to update the hash field corresponding to the player with a base64-encoded sha512 hash, but here you must know how to hash a password with this method and to edit a row in a mysql or a h2 database, depending on your case.

I can help if you need some. and of course, if you don’t understand what i’m talking about/i didn’t understand your problem, feel free to pm me.