PasswordProtect - Protect your server with a password
Version v1.1.3
Old forum link: Click!
Description
This plugin is a rebirth of PasswordProtect. All credits for the original plugin are going to @DisabledHamster. I'm glad you allowed me to fork it! Additionally I migrated some features of mPasswordProtector into PasswordProtect (auto kick and ban) If you enter the server, you are forced to enter a password. If you enter it wrong too often, you are going to be kicked (and banned). Without entering the password you are able to walk in a configured jail area. Comes with a config, permissions & commands. It's possible to execute some custom commands, which can be configured.
Features
- Cancel different interaction events like
- Pickup items
- Drop items
- Break blocks
- Hit mobs or players
- Chat
- Triggering of mobs
- Interaction with items
- Using a portal
- Drops on death
- Flying
- Auto kick and auto ban (even the IP) after configurable amount of tries
- Blindness and slowness for the player if wanted
- Jail area - the player is teleported back if he leaves the area
- Per world jail area!
- Safe encryption of password, choose between SHA, SHA-256, SHA-512, MD5 & more
- Custom commands are allowed to execute (like /rules)
- Bypass command via permission
- Broadcast a message on kick/ban
- Teleport the player back to the previous location (location on logout)
- Localization to edit the messages
- Permissions & Commands for an easy administration
- This plugin sends usage statistics! If you wish to disable the usage stats, look at /plugins/PluginMetrics/config.yml!
Config
# For help please refer to http://bit.ly/ppbukkit or http://bit.ly/ppbukkitdev # Which encryption should be used? Example: MD5 or SHA-256 encryption: SHA-256 # Are ops forced, to enter the password, too? OpsRequirePassword: true # Should the password be stored in clean (plain) text? cleanPassword: false password: '' passwordClean: '' # What events should be prevented? prevent: Movement: true Interaction: true InteractionMobs: true ItemPickup: true ItemDrops: true Portal: true BlockPlace: true BlockBreak: true # Players won't be triggered by mobs anymore Triggering: true Attacks: true Damage: true Chat: true # After how many attempts should a player be kicked or banned wrongAttempts: kick: 3 ban: 5 banIP: true # Make the players slow and add darkness effects? darkness: true slowness: true # These commands are available, even without logging in allowedCommands: - help - rules - motd # Teleport back to the location they left? teleportBack: true # Show the message that a password is required loginMessage: true
Commands & Permissions
Only the bukkit permissions are supported! I highly recommend that you use a plugin for permissions like bPermissions or PermissionsEX (PEX)!!
If the config value permission is set to false, all people can use the commands!
If no permission system is found, all commands are for OPs only! Of course the console can use the commands, too!
Node: passwordprotect.nopassword
Description: Bypass the login password
/password
Node: passwordprotect.getpassword
Description: Allows you to get the password
/setpassword <password>
Node: passwordprotect.setpassword
Description: Allows you to set the password
/setjaillocation <radius>
Aliases: /setjail, /setjailarea, /setpasswordjail
Node: passwordprotect.setjailarea
Description: Allows you to set the jail area
/login <password>
Node: No permission node
Description: Used to login.
Of course you can use passwordprotect.*
But passwordprotect.nopassword is excluded!
Downloads/Source Code/Dev Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
(Latest dev builds/bleeding edge builds) - - Dev builds from Jenkins
(Source code hosted on Github) - - Source Code
Future Plans (a.k.a. ToDo):
- Nothing - I'm open for suggestions!
Make sure to take a look at the always up to date ToDo!
Known Bugs
If the server is /reload -ed, all active players can play without the password."Fixed" in 1.1
Changelog
Version 1.1.3
- Small cleanup
- Added loginMessage feature (thanks to kolabor)
Version 1.1.2
- Updated to support new chat event (bukkit 1.3 change)
Credits
@DisabledHamster for his original plugin! :)
@muHum for mPasswordProtector
Banner
Feel free to use this banner!! :)


Donations
If you really like my plugin, you can if you want make a donation via PayPal!
There is a button on top of this page :)
License
This plugin is released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) license!

Facts
- Date created
- May 11, 2012
- Categories
- Last update
- Aug 20, 2012
- Development stage
- Release
- Language
- enUS
- License
- Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)
- Curse link
- PasswordProtect
- Downloads
- 15,131
- Recent files
- Reply
- #34
lastrachris Feb 10, 2013 at 05:07 UTC - 0 likesHello.
I'd like to add this to my server, but I have a couple questions. I wish to allow players to set their own password. If I add the node to my permissions to allow them to do so, and a hacker got on, would they be able to change the hacked player's password? Also I would like players to be forced to set a password upon first login. Is that possible?
- Reply
- #32
xGh0sTkiLLeRx Jan 04, 2013 at 19:46 UTC - 0 likes@ExplodeCreep: Go
http://mag.racked.eu
Need a dev? PM me!
Want to have a dropbox acc with 500MB more space? Contact me!
Server | Twitter | YouTube | Github
Donations are very appreciated!

- Reply
- #31
ExplodeCreep Jan 04, 2013 at 06:32 UTC - 0 likeshow to you make this
banner?
- Reply
- #30
Javiervs Dec 28, 2012 at 20:14 UTC - 0 likesI have suggestion:
Would be nice to protect the inventory of the person you are trying to login as. If not, you could try to connect to his account and see what he/she has.
Thanks for your interest. Regards.
- Reply
- #29
xGh0sTkiLLeRx Dec 15, 2012 at 01:24 UTC - 0 likes@Skies16: Go
Why?
The latest build should work fine.
See my detailed answer below when I'm picking up this project again!
- Reply
- #28
Skies16 Dec 11, 2012 at 00:57 UTC - 0 likesCan you please update this!
BFAK:Skies,90701487,10c2320ef70fd8b97fb564dc709d1914d53b6f1395b5c1e9b07ee4a6cf070931
- Reply
- #27
xGh0sTkiLLeRx Nov 18, 2012 at 21:41 UTC - 0 likes@MarcelDaShell89: Go
I can add it to the list of suggestions, however as stated 2 posts below this project isn't one of my high prioritized projects.
My finals are in January 2013, I need to study in the holidays, maybe I can look into it then.
Or even better: Modding API ;)
- Reply
- #26
MarcelDaShell89 Nov 15, 2012 at 22:21 UTC - 0 likeshay i have an idea:
What if you make a safelogin or safeip option/command for all users that lets you automatically login if your ip is recognized.
- Reply
- #24
xGh0sTkiLLeRx Oct 15, 2012 at 07:49 UTC - 0 likes@LHammonds: Go
Yeah, I'm having some other ideas, too ;)
I'm not sure when I've got time to add these features, but I'm thinking about:
Since I'm having school again, exams are there too, and my finals are coming, too...
So I can't provide a release date, I hope you all can understand this. I won't forget this plugin however :)
- Reply
- #23
LHammonds Oct 14, 2012 at 22:53 UTC - 0 likesI could not make CrazyLogin and this plugin work at the same time. I simply removed CrazyLogin since this works for what I need at the moment. I would have been nice to have more granular control but this is enough for the moment.
My last reply was one of my more generic posts letting everyone know about plugins that still work as designed even on newer versions of CraftBukkit (a lot of plugins are littered with like posts I've made. hehehe)
Thanks,
LHammonds