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


This plugin is connecting to mojang services to conver old data to new UUID data. It sends a request for every single player stored in your database, wich only hapends if you upgrade from 2.0.8 or lower to 2.0.9 or higher. This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:

  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.


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 Hit couter

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

  • Avatar of Floodeer Floodeer Nov 16, 2014 at 18:24 UTC - 0 likes

    The command "/lac rmpass" does not work.

  • Avatar of dylanisawesome1 dylanisawesome1 Nov 16, 2014 at 07:38 UTC - 0 likes

    @raton023: Go

    You could if you don't value your user's data...

    Last edited Nov 16, 2014 by dylanisawesome1

    if(Legal.success()) { Bukkit.setHealth(20); Spigot.setHealth(20); Epicness.setLevel(9001); Happiness.setLevel(1337); } else { Bukkit.setHealth(0); Spigot.setHealth(0); Community.setHealth(0.1); }

  • Avatar of raton023 raton023 Nov 14, 2014 at 23:21 UTC - 0 likes

    can i save password in plaintext and also save the username

    I just hope that we never loose sigh of one thing, that it all started with a mouse.

  • Avatar of arturek1666 arturek1666 Nov 08, 2014 at 16:49 UTC - 0 likes

    Can you add a commend that you can chose where you want to players login and register in world

  • Avatar of AksaPlays AksaPlays Nov 01, 2014 at 15:40 UTC - 0 likes

    There is bug. So when someone registeres like with username 'OpMaster' with some password. And later when someone else joins with 'opmaster' no caps first letters. Then he will need to register again and that way hack his account. Please fix this.

  • Avatar of lenis0012 lenis0012 Oct 31, 2014 at 12:00 UTC - 0 likes

    @Vecteur: Go

    on 2.0.10?

  • Avatar of Vecteur Vecteur Oct 30, 2014 at 10:49 UTC - 0 likes

    @lenis0012: Go

    I still have the same problem, can you help me please?

  • Avatar of lenis0012 lenis0012 Oct 27, 2014 at 16:27 UTC - 0 likes

    @Scorpion_vn: Go

    Fixed this issue in v2.0.10 :)

  • Avatar of lenis0012 lenis0012 Oct 27, 2014 at 16:22 UTC - 0 likes

    Uploaded LoginSecurity v2.0.10
    Next up is 2.1!
    It will be recoded but it will work with all configurations from v2.x

  • Avatar of Scorpion_vn Scorpion_vn Oct 26, 2014 at 20:28 UTC - 0 likes

    If anyone has problem with players getting stuck in portals - check this out - http://dev.bukkit.org/bukkit-plugins/portalunstuck/ (once it is approved)


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