Do you have a prison server? Ever been annoyed when a guard abuses and gives his items out? Or when a player kills a guard and he drops all his OP guard armor? Then this plugin is for you. This is an advanced, yet lightweight plugin that will make prison server guarding a lot easier. It can be used for prison servers, to play the prison guard role, or just in a RPG server. This is a guard plugin, and a prison guard plugin! Long awaited. I made this guard plugin for my server, as I needed a simple way to keep track of guards. Hope this does the same for you.
This plugin uses an auto updater. If you would like to disable this, please open the config and turn the "auto-update" to false.
Configurable kits for guards
Give guards potion effects when they go on duty
Configurable messages
Configurable block able commands when a guard is on duty
A on duty guard isn't able to drop his items to prevent abuse
Economy support
Saves guard data on reloads/restarts
Auto-updater
/duty
Toggles going on and off duty
/guards
Lists all the guards currently on duty
/gupdate
Updates the plugin to the latest version (You must have this enabled in the config.yml)
guardoverseer.duty
Permission for the /duty command
guardoverseer.guards
Permission for the /guards command
guardoverseer.update
Updates the plugin to the latest version (You must have this enabled in the config.yml)
You must also give your players the kit permission defined in the config.yml. If you don't do this they won't receive a kit. If they have more than one kit permission the kit will be randomly chosen.
Add a way to format chat for when a player is on duty
Add a help menu in game
GuardOverseer is open source! Pull requests are welcome!
I have another suggestion for the plugin. It would be awesome if you could add commands like /sword [player] to ask for a players sword kind of like in other plugins. Here is a plugin that does that. You should just add all the commands from this plugin into your so that it can be an all in one.
http://dev.bukkit.org/bukkit-plugins/prison-pack/
Just a suggestion.
In the next update, could you please make an option in the config file to enable or disable the ability to move items that are not part of the kit. Because if they pick up other items. they can't move them around and that could get pretty annoying.
Also, one of my guards found some way that if they had damaged armor on, they could get it in an enderchest, go off duty, and keep the guard item.
Another suggestion: Guards run out of Gapples, so what do they do? Go off duty the back on instantly and get more. This applies to everything. I've even had guards let their alt account kill them, keep the money for killing a guard, and then pay it to the guard account. Basically unlimited money. Make some config option to prevent both of these abuses please.
Guards can log off when on /duty. They can log off, and stay off for 12 hours, and if I have it set so they make 1000 an hour, when they log back on and go off duty, they get 12k regardless the fact they were never even on the server! You should code it so they go off duty when they log off
I applaud you for a job well done on this plugin. However, I have a HUGE error that should not be ignored.
1.) To start with, every time a user does /duty, the "messages.yml" file is completely erased, and replaced with the same information as "playerData.yml".
2.) When you reload the plugin, because it replaces the "messages.yml" file, the default messages are used, so basically with this version you cant customize the messages unless you never reload.
3.) Don't even ask me how this happened, but 2 guards (for the first time since I installed) were both using /duty, and one of them decided to go out of duty. His inventory was not replaced. In fact, he tried to go back to duty and back off again, and it did not fix the issue; instead it created another issue as seen in the /guards command.
-----------------------
I also agree with Alexlyn1 on that you should make a fully customization rankup plugin. You are talented and I believe it would turn out amazing.
Also, instead of being able to list commands that a Guard cannot do while in duty, can we list permissions a guard loses when in duty? Because although he cannot /sell his steak, he can still find a sign and click it to sell the steak. *MAJOR ISSUE*
I have another suggestion for the plugin. It would be awesome if you could add commands like /sword [player] to ask for a players sword kind of like in other plugins. Here is a plugin that does that. You should just add all the commands from this plugin into your so that it can be an all in one. http://dev.bukkit.org/bukkit-plugins/prison-pack/ Just a suggestion.
@xxtreepuncherxx
Next update!
Is there a way to have the guards get a prefix while on duty?
@mydeblob
Thank you!
I'll add that in the next update.
@FlipperFlies
Yes that is what I mean and would like to see in the next update.
@masef21
and make it so u can drop there items but u cant drop yours
In the next update, could you please make an option in the config file to enable or disable the ability to move items that are not part of the kit. Because if they pick up other items. they can't move them around and that could get pretty annoying.
@tdbulldog
I'll include fixes for these in the next update. Thanks for letting me know.
Also, one of my guards found some way that if they had damaged armor on, they could get it in an enderchest, go off duty, and keep the guard item.
Another suggestion: Guards run out of Gapples, so what do they do? Go off duty the back on instantly and get more. This applies to everything. I've even had guards let their alt account kill them, keep the money for killing a guard, and then pay it to the guard account. Basically unlimited money. Make some config option to prevent both of these abuses please.
MAJOR ERROR:
Guards can log off when on /duty. They can log off, and stay off for 12 hours, and if I have it set so they make 1000 an hour, when they log back on and go off duty, they get 12k regardless the fact they were never even on the server! You should code it so they go off duty when they log off
I'll try out PrisonRankup, but you could probably do better. You otta give it a go. Any word when an update will be out to fix those glitches?
@tdbulldog
http://dev.bukkit.org/bukkit-plugins/rank-up/ http://dev.bukkit.org/bukkit-plugins/prisonrankup/
Do these not suffice for a rankup plugin?
Nice! You are awesome!
If you want a spare project to work on, a fully customizable rank up plugin would be nice :D
@tdbulldog
I've fixed 1 and 2 and am implementing adding a way to block permissions when on duty. I'm currently looking into 3.
Nope. Any idea about 1 & 2?
@tdbulldog
Any errors in the console for problem 3?
I applaud you for a job well done on this plugin. However, I have a HUGE error that should not be ignored.
1.) To start with, every time a user does /duty, the "messages.yml" file is completely erased, and replaced with the same information as "playerData.yml".
2.) When you reload the plugin, because it replaces the "messages.yml" file, the default messages are used, so basically with this version you cant customize the messages unless you never reload.
3.) Don't even ask me how this happened, but 2 guards (for the first time since I installed) were both using /duty, and one of them decided to go out of duty. His inventory was not replaced. In fact, he tried to go back to duty and back off again, and it did not fix the issue; instead it created another issue as seen in the /guards command.
-----------------------I also agree with Alexlyn1 on that you should make a fully customization rankup plugin. You are talented and I believe it would turn out amazing.
Also, instead of being able to list commands that a Guard cannot do while in duty, can we list permissions a guard loses when in duty? Because although he cannot /sell his steak, he can still find a sign and click it to sell the steak. *MAJOR ISSUE*
Thanks again!
Best Regards tdbulldog
Hey, your a very good coder, please make a rankup plugin that you will keep updating as most are outdated and i can't find one working
- xAl3xTh3K1nG
Uploaded a file with many new features. Just have to wait for bukkit dev staff to approve it!