Sueta

ProServerSecurity

1.0.0-BETA-4

Stop account hacks and bot attacks. Keep your server safe!

·Plugin
Need support?

The fastest way to get help is by joining my discord support server. It’s the easiest way to contact me and I am able to be active on discord: https://discord.gg/Z7nJ9C

You can also submit suggestions, report bugs or help with the development of this plugin!


About

Tired of your staff members being hacked? Or bots spamming your server? Or maybe staff members abusing your commands?
ProServerSecurity stops this! Currently it only has a 2FA, a Captcha system and a command logger, but there will be more soon!

Beta
After much hours of development I have finished the closed-alpha phase and tested everything. Also all beta updates will be tested, but there can be bugs. If you find one please report the bug here: https://github.com/Ghostriderdev/ProServerSecurity/issues

Features
- A 2 Factor Authentication(2FA) password login system
- Password stored in config(more options coming soon)
- Passwords hashed with BCrypt(Used this lib: http://www.mindrot.org/projects/jBCrypt/)
- A captcha system with a random length of characters(Alphanumeric, currently not configurable)
- A command logger which logs all commands you sepcified(can be found in /{root dir}/PSS-Logs/commands.log
- Backup code which can be used when your forget your password.

Screenshots
Command log

2 Factor Authentication


Captcha



Commands
2FA Commands
/2fa enable <password> <password> - Enable 2FA
/2fa login <password> - Log in when needed
/2fa change <oldpass> <newpass> - Change your 2FA password
/2fa forgotpass <backupcode> - Disable your password when your forgot it. You can use this if you are not logged in.
/2fa disable - Disable your password when logged in

Admin Commands
/pssadmin changepassword <player> <newpass> <confirmpass> - This will send a request to the player to change the player's password.
/pssadmin confirmchange <player> <confirmcode> - Confirm the change with the code the player gave.

Permissions
proserversecurity.bypass - Bypass the captcha
proserversecurity.2fa - Gives access to all 2fa commands
proserversecurity.admin - Gives access to the admin commands

Default config

Settings:
  BlockMovement: true
  BlockChat: true
  KickOnWrongPass: true
  CaptchaEnabled: true
  KickOnWrongCaptcha: true
  ConfigVersion: 1
  LogCommands: true
Messages:
  LoginNeeded: '&cYou need to fill in your password to continue. Please use /2fa login
    <password> to continue.'
  WrongPassMessage: '&4&lYou entered the wrong 2FA code!'
  CaptchaNeeded: '&cPlease enter the following characters to continue: &f%captcha%'
  WrongCaptcha: '&c&lWrong captcha. (CaSe-SeNsItIvE)'
CommandsToLog:
- /op
- /deop
- /ban
- /unban
- /mute
- /give
- /i

FAQ
Q: I have captcha enabled and I have a 2FA password, what will be asked?
A: You will only be asked to do /2fa login <pass> so there will be no issues.

Q: Can I donate?
A: Yes you can: https://www.paypal.me/ghostriderdev

Q: I have a suggestion
A: Feel free to PM me or tell it in the discussion

Q: Why are there only 3 features?
A: I've put a lot of work in this plugin and wanted to release it to get some feedback. More features will be added soon.

License
This resource is licensed under Creative Commons BY-SA 4.0

Similar projects

Plugin →