StaffProtect
Description
This plugin has been requested by k3ighlar3n33. You can set a password with this plugin and then require staff or users with the permission to type in that password. They have to type in the password when they log in and if they fail, they will automaticly get kicked. When a user hasn't logged in they can't move, place/break blocks,chat or use commands, when they login they are free to move, place/break blocks, chat and use commands.
Features
- Set a password on login
- Block dropping items, chatting, placing/destroying of blocks, moving and using commands
- Maximum number of attempts
- Permissions
- Automaticly kick after the maximum amount of attempts
Commands
- /sp - For a help menu
- /sp setpassword [password] - To change the password ingame
- /login [password] - To login
Permissions
- StaffProtect.use - Allows to use /login command and forces it on logon.
- StaffProtect.admin - Allows to use /sp setpassword to change the password ingame.
Configuration
- password - The password that is used to log in.
- maxAttempts - The maximum amount of attempts, this must be a number.
Suggestions? Bugs?
If you have suggestions or found a bug, please report it in the comments below!
wen I login with no password for the furs time I cat set a password ??
Excelent plugin, works fine spigot 1.7.5.
@KBG_Servers
I do not have much time right now, but I will keep this in my mind. When I find some time I'll take a look at this.
And sorry for the late response.
You are correct on the second part. Say I'm at home and I login, I'd like to be able to add my IP into the config file and it not keep asking me to login. But if I login from a different IP, it should ask me to login. So trusted IP list.
@KBG_Servers
Thanks for that suggestion, but I think that I don't fully understand what you mean. Do you mean that if a user is once logged in, they stay logged in untill the server restarts or that there is a file with trusted IP addresses?
@thesealsglobe
Only for the ones that have the permission node.
DOES THE PLUGIN ONLY PUT THE LOGIN FOR THE GROUPS WITH PERMISSIONS OR FOR EVERYONE
Auto approve IP list would be helpful. That way approved IP's won't have to keep entering in the password.
@FithSelok
Just negate the permission from the player rank.
-StaffProtect.use (With the minus in front. Also, I only beleive this way works with GroupManager)
Thank you so much! I have been looking for a plugin to do this for ages!!
Could you make it so there is a different password per member of staff? I would also like to be able to set the password per player in game or from the config file. Thanks
@FithSelok
You could remove the StaffProtect.use permission. Or is that not what you meant?
I love this plugin.
would it be possible to include auto bypasses for approved permissioned players?
Thanks, Works great!
Really helpful plugin. thank you
Great, plugin its really good for Staff Members tnx my server is now great