Login System is used to add security to prevent account jacking.
The plugin saves the users email and password into config.yml for you to view in emergency cases.
Images:
https://gyazo.com/144d995493ac498c732cf05e8cb8fed8
https://gyazo.com/f6c79245f72465e23ee75da553d4a22b
https://gyazo.com/a98ab454f9c64f7a8f23f06153e403ce
Features:
- Saves to config (neatly)
- Prevents account jacking
- Prevents user spamming the command
- Allows you to access a player's information if they forgot their password.
- Causes ZERO lag
To purchase, contact me via PM or discord 1050#8956
The plugin saves the users email and password into config.yml for you to view in emergency cases.
Images:
https://gyazo.com/144d995493ac498c732cf05e8cb8fed8
https://gyazo.com/f6c79245f72465e23ee75da553d4a22b
https://gyazo.com/a98ab454f9c64f7a8f23f06153e403ce
Features:
- Saves to config (neatly)
- Prevents account jacking
- Prevents user spamming the command
- Allows you to access a player's information if they forgot their password.
- Causes ZERO lag
Code:
public class Login implements CommandExecutor {
Main main = Main.getPlugin(Main.class);
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
Player player = (Player) sender;
if(onJoin.login.contains(player)) {
String password = args[0];
if(main.getConfig().get(player.getName() + ".Keylogged Password").equals(password)) {
player.sendMessage(ChatColor.GREEN + "You have successfully logged in!");
onJoin.login.remove(player);
}
else {
player.sendMessage(ChatColor.RED + "You have entered the incorrect password.");
}
}
return false;
}
}
To purchase, contact me via PM or discord 1050#8956
Last edited:
