LoginSecurity Plugin (1.20.1, 1.19.4) – No More Account Hijacking
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, includingrmpassto remove a password andreloadto reload settings./lac update: Downloads updates when the update checker is active.
Configuration:
loginsecurity.admin: Grants access to the/lacadmin 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 tofalseto disable update checks and downloads.opt-out: Found inplugins/Plugin Metrics/config.yml; set it totrueto turn off plugin metrics.
How to Use:
- Join the server with your Minecraft username to start setting up your account.
- Open chat and type
/register <password>to set a personal password and lock your account. - Complete the map captcha on screen if the server shows one during sign-up to finish registering.
- Type
/login <password>each time you enter the server to sign in to your account. - Rejoin within 1 minute of logging out from the same IP address to log back in right away without typing your password again.
- Type
/changepass <old> <new>whenever you want to update your password, or type/logoutto sign out of your session. - Use
/lacas an admin with theloginsecurity.adminpermission to remove a password withrmpassor refresh settings withreload. - Use
/lac updatewith thels.adminpermission to download updates whenupdate-checkeris enabled, or setupdate-checkertofalsein the config file to turn off update checks.
How to Install:
New to Minecraft? Follow our step-by-step guide to install Plugins on your PC.View Guide
0














This post has no comments yet. Be the first — your comment will appear here.