Duties

UPDATE: I (chaseoes) am now updating this plugin. I'm working on improving it and you can expect an update soon!
Duties provides a mode for admins and mods (those who do have the permission) which lets you save all your survival stuff and later be able to revert back to it. For example, you are adventuring in a cave, and someone tells you that someone has griefed his house. Just type /dutymode and go investigate it. When you're done, just type it again, and you are back again with all the stuff you had before.
Current version: 1.4.2 for CraftBukkit [1.6.4.R1.0]


Features:
- Save your state for later
- Location (including where you are looking, and what world you are in...)
- Inventory
- Armor
- Health
- Hunger
- Experience
- Saturation
- Exhaustion
- Gamemode
- Fire ticks
- Potion Effects
- More... velocity, vehicles, remaining air, bed spawn...
- Keep duty mode on while offline
- Set other players mode
- Run configurable commands when enabling and disabling the mode
- Add temporary permissions while in duty mode
- Add temporary groups while in duty mode
- Remind players that they have duty mode on when...
- logging in while Keep-state-offline is on
- opening chests
- dropping items
- Broadcasting status changes for example: "ThePf went on duty." Fully customizable.
- Individual broadcast bypass
- Option to change every message that the user will get when using Duties
- Vault permissions and name formatting support
- List players with dutymode on
- Chest interact, item drop, death drops, kill drops prevention
- TagAPI support
- custom prefixes
- custom suffixes
Addons - extends the feature reach of the original plugin:
- Groups by TH3PF, idea by retricide - Have diffrent kinds of dutymodes for diffrent ranks...
- Stats by TH3PF, idea by devonpilney - See how long players have been on duty and log commands etc..
Known issues:
- Players who are offline and on-duty when the server stops or reloads will keep there on-duty postion off-duty
Commands: (Every /dutymode can be replaced by /duty and /dm)
- /duties help - Shows the help for the plugin.
- /duties reload - Reloads the plugin.
- /duties disable - Disables the plugin.
- /duties updateconfig - Updates the configuration without sacrificing already existing data
- /dutymode (toggle [Player]) - Toggles the duty mode for yourself [or for another player]
- /dutymode enable/on [Player] - Enables the duty mode for yourself [or for another player]
- /dutymode disable/off [Player] - Disables the duty mode for yourself [or for another player]
- /dutymode list - Shows a list of which staff players have duty mode on
- /dutymode listall - Shows a list of which players have duty mode on
- /dutymode hideb [Player] - Disables the broadcast feature for yourself [or for another player]
- /dutymode showb [Player] - Enables the broadcast feature for yourself [or for another player]
- /dutymode purge - Forces all players off dutymode
More: Configuration & Permissions
-
View User Profile
-
Send Message
Posted Apr 7, 2014@TH3PF
Both of your suggestions fixed the problems.
Thank you :)
-
View User Profile
-
Send Message
Posted Apr 2, 2014@erik1988
Thanks,
1. I think this may have something to do with TagAPI. What happens if you do this:
in config.yml?
2. I'm aware of that problem, FMI read the caveat here. The only fix I know is to disable 'KeepStateOffline'.
-
View User Profile
-
Send Message
Posted Apr 1, 2014Great plugins, I have two problems:
1. When in duty mood other players (not myself) see me as the default minecraft skin (steve). 2. If server is shutdown and players are in duty mood, the location were they were during duty mood becomes their new "off-duty" location and they see all survival stuff (items, health etc), but they can still fly.
Plugins that i use that I think can be of relevance here is Limited creative and essentials.
-
View User Profile
-
Send Message
Posted Mar 11, 2014One of the goals of this project is to keep the accessory features to a minimum. The preferable solution is to extend the functionality by using only commands and temporary permissions. I haven't been able keep to this guideline in all times due to the fact that it works questionably in practice but...
I see no reason why it shouldn't work in this case. So if you're not a fan of the solution explained here, feel free to file a ticket explaining a bit more how you would like this to be implemented.
Also I'm aware of the fact that this may be a bit hard to setup and tutorials would be helpful. I would really appreciate if someone would help me with that btw.
-
View User Profile
-
Send Message
Posted Mar 10, 2014Just to see if it is okay and maybe a feature you could add is where if it is true make it so they get paid a certain amount every 300 ticks or something?
Just make it so if it is true underneath it says in the configuration file
PayGuard: true
Just an Idea?
-
View User Profile
-
Send Message
Posted Mar 3, 2014@TH3PF
Thanks. I have enabled the config. I don't know why I didn't notice it before now.
-
View User Profile
-
Send Message
Posted Mar 1, 2014@NemsNZ
Probably not since Duties uses the bukkit api to teleport the player directly, and not through a command. But I guess you could be right about the part where a plugin is conflicting. Big plugins like Essentials are indeed very likely to be involved due to the fact that they may handle teleport events.
Unfortunately I have never experienced the issue myself, even with Essentials, and have therefore a harder time figuring out the cause.
-
View User Profile
-
Send Message
Posted Feb 28, 2014@TH3PF
Hi I'm one of the mods RPGamer99 was talking about. This happens to me around 20% of the time I come off duty. Last time I was standing on level ground when I went on duty, tped somewhere else with the WorldEdit compass a couple of times, and then when I went off duty was tped back to the original x,z location, but 12 blocks lower down (in solid rock).
Could it be related to the fact that we have Essentials, which mucks with the tp command a bit?
-
View User Profile
-
Send Message
Posted Feb 28, 2014@RPGamer99
Try enabling PreventTeleportCollision in config. Otherwise I've no idea.
-
View User Profile
-
Send Message
Posted Feb 27, 2014My moderators are complaining of sometimes suffocating in walls when returning from duty. Would you know what would be causing this?
-
View User Profile
-
Send Message
Posted Feb 21, 2014@EmberC
Np, currently you would need another plugin cooperating with Duties to achieve that. But if you think this should be included you can file a ticket.
-
View User Profile
-
Send Message
Posted Feb 21, 2014@TH3PF
Thank you! :) I have one last thing. Is there a way to prevent them from picking up items? This is a great plugin!
-
View User Profile
-
Send Message
Posted Feb 20, 2014@EmberC
Yes, DenyDesiredDrops and DenyChestInteracts in config.
-
View User Profile
-
Send Message
Posted Feb 19, 2014Is there a way to prevent people on duty to drop/store items?
-
View User Profile
-
Send Message
Posted Feb 19, 2014@austindkelly
hmm... I guess I could try to patch some bugs.
-
View User Profile
-
Send Message
Posted Feb 17, 2014Since we are well into 1.7.4 now, I was curious if there will be an update soon for this plugin which I use so much.
-
View User Profile
-
Send Message
Posted Feb 3, 2014[09:00:51] [Server thread/WARN]: [Duties] "Duties v1.4.2" has registered a listener for org.kitteh.tag.PlayerReceiveNameTagEvent on method "public void me.th3pf.plugins.duties.listeners.TagAPIListener.onNameTag(org.kitteh.tag.PlayerReceiveNameTagEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [TH3PF, TH3PF].
-
View User Profile
-
Send Message
Posted Jan 29, 2014@TH3PF
Hey it's me PrisonServers
I've learned GitHub so I can kno help :D
-
View User Profile
-
Send Message
Posted Jan 29, 2014@FinArrow
Yes, this is possible (DenyDesiredDrops in config). The Default Configuration page is there for your own reference.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@FinArrow
I already ask so they can't drop items and there something already in the Config from what I can remember to stop them dropping Items also he is busy at the moment I will try to contact him I would like it as well so they can't put stuff in the chest or open them but he is studying and he said he will see what he can do within his spare time :)