AmkMcAuth
Update:
16-03-2022: AmkMcAuth-v1.5.3 version is out and available for download. If this version is not available on bukkit.org (due to some "technical difficulty" on bukkit.org), you can download it from: https://www.spigotmc.org/resources/amkmcauth.90252/ (Like other plugins).
This version is tested and running on a MC 1.18+ Spigot servers.
This plugin also protects (to some extend, its not a replacement for whitelist) your server against the "Operation Copenheimer" bots/griefers as it adds an extra login/password layer on your server so the bots mark your server as "protected" and not as "open".
See ChangeLog for information on Changes in this version.
Quick info.
AmkMcAuth is Minecraft Vs. 1.15+ , 1.16+, 1.17+, 1.18+, 1.19+ (and 1.20) ready. Works out of the box!
Preface:
AmkMcAuth (Big-Server edition) is a fork/continued RoyalAuth plugin (developed by jkcclemens). Jkcclemens was not updating his plugin and it stopped working at MC-Version 1.9+.
So i took the original sourcecode from jkcclemens and i fixed all the errors that occurred using it on MC 1.9+ servers creating a new version that i named AmkMcAuth.
But, all the credits go to jkcclemens who is the original creator of RoyalAuth i am using as the base for this plugin.
AmkMcAuth is an authentication plugin. It requires players to register their account with a password and use that password to login, adding another layer of security to any server. (If you are using email registration: the player has to register his email address after wich AmkMcAuth sends a random password to that email address so the player can login using that password, and possibly change it afterwards).
You can see it in action (and try it if you like) on my private AmkSoft Linux MineCraftServer
What options has the AmkMcAuth plugin.
This, the "Big-Server" version of AmkMcAuth, contains Email-Registration and MySQL support (larger plugin filesize). The AmkMcAuth(se) (Small-Server) Edition does not have MySQL Support and Email-registration (and the plugin file-size is much smaller).
So, if you have a small server or have a small playerbase then you can use the AmkMcAuth(se) version.
If you have a big server and/or you need MySQL support or Email registration, than you need this "Big-Server" version.
See the config.yml AmkMcAuth config.yml file in the Pages section. This file also has all the options documented.
First-time Install+Setup:
Just drop the plugin in your plugins folder and (re)start the server.
AmkMcAuth works default "out of the box", no special configuration needed, meaning: your players need to register a password (first time) and log in using that password.
Using the Admin commands you can manualy manage players.
Upgrading existing Setup:
You can just drop the plugin in your plugins folder and (re)start the server, but you have te check your existing config.yml and lang/en_us.properties files as there may be missing some entries (check the pages section for details) and you probably have to restart your server when you did some updates to those files.
As of version1.4.3 AmkMcAuth updates your config.yml in place if it finds missing config settings after backing up your previous config.yml file (this removes the comment lines from the config file).
If you are updating to an older version (pre 1.4.3) you have to rename your config.yml manualy, start the server and merge the old and new config.yml files.
Setup MySQL connection:
See the MySQL-SetUp file in the Pages section.
Commands and Permissions:
See the Commands and Permissons files in the Pages section.
Other Language Files:
Language files can be downloaded from the "Pages/lang" section.
SourceCode and Downloads:
The sourcecode can be viewed on github
Metrics:
AmkMcAuth uses bstats.org for collecting anonymous plugin stats:
- Total number of Servers running this plugin
- Total numer of players playing on servers
- Server Online/offline mode
- Mincraft server version
- Plugin version
- Server Core count
- System architecture
- Operating system
- Server location (country)
- Installed Java version
- AmkMcAuth Registered player count%100
- Plugin usage (Options used)
Notes on using AmkMcAuth e-mail:
This plugin uses the SMTP java library written by GermanCoding due its small size.
But, you cannot just use every mailserver, it has to be a SSL/TLS mailsever, like gmail.com .
Review/Usage:
If you see something weird to happen or you want something added, please let me know so i can help you. Also: if you use this plugin, please let me know and leave a 'like', much appreciated. You might even send me some buck's (Donate) so i can enjoy a coffee while updating this plugin :D .
Who donated to me: thank you. I appriciate it. The coffee tasted great.
In reply to Forge_User_92118576:
Worked perfectly, thank you!
Another question: at useSpawnAtLocation, how to set the coordinates to half a block? like this:
spawnAtLocationX: 0,500
spawnAtLocationY: 256
spawnAtLocationZ: 0,500
Again, tysm.
In reply to mereevee:
Hi mereevee,
Thank you for the reply.
You are very accurate when using the spawn at. Lol.
I will look into it.
Can you plz pm me your question in englisch?
Maybe I can answer it.
AmkMcAuth stofife: same playername is registered using different Character-Case!, registered as oguh43
All players that try to connect are already registered as me (admin)
In reply to Forge_User_17635098:
Hi,
See your pm, i found the bug.
The new version will address and fix this bug.
In reply to Forge_User_92118576:
Hi,
Thanks for the early reply, I'll test it later today :).
Nice plugin. Feature suggestion: some kind of CAPTCHA
In reply to soicbr:
Hi soibr,
You are worried about bots connecting to your server and registering multiple UserNames?
Well, you could use the "Register using email", then the bots cannot play before they enter the code (password) recieved in the email.
But capcha is not that easy in Minecraft.
What i once did was: i disabled player registration on the Minecraft server and the new players where getting a message to register using the website. When the website-registration was correct then the website registered the playername in the Mincraft server (using unix shell Mincraft server command).
On the website you could then set a captcha,
Martie
In reply to Forge_User_92118576:
On a few servers you could see a chest gui pop up with different blocks inside, asking you to pick one of them, If correct, you can log in.
In reply to Forge_User_17635098:
Yes. I was trying to get this to work.
So far no luck thought. But i will once get this yo work.
Greetings
Martie
vc são BR ?
New version uploaded and ready to download and run on your server.
Could you please make it cancel the chat event so the passwd is not displayed in the console and can not be spyed on... This is really like a security breach
In reply to Forge_User_49524646:
Hi,
Yes, i'm working on that. It's not easy for me, i'm not a Java programmer.
I tried something like using hidden/suppressed chat messages. But somehow the hidden/suppressed at a later Server version chat messages just showed up in chat, so i disabled the use of it. You can see the setting for this in the config.yml (wil not work anymore).:
But this option is, as i mentioned, now disabled. I will try to find a way te make it usable again.
So, i'm working on it, even tried to use a sign or anvil to login, but no luck there, Plugin chrashes as i do not know enough about java programming.
I hope you did not show the Server-logs (console) public to your players.
In reply to Forge_User_49524646:
I'm right now testing a new version having the canceled login chat commamd
Long story short, I have a server with my friends, I gave them colourfull names using team command, I installed the plugin and now the names don't work on chat (but they do work on animals, scoreboard, tab etc.). Is there any way to fix that? I'm playing on 1.16.1. Thanks in advance!
In reply to foxylla:
Hello foxylla,
I have no idea what you are trying to tell.
Do you get any errors pointing to the amkmcauth plugin?
I'm trying to understand how amkmcauth interferes with your chat names.
Can you send a pm using a screenshot and possibly the name of your chat plugin?
In reply to Forge_User_92118576:
No, i'm not using any other plugin exept amkmcauth. You can change players names using "/team" command without any mods or plugins. All you have to do is create a team (/team add <name>), change the team color (/team modify <name> color <color>) and add a player to the team (/team join <name> <player name>). I'm not getting any error messages either. I'm just assuming that amkmcauth caused it beacuse it worked before installing the plugin.
In reply to foxylla:
Lets discuss this using pm.
I send you a pm.
After some coversation with foxylla: it turns out that the colored messages are broken in spigot. Even server with no plugins shows no colors.
Please update to 1.16