Sueta

Authenticator

1.0.1

Password manager for players' accounts.

·Plugin

banner.png

features.png

  • Registration system for players using a security word;

The admin can choose whether the player will have to manually register or not.
register_title.png

  • Log-in system for players using their security word;

You have fully customizable options for the authentication.
login_title.png

  • Ability to keep player sessions active (via IP and not);

When a player leaves, if the option is enabled, he will be able to re-join without having to enter his security word.

  • Restrictions and authentication general settings

You'll be able to fully customize the security and restriction system of an authenticating player.

  • Fully customizable messages

By having access to the language.yml file, you'll be able to completely customize the plugin messages.

Visualize the language.yml
general:
  no-permission: '&4You don''t have access to this command.'

register:
  warning-chat-double: '&cRegister with: /register <yourPassword> <confirmPassword>'
  warning-chat: '&cRegister with: /register <yourPassword>'
  warning-title: '&c&lYou have to register'
  warning-subtitle-double: '&f/register <yourPassword> <confirmPassword>, in order to login'
  warning-subtitle: '&f/register <yourPassword>, in order to login'
  expire: '&4It took you too long to register.'
  not-registered: '&4You are not registered in the database!'
  already-registered: '&4You are already registered!'
  nickname-too-short: '&4Your nickname is too short.'
  nickname-too-long: '&4Your nickname is too long.'
  invalid-password: '&4Your password is too long or short. Try again.'
  unsafe-password: '&4Your password is unsafe. Try again.'
  passwords-not-match: '&4The two passwords do not match.'
  registered-successfully: '&2You have registered successfully!'
  kick: '&2Re-join to login.'
  usage-double: '&4Use: /register <yourPassword> <confirmPassword>'
  usage: '&4Use: /register <yourPassword>'

unregister:
  not-authed: '&4You have to be authenticated in order to unregister.'
  unregistered-successfully: '&2You have been unregistered from the database.'
  usage: '&4Use: /unregister <yourPassword> <confirmPassword>'

changepassword:
  not-authed: '&4You have to be authenticated in order to change password.'
  changed-successfully: '&2Your password has been changed successfully!'
  usage: '&4Use: /changepassword <oldPassword> <newPassword>'

login:
  warning-chat: '&cLogin with: /login <yourPassword>'
  warning-title: '&c&lYou have to login'
  warning-subtitle: '&f/login <yourPassword>, in order to continue'
  expire: '&4It took you too long to authenticate.'
  already-logged: '&4You are already logged in!'
  not-registered: '&4You have to register in order to log in.'
  wrong-password: '&4Wrong password!'
  logged-successfully: '&2You have logged-in!'
  usage: '&4Use: /login <yourPassword>'

auth:
  blocked-commands: '&4You have to authenticate in order to execute commands.'
  blocked-chat: '&4You have to authenticate in order to send chat messages.'
  show-accounts:
    - ' '
    - '&fYour actual account: &a%NAME%'
    - '&7Your other accounts: &c%OTHERS%'
    - ' '
  show-accounts-admin:
    - ' '
    - '&f%NAME% has other %QUANTITY% accounts: '
    - '&c%OTHERS%'
    - ' '

sessions:
  successful: '&2You have been automatically authenticated!'

restrictions:
  wrong-username: '&4The real username should be %NAME%.'
  log-too-many-ip: '&4You have logged in too many accounts.'
  reg-too-many-ip: '&4You have registered too many accounts.'
  join-too-many-ip: '&4You have joined with too many accounts.'

admin-commands:
  reloaded-successfully: '&2All the configs were successfully reloaded.'
  spawn-set-successfully: '&2You have set the new spawn point.'
  no-spawn-set: '&4There is no spawn set.'
  spawn-remove-successfully: '&2You have removed the spawn point.'
  usage-1: '&4Usage: /auth <setspawn|spawn|delspawn>'
  not-registered: '&4This player isn''t registered in the database.'
  unregistered-successfully: '&3You have successfully unregistered %NAME%.'
  already-registered: '&4This player is already registered.'
  registered-successfully: '&3You have successfully registered %NAME%.'
  changepassword-successfully: '&3You have changed %NAME%''s password.'
  usage-2: '&4Usage: /auth <register|unregister|changepassword> <player> [password]'
  • And much much more!

The plugin gets updated everytime there is a need and, if you want to report some bugs or just request the addition of a function, we'll be right here to help you out!

permissions.png

  • auth.register = Allows a player to register via command;
  • auth.login= Allows a player to log-in via command;
  • auth.unregister = Allows a player to remove himself from the database;
  • auth.changepassword = Allows a player to change his security word;
  • auth.accounts = Allows a player to see other players' accounts (recommended for admins);
  • auth.register.others = Allows a player to register another player (recommended for admins);
  • auth.unregister.others = Allows a player to remove another player from the database (recommended for admins);
  • auth.changepassword.others = Allows a player to change another player's security word (recommended for admins);
  • auth.spawn = Allows a player to teleport himself to the plugin's spawn-point;
  • auth.setspawn = Allows a player to set the plugin's spawn-point;
  • auth.delspawn = Allows a player to remove the plugin's spawn-point;
  • auth.reload = Allows a player to reload plugin's configuration files (recommended for admins).
