SLogin 1.5

Simple plugin for authorization

  1. _Serafin
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/Serafinowy/SLogin
    Languages Supported:
    en, pl
    [​IMG]
    Simple minecraft plugin for authentication.
    All data is saved in SQLite or MySQL.
    Passwords are encrypted with BCrypt.

    If you want to update the plugin from version below 1.5:
    Version 1.5 creates new players' database!


    If you have translated the language file into your language,
    you can write to me and I will add it to the plugin.

    [​IMG]

    Player Commands:
    • /login <pass>
    • /register <pass>
    • /changepassword <old pass> <new pass>
    • /email

    Admin Commands:
    • /seralogin playerinfo <nick>
    • /seralogin forcelogin <nick>
    • /seralogin register <nick> <pass>
    • /seralogin unregister <nick>
    • /seralogin changepassword <nick> <new pass>

    [​IMG]
    slogin.register - register command
    slogin.login - login command
    slogin.changepassword - changepassword command
    slogin.email - email command
    slogin.admin - administrator commands
    slogin.* - all commans

    [​IMG]

    Config file:
    Code (YAML):

    #################################
    #             SLogin            #
    #         Author _Serafin       #
    #################################

    # The language settings file contains in-game messages
    # Languages available: EN (English), PL (Polish)
    Language
    : EN

    # The place where the data will be saved
    # Choose between FLAT and MYSQL
    DataType
    : FLAT

    # Fill only if you chose MYSQL data type
    MySQL
    :
      Host
    : "localhost"
      Port
    : 3306
      User
    : "root"
      Pass
    : ""
      DataBase
    : "slogin"
      Properties
    : "useSSL=false&autoReconnect=true"

    # One IP address cannot have more than this number of accounts
    MaxAccountsPerIP
    : 2

    Messages
    :
     # Shows chat messages on join
      ChatMessages
    : true
      # Shows title messages on join
      # Enable only if your server version is 1.11 or newer
      TitleMessages
    : true

    # Allowed commands when you are not logged in
    AllowedCommands
    :
     - l
      - login
      - reg
      - register

    # Set minimum and maximum password length
    Password
    :
      min-length
    : 5
      max-length
    : 20

    # Informs every player on login that its email is not set
    EmailNotification
    : true

    # Time to log in (in seconds)
    # 0 -> disabled
    LoginTimeout
    : 30

    # Captcha - checking starts when the player enters the server
    Captcha
    :
     # Verify new player who is not registered
      OnRegister
    : false
      # Verify player who is registered
      OnLogin
    : false

    # Kick the player after entering the wrong password
    KickOnWrongPassword
    : true
     

    Lang file:
    Code (YAML):

    #################################
    #             SLogin            #
    #         Author _Serafin       #
    #################################


    # Messages for player
    userMessages
    :
     # General messages
      onlyForPlayers
    : "&cThis command is only for players!"
      wrongPassword
    : "&cYou have entered wrong password!"
      alreadyLogged
    : "&cYou are already logged in!"
      mustLogin
    : "&cYou must log in to do that!"
      maxAccounts
    : "&cYou registered the maximum amount of accounts on this IP!"

      # Log in
      loginInfo
    : "&7Log in: &e/login <password>"
      loginCorrectUsage
    : "&cCorrect usage: /login <password>"
      loginSuccess
    : "&aYou have logged in successfully!"

      loginTitle
    : "&a&lWelcome"
      loginSubTitle
    : "&7Type: /login <password>"

      loginSuccessTitle
    : "&a&lVerification"
      loginSuccessSubTitle
    : "&7You have logged in successfully!"

      # Register
      notAllowedPasswordLength
    : "&cThe password must be 5-20 characters long!"
      differentPasswords
    : "&cYou have entered wrong password! Passwords must be identical!"
      alreadyRegistered
    : "&cYou are already registered! Use command: /login <password>"
      notRegistered
    : "&cYou are not registered! Use command: /register <password> <password>"

      registerInfo
    : "&7Register: &e/register <password> <password>"
      registerCorrectUsage
    : "&cCorrect usage: /register <password> <password>"
      registerSuccess
    : "&aYou have registered successfully!"

      registerTitle
    : "&a&lWelcome"
      registerSubTitle
    : "&7Type: /reg <password> <password>"

      registerSuccessTitle
    : "&a&lVerification"
      registerSuccessSubTitle
    : "&7You have registered successfully!"

      # Change password
      changePassCorrectUsage
    : "&cCorrect usage: /cp <old pass> <new pass>"
      changePassSuccess
    : "&aYou have changed password successfully! Do not forget it!"

      # Email
      emailInfo
    : "&7Your current email: &e{EMAIL}\n&7 You can change it by typing: /email set <email>"
      emailCorrectUsage
    : "&cCorrect usage: /email or /email <set> <email>"
      emailChangeSuccess
    : "&7You have set up your email successfully!"

      emailNotSet
    : "&cYou did not set your email! Do it now by typing: /email set <email>"
      emailBadFormat
    : "&cYou have typed bad email format! Correct format: [email protected]!"

    # Messages for administrator
    adminMessages
    :
     # General messages
      nullValue
    : "null"
      userNotExists
    : "&cThis player do not exist!"
      userIsNotOnline
    : "&cThis player is not online!"
      commandList
    :
       title
    : "&7___________/ &eCOMMAND LIST &7\___________"
       # Placeholders:
       # {COMMAND} {DESCRIPTION}
       chatFormat
    : "&e{COMMAND} &7- {DESCRIPTION}"
       hoverFormat
    : "&e{COMMAND}\n&7{DESCRIPTION}"

      # Info about player
      # Placeholders:
      # {EMAIL} {REGISTER_IP} {REGISTER_DATE} {LASTLOGIN_IP} {LASTLOGIN_DATE}
      playerInfoCorrectUsage
    : "&cCorrect usage: /sl playerinfo <nick>"
      playerInfoMessage
    : |
      &7___________/ &e{PLAYER} INFO &7\___________
       &r
       &eEmail: &7{EMAIL}
       &eRegister IP: &7{REGISTER_IP}
       &eRegister date: &7{REGISTER_DATE}
       &eLast login IP: &7{LASTLOGIN_IP}
       &eLast login date: &7{LASTLOGIN_DATE}

      # Change password
      changePassAdminCorrectUsage
    : "&cCorrect usage: /sl changepassword <nick> <pass>"
      changePassAdminSuccess
    : "&aYou have changed player's password successfully!"

      # Force login
      forceLoginCorrectUsage
    : "&cCorrect usage: /sl forcelogin <nick>"
      forceLoginSuccess
    : "&aYou have logged in a player successfully!"
      forceLoginDeny
    : "&cYou cannot log in this player (player is already logged in or player has not an account)!"

      # Register
      registerAdminCorrectUsage
    : "&cCorrect usage: /sl register <nick> <pass>"
      registerAdminSuccess
    : "&aYou have registered a player successfully!"
      registerAdminDeny
    : "&cThis player is already registered!"

      # Unregister
      unRegisterCorrectUsage
    : "&cCorrect usage: /sl unregister <nick>"
      unRegisterSuccess
    : "&aYou have unregistered a player successfully!"

    # Log in timeout message
    loginTimeoutKick
    : |
     &6SLogin TIMEOUT

      &cLogin time has expired

      &7Please join the server to try login again.

    # Captcha messages
    captchaMessages
    :
     # GUI name
      guiName
    : "[Captcha] Click on an apple!"
      # Kick message
      kickMessage
    : |
      &6SLogin CAPTCHA

       &cYou have been recognized as a bot!

       &7If this is an error,
       &7please join the server again.

    # Player enters wrong password
    wrongPassword
    :
     # Kick message
      kickMessage
    : |
      &6SLogin

       &cYou have entered wrong password!

       &7Please join the server to try again.

     

    Contact
    Discord: Serafin#3535

Recent Updates

  1. Update v1.5
  2. Update v1.4
  3. Update v1.3

Recent Reviews

  1. VanuaShainla
    VanuaShainla
    4/5,
    Version: 1.5
    A very useful plugin in contrast to the same Log in, security login and open login that broke my npc. It works perfectly the only and very small minus is no translation into Russian, but the author can be understood to translate plugins is quite difficult and here's another 1 minus you can't replace [Slogin] in the chat I had to look for it in the plugin code and change it!
  2. Heroesninja1
    Heroesninja1
    5/5,
    Version: 1.4
    god update ...................................................................................
  3. sterndecraft
    sterndecraft
    5/5,
    Version: 1.4
    Hey,

    very cool Plugin! I created a Pull Request on Github, where I changed some issues with convention.

    Nico
    1. _Serafin
      Author's Response
      Thank you very much for your help. I am a beginner and you help me a lot.
  4. DanielOsorio
    DanielOsorio
    5/5,
    Version: 1.2
    Excelente plugin, tan sencillo y no requiere configuracion!!
    Espero no lo abandones, sigue asi.
    1. _Serafin
      Author's Response
      Thank you for your opinion.