StaffSecure
Staff Secure - Staff Security System
StaffSecure By Harry5573
Now UUID compatable!
What it does?
It gives you the option to make your staff choose a password they must enter when they login. But does not force all players to have one, only the players with the permission. This can prevent staff accounts from being hacked. Say a staff members account got hacked, if someone logged onto your server with this account, they could not do anything as they do not have the users password.
If you want a player to have to set a password when they login give them the following permission:
- staffsecure.staff
If you want a player to have access to staffsecure admins commands give them the following permission:
- staffsecure.admin
Installation:
1) Download the securestaff.jar from bukkit
2) Drag it into your servers plugins folder
3) Reload/Restart your server
4) Give the players you want to have to login the permission
5) You are done! :)
Commands:
/password <password> - staffsecure.staff
/login <password> - staffsecure.staff
/staffsecure <reload> - staffsecure.admin
/resetpassword <user> CONSOLE ONLY!
PLEASE NOTE: If a user loses there password they must ask a admin to reset it in the config.yml and then reload the plugin.
Configuration <config.yml>:
- Configure your messages.
messages:
prefix: '&f[&cStaffSecure&f]'
- Should we send the player a StaffSecure motd on login?
motdenable: false
- When should a player with the permission have to login?
forcelogin:
- Whenever a player relog's in with a different IP than they had logged in with before.
- Will not work with reverse proxys where everyones IP is the same.
relogipchange: true
- Whenever a player relog's in even if their ip has not changed.
relog: false
Please NOTE: If your player does not have a password set they must set one!
SOURCE CODE: https://github.com/Harry5573OP/StaffSecure
UPCOMING:
Used on ArkhamNetwork!
Sometimes there is a bug, after I logged in, I need to login again? twice in a row..
Consider it done in the next version!
First of, I LOVE this plugin, it was exactly what we were looking for. We wanted something that we could do per group and not everyone. I also really like the suggestions that you've already gotten.
I was wondering if you could put a timer on relog. So we could force a session type asking for password again. It would be nice to have it so we could set it for like 12 or 24 hours from the last time it logged the password.
CO for the plugin CoreProtect
/co purge <password>?
Anything you guys want added? Just post it here! Coding a new version this weekend!
jhs232 wonderful Idea :)
You sir are a genius, I was thinking about a plugin like this and I wanted to request it. Very happy to see that it exists, THANKS :D!
@harry5573
You accepted my suggestion? Never seen a dev respond that quickly, and just saying "Consider it done in next version"... O_o Well thank you very much, I do think that that will greatly increase the possibilities with this plugin! :)
Consider it done in next version.
Could you add a command that could be used to turn it on/off for yourself? So for example I allow my moderators to not have passwords, as they wouldn't be able to wreck anything. Then they themselves can choose to have a password or not. This would also be useful if some of my players want passwords.
I suggest you change staffsecure.staff into staffsecure.staff.on (which would by default require the password) and staffsecure.staff.off (which by default wouldn't require the user to set a password). And maybe add the following permission: staffsecure.change
Also maybe add encryption to the passwords file storage, so that not even people with console access can get other people's passwords?
Uploaded v7.0! Added op checks!
v6.0 UPLOADED!
Theres a bug atm, do /login <pass> a few times. Its a hash update bug
Doesnt Work i am not happy about that my server epic-craft.no-ip.net isnt letting it work is it because it has other staff plugins hunger games and spleef or is it that my server is 1.5.2
Post here.
@csminecraft
Either is ok. I don't think I will see tickets but feel free to contact via email comment or my teamspeak and i'll help you anyway I can.
If you need anything else don't hesitate to ask.
@flawlessbraz1
Do you want bugs posted here or tickets made?
@csminecraft
That could cause it as well. And you're welcome.
If you need anything else don't hesitate to ask.
Nevermind. It was not an issue with your plugin per se. I didn't realize my server was still using java 6. Switched it to java 7 and your plugin is running correctly.
Thanks for your help!