LoginSecurity Plugin protects player accounts on your server with a lightweight password system. It lets players lock their accounts with a personal password whenever they join for a second layer of safety. All passwords stay inside the config file with BCrypt encryption, so only the server owner can view or change them. This plugin also stops other players from kicking you offline by logging in with your username. It comes with 5 simple commands, a 1-minute session login, a map captcha during sign-up, and account data conversion from AuthMe and xAuth.

Planned

  • Add translation interface for easier language selection
  • Suggestions

Known Bugs

  • Players can mount/dismount and ride on vehicles while not logged in

Features:

  • Password Protection: Lets server owners choose in the config file whether account registration is optional or required.
  • BCrypt Encryption: Stores all player passwords safely inside the config file so only the server owner can view or edit them.
  • Session Login: Saves a player’s IP address for 1 minute after logout so they can rejoin right away without typing their password again.
  • Map Captcha: Shows a simple map captcha during sign-up to check new players.
  • Anti-Spoof Protection: Stops other players from kicking you off the server by joining with your username.
  • Includes 5 commands to manage player passwords along with admin controls for removing passwords and reloading settings.
  • Filters player usernames by checking allowed characters and name length.
  • Lets server owners set a custom login timeout limit.
  • Converts existing player account data from AuthMe and xAuth.
  • Supports premium accounts through AutoIn.
  • Checks BukkitDev for updates every 3 hours by default with a changelog overview, and lets you turn this off in the config file.
  • Offers detailed config settings and automatically downloads fresh translations when you change the language setting.
  • Provides full documentation through a dedicated wiki.
  • Sends basic server stats through Hidendra’s plugin metrics system to mcstats.org, with an option to opt out in the metrics config file.

Commands:

  • /register <password>: Sets your password and locks your account.
  • /login <password>: Logs in to your account with your password.
  • /changepass <old> <new>: Changes your old password to a new one.
  • /logout: Logs you out of your current session.
  • /lac: Runs admin actions, including rmpass to remove a password and reload to reload settings.
  • /lac update: Downloads updates when the update checker is active.

Configuration:

  • loginsecurity.admin: Grants access to the /lac admin command.
  • loginsecurity.update: Shows update notifications in game.
  • ls.admin: Notifies admins about new updates and lets them download updates with /lac update.
  • update-checker: Checks for updates every 3 hours by default; set it to false to disable update checks and downloads.
  • opt-out: Found in plugins/Plugin Metrics/config.yml; set it to true to turn off plugin metrics.

How to Use:

  1. Join the server with your Minecraft username to start setting up your account.
  2. Open chat and type /register <password> to set a personal password and lock your account.
  3. Complete the map captcha on screen if the server shows one during sign-up to finish registering.
  4. Type /login <password> each time you enter the server to sign in to your account.
  5. Rejoin within 1 minute of logging out from the same IP address to log back in right away without typing your password again.
  6. Type /changepass <old> <new> whenever you want to update your password, or type /logout to sign out of your session.
  7. Use /lac as an admin with the loginsecurity.admin permission to remove a password with rmpass or refresh settings with reload.
  8. Use /lac update with the ls.admin permission to download updates when update-checker is enabled, or set update-checker to false in the config file to turn off update checks.

LoginSecurity Plugin Download Links

For All Versions from Minecraft Bukkit 1.12 to Minecraft Bukkit 1.15

Download from Server 1

For All Versions from Minecraft Bukkit 1.16 to Minecraft Bukkit 1.20.1

Download from Server 1 – Download from Server 2

Click to rate this post!
[Total: 1 Average: 5]