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.
i think, in 1.17 there is somethink not good with counting accounts to block more then X accounts per Ip.
Can i get the source code ?
On your github i see max AmkMcAuth-V-1.5.1
In reply to hound1997c:
Hi,
That peace of code is exactly the same, it is not changed.
You can use that. Are you using profile-files or MySQL as storage?
Thats the main difference.
Hello,
Is there an option in the plugin to put the join message of Minecraft after the login? And hide the leave message if not logged in?
That would be very useful, thank you.
In reply to Creeperlulu:
Hi
Im not sure what you exactly mean, but messages are controlled by the server itself.
You control the messages by using a plugin that intercepts the server join and leave messages and supressses them.
The AmkMcAuth plugin does not change the messages itself, it only uses them to make discisions what to do next.
You have to use other plugins to control the messages, like show, hide or replace with other text.
In reply to MartieAmk:
I have a plugin to modify messages. The problem is that the messages are showing before login and everyone are believing that the person is the right person before login, that can be a hacker and that's embarrassing.
In reply to Creeperlulu:
Hi,
The join message is correct, it means that your minecraft server sees a player conneting to your server, this is always the first message you get. The only thing you can do is using your message replaceing plugin te rerplace it with something else (or blank it out). But i hope all other plugings that react on this message are not affected bt this.
The only save thing that you can do is "suppress" the message so it does not show up to the players but other pluging are allowed to see it en can react to it.
Is there any way i can view all registered players (whether offline or not) and their password ??
In reply to hypertextninja:
You can see all the players, but not the passwords, they are encrypted.
Hi, this plugin is amazing. But could you add a function that applies blindness to a player before they login?
In reply to jkshocker1116:
Hi,
I will look into that.
In reply to MartieAmk:
It will be really useful so that account users would not be able to know where someone is
In reply to jkshocker1116:
Hi,
What do you know by that if i may ask?
There is an option to hide not logged in players and players not logged in cannot see other players.
In reply to MartieAmk:
What I meant is that when I log into someone elses account I will know where they are
In reply to jkshocker1116:
There is a setting for this in config.yml that will teleport unauthorized players to spawn.
Change
teleport_to_spawn: true
Can you do bungee command blocker. I can use bungeecord commands if i didnt login
In reply to PerlHF:
Hi,
What are bungeecord commands?
Default amkmcauth blocks commands except comands you allow in config.yml when not logged in.
In reply to MartieAmk:
bungeecord have commands like: /ip /send <player> <server>
someone can join to server with my nickname, type: /send Perl__ Survival
and op themselves or just do anything with my server
Hi!
I very love this plugin, but I have a problem.
Many players try to register with password confirm, like /reg password password, then they can't login for sure. What can I do with that? Can I disable space character in password somehow?
In reply to attila_ladanyi:
Hi nattila_ladanyi
Thank for the kind words.
AmkMcAuthh does corrently not yet have the register confirm option, thats why AmkMcAuth puts the spacaracter in the passwords as part of the password. (AmkMcAuth accepts space characters in the password.
There is of now no work-around it.
Others requested the confirm option also, i'm working to implement it.
Hello! How can i delete a password for a friend if he forgot his password.