LoginSecurity Icon



LoginSecurity is a lightweight password authorization plugin. You can optionally set a password each time you enter the server, adding a double layer of security to your account. The password is stored inside the configuration file, nobody else except the server owner can access or modify it.

How does it work?

Install the pluign to your /plugins/ directory, then start your server.
Type /register <password>, your account is now locked with a password.
For each time you login, make sure to use /login <password>.


  • Register your account optional or required (change in config)
  • 5 useful commands to manage your password
  • Saving supported in SQLite and MySQL
  • Encryption available in: MD5, SHA, SHA-1, SHA-256, SHA-512 and PHPBB3
  • Custom encoder: UTF-8 and UTF-16
  • Customizeable login session
  • Customizeable login timeout
  • Custom min and max length for passwords
  • Messager API for client mods
  • User friendly experiance
  • Converter for xAuth (detects if xAuth is installed)
  • Easy to use
  • Blocks anything from happening before logged in (commands, movement ,etc.)
  • Supports blindness effect for login
  • Prevents being kicked by orther players loging in with your name

Session login allows the user to log in right after they logged out and not have to type in their password again. (1 minute time limit of being logged out, stores IP during that time to keep everything safe)


/lac - Admin command, rmpass and reload

/register <password> - Set your password

/rmpass - Removes your password

/login <password> - Login with your password

/changepass <old> <new> - change your password

/logout - Logout


  • ls.admin - allows admin command


This tutorial is outdated, alot of things have changed after v2.0
Orther tutorials: German (by MineCraftler4Live)

To do

  • MD5 support
  • Add an IP lock
  • Add a login session
  • Fix /changepass
  • Add a language.yml for language support
  • add login timeout
  • add ip checker
  • Suggestions?

Known Bugs

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


If you want to support me working on this project, please donate.
It helps me alot to keep my projects up.
Donate at the top right corner

LoginSecurity build server

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of streetkilln streetkilln Apr 16, 2014 at 02:34 UTC - 0 likes

    can u set login for certain groups?

  • Avatar of wildertnis wildertnis Apr 15, 2014 at 19:46 UTC - 0 likes

    Players that use /register [password] don't have to login when they leave my server and join again. It Works with me, but not with other players.

    any help?

  • Avatar of lenis0012 lenis0012 Apr 15, 2014 at 15:17 UTC - 0 likes

    UUID hotfix uploaded to jenkins. Could some people help me testing?

    Make sure to create backups and read the log when starting

    lenis0012.com (Comming soon)

  • Avatar of Quaziz Quaziz Apr 07, 2014 at 20:24 UTC - 0 likes

    as i have registration though my website i dont like the message "Please register using /register <password>". It should not be possible to do the registration in game. My suggestion are therefore the possibility to change or remove this message.

    My second suggestion is the possibility to use an other table than users. Two easy config setting.

    ty for a usefull plugin!

  • Avatar of HaoSs HaoSs Apr 04, 2014 at 00:33 UTC - 0 likes

    my i suggest adding java mail ? making it able to register via mail. and recover password via mail

  • Avatar of justmemaaarten justmemaaarten Mar 31, 2014 at 10:06 UTC - 0 likes

    After i installed Login security, My login and logout message is missing. How do i fix this??

  • Avatar of Pogznet Pogznet Mar 31, 2014 at 07:38 UTC - 1 like

    Hi so far ive setup mysql and md5 to work on this. How do i disable the in game /register so all registrations happens on my site via the code ive written to write to mysql?

  • Avatar of OnyxianSoul OnyxianSoul Mar 23, 2014 at 02:12 UTC - 0 likes

    Hey, could you make a permission node that makes that a player is inmune to someone else changing his password? I would like to give the staff the capacity to change newcomers their password but i dont wanna make them able to change eachothers password. Thanks already Onyx

  • Avatar of publicg publicg Mar 22, 2014 at 15:09 UTC - 0 likes


    The world spawn is fine. I marked it as a safezone and turned it and the area around it into a marketplace.

    The problem only occurs when I use fake locations. Players will spawn at the market. After supplying the password some players will be teleported to below the ground presumably the point they last logged out of. There is one instance that the player was stuck between leaves and started choking.

    I think the plugin has some problem restoring the player to the place it last logged out of.

    Last edited Mar 22, 2014 by publicg
  • Avatar of lenis0012 lenis0012 Mar 21, 2014 at 00:12 UTC - 1 like

    @Lord_Kaydan: Go

    ill look at it


Date created
Jul 07, 2012
Last update
Mar 13, 2014
Development stage
  • enUS
GNU General Public License version 3 (GPLv3)
Curse link
Recent files