View the config.yml
#      /$$$$$$  /$$   /$$ /$$$$$$$$ /$$   /$$ /$$$$$$$$ /$$   /$$ /$$$$$$$$ /$$$$$$  /$$$$$$   /$$$$$$  /$$$$$$$$ /$$$$$$  /$$$$$$$
#     /$$__  $$| $$  | $$|__  $$__/| $$  | $$| $$_____/| $$$ | $$|__  $$__/|_  $$_/ /$$__  $$ /$$__  $$|__  $$__//$$__  $$| $$__  $$
#    | $$  \ $$| $$  | $$   | $$   | $$  | $$| $$      | $$$$| $$   | $$     | $$  | $$  \__/| $$  \ $$   | $$  | $$  \ $$| $$  \ $$
#    | $$$$$$$$| $$  | $$   | $$   | $$$$$$$$| $$$$$   | $$ $$ $$   | $$     | $$  | $$      | $$$$$$$$   | $$  | $$  | $$| $$$$$$$/
#    | $$__  $$| $$  | $$   | $$   | $$__  $$| $$__/   | $$  $$$$   | $$     | $$  | $$      | $$__  $$   | $$  | $$  | $$| $$__  $$
#    | $$  | $$| $$  | $$   | $$   | $$  | $$| $$      | $$\  $$$   | $$     | $$  | $$    $$| $$  | $$   | $$  | $$  | $$| $$  \ $$
#    | $$  | $$|  $$$$$$/   | $$   | $$  | $$| $$$$$$$$| $$ \  $$   | $$    /$$$$$$|  $$$$$$/| $$  | $$   | $$  |  $$$$$$/| $$  | $$
#    |__/  |__/ \______/    |__/   |__/  |__/|________/|__/  \__/   |__/   |______/ \______/ |__/  |__/   |__/   \______/ |__/  |__/  version 1.0.1 by godfather

auth-on-join: true

####################################
#         SESSION SETTINGS         #
####################################

sessions:
  #If the player logs out, does he have the option to re-enter without having to log in again?
  enabled: false
  #How long does the session expire? (In seconds)
  timeout: 20
  #In order to access the session, the player must have the same ip?
  expire-on-ip-change: true


####################################
#      REGISTRATION SETTINGS       #
####################################

registration:
  #Can players not registered in the database register themselves?
  enabled: true
  #How long can it take a player to register? (0 if you want to set limitless time)
  timeout: 30
  nickname:
    min-length: 3
    max-length: 16
  warnings:
    #How often will a chat warn appear?
    delay: 10
    #Should the player also be warned by a title message? (see language.yml for more details)
    warn-with-title: true
  password:
    #/register <password> <confirmPassword>
    double-check: true
    min-length: 4
    max-length: 30
    #Make a list of passwords that you won't allow
    unsafe-passwords:
      - 'password'
      - '123456789'
      - 'qwerty'
      - 'asdfgh'
      - 'zxcvbn'
      #The player's name is also an unsafe password.
  kick-after-registration: false
  login-after-registration: false


####################################
#          LOGIN SETTINGS          #
####################################

login:
  #How long can it take a player to login? (0 if you want to set limitless time)
  timeout: 30
  #Should the player be kicked if he misses the password?
  kick-on-wrong-password: true
  warnings:
    #How often will a chat warn appear?
    delay: 10
    #Should the player also be warned by a title message? (see language.yml for more details)
    warn-with-title: true


####################################
#       AUTH GENERAL SETTINGS      #
####################################

auth:
  #Does the un-authed players have to be teleported to spawn when entering? (see spawn.yml)
  spawn-on-join: false
  invisible-when-auth: true
  invulnerable-when-auth: true
  restrictions:
    #Should the inventory be hidden from players until they authenticate?
    hide-inventory: true
    #Should the players be frozen until they authenticate?
    block-movements: true
    #Should players be prevented from executing commands?
    block-commands: true
    #Should players be prevented from building?
    block-build: true
    #Can players receive chat messages?
    receive-chat: false
    #Can players send chat messages?
    send-chat: false
  gamemode:
    force-survival: false
    force-survival-after-login: false
  #Should the players get blind until they authenticate?
  blindness-on-join: true
  show-accounts: true


####################################
#       RESTRICTION SETTINGS       #
####################################

restrictions:
  #Setting a value to 0, the function will be disabled.
  maxReg-per-ip: 1
  maxLog-per-ip: 1
  maxJoin-per-ip: 0
  #Example: instead of 'godfatherguy', somebody could login as 'GodFatherGuy'. Should this function be blocked?
  block-fake-usernames: true

Similar projects

Plugin →