Console locker - Locks console with specific password

This is a discussion topic for the Ore project, Console locker. View the full project on Ore for downloads and more information.


Console locker

На русском/Russian page

Features:

  1. Locks console with a password
  2. Blocks every command(except stop) before unlocking
  3. Admin can change password with a simple command
  4. Password stored as SHA-256 hash
  5. Locales support
  6. Allowed commands in config

Commands:

  1. console-lock (clock, cl) - lock console
  2. console-lock setpw (pw,set) - set or change password
  3. console-lock <password> - unlock console

Instructions

  • You can change password using java property consoleLockPassword.
java -DconsoleLockPassword=<hash> -jar sponge.jar

Where <hash> - password SHA-256 hash.

  • Write console-lock <password> to unlock console.
  • You can change password after unlocking, console-lock setpw <password>.
  • To lock console, write console-lock.
  • If password wasn’t set by java property, console will not be locked, but you can set password using console-lock setpw <password> command.

Changelog:
1.1

  1. Startup lock fix

1.0

  1. Has locale support
  2. Allowed commands in config
  3. Password taken from java property or config

0.1

  1. Release
2 Likes

A new version has been released for Console locker, it is available for download here.


Locks console with specific password

A new version has been released for Console locker, it is available for download here.


Startup lock fix