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 Mar 11, 2012@Paranormalcow_
I'm planning to make it completly Vault compatibly, so it will work with both SuperPerms and PermissionsEx (I know PermissionsEx uses SuperPerms but something is seriously messed up). The only bad thing about doing that is that duties.mod and duties.admin nodes won't work with that so you will have to specify every node for them self.
-
View User Profile
-
Send Message
Posted Mar 11, 2012Are you planning to implement PermissionsEx to this?
-
View User Profile
-
Send Message
Posted Mar 10, 2012@CadillacJack95
Umm... that's hard to tell, I might need some help, but let's say it's done within this month, no promisses though.
-
View User Profile
-
Send Message
Posted Mar 9, 2012@TH3PF
Thanks for your quick reply. Well i see that you have thought about it, i have found some similar plugins such as ModDuty, but unfortunately they are outdated. When can we expect this feature to be loaded into your current plugin? It would be extremely usefull for our server.
Thanks again CadillacJack95
-
View User Profile
-
Send Message
Posted Mar 9, 2012@CadillacJack95
Yeah, I and devonpilney have thought of something like that too. I decided to make that feature an addon called Stats. The development has already started but it was more difficult than I expected so.. it's delayed for a while. Stats will be able to track down players longer than 24 hours though.
The permission switching feature is already allowing you to disable fun commands and placing of blocks, it's called TemporaryPermission which can be negative if you're not using Vault. But if you are, you can make a group that removes these permissions and add it to TemporaryGroups.
Thanks for your feedback.
-
View User Profile
-
Send Message
Posted Mar 9, 2012Hi there, i like this plugin a lot. i have a request to add on to this plugin, how about some database save that doesn't require MySQL or anything like that, that allows the Admins/Mods to do ./duty on and it will save the duration of their duty for that whole 24 hour day. This will allow Server owners and Staff managers to check which mods and admins really do their jobs. and perhaps disabling all the fun commands and placing of blocks while they are on duty so they can't bypass the timing.
Please let me know what you think Thanks :) CadillacJack95 http://www.logincraft.com
-
View User Profile
-
Send Message
Posted Mar 4, 2012@VariousArtist
I'd really have no idea what's causing this. But when I tried to reproduce it, the "duties.mod" node didn't work, the "duties.self.toggle" didn't but the "duties.*" did.
While waiting for Duties 1.0 which will have complete Vault permissions support (not only for temporary perms and groups), you can send me a ticket explaing more about this issue.
-
View User Profile
-
Send Message
Posted Mar 4, 2012duties 0.9, PEX 1.19 and CB 2036 - permissions not working! My staff has "duties.mod" but when trying /duty it says that they have no permissions. Works as OP.
Pex debug shows that no duty node is accessed. strange..
Edit: Gave the mod "duties.*" - still no access.
-
View User Profile
-
Send Message
Posted Mar 2, 2012@TH3PF
+1
-
View User Profile
-
Send Message
Posted Feb 27, 2012@TH3PF
That's exactly the system I had in mind; I think it would function perfectly for my own - and many other servers' - purposes.
Maybe call it MultiDuty? MultiDuties? That would seem to insinuate there are multiple "duty" groups, as there would be.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@retricide
I have previsously considered that as an addon. I was thinking of a node like this: 'duties.group.moderator' which would do all the commands and add all the permissions in the moderator groups config. In this scenario the config file would look like this:
Example of config:
All conflicting nodes would be overriden by the not global ones.
Do you think this would be a good solution? And any ideas for an addon name?
-
View User Profile
-
Send Message
Posted Feb 26, 2012Would it be possible to have different permission groups for staff whoa are "on-duty?"
An example would better illustrate my idea: Permission node: 'duties.self.toggle.moderator When a player, in a permissions group with this node, executes /onduty (or /onduty moderator) it would promote them to the moderator group. Permission node: 'duties.self.toggle.admin A player, in a permissions group with this node, would be promoted to the admin group when they execute /onduty.
Basically, custom definable permission nodes that would allow players to be promoted to different on-duty groups.
I would love to see a more modular system like this to allow moderators and admins on my server, whom have drastically different permission sets, to be able to play in a "citizen-mod" or "citizen-admin" group but then be able to go onduty to the normal "moderator" or "admin" group.
-
View User Profile
-
Send Message
Posted Feb 23, 2012That's just awesome. :-D Seems you've thought of everything. Going to try this plugin out asap!
-
View User Profile
-
Send Message
Posted Feb 23, 2012@Katorone
No, that scenario is not possible. When a moderator goes on duty he will have the inventory you have predetermined in the config. The inventory isn't kept between duty shifts so there's no way that would happen. The only twist between Duties and WorldInventories is if you go on duty, then teleport to another world.
To have a custom inventory you add commands like these (this is my config):
Try to keep as many commands as possible runned by console so they won't get spammed by messages like 'Giving ThePf some 21'...
-
View User Profile
-
Send Message
Posted Feb 23, 2012If I understand correctly, this scenario can't happen? :
If it's not a feature, would it be possible to have a standard inventory 'template' for moderators going on duty? E.g. auto equip them with diamond armour, and some tools (e.g. wooden sword&axe for worldguard, a stick for stickjailing & a log for hawkeye)?
I obviously haven't tried the plugin yet, but from what I've read here and on the config page makes me think this plugin could be a major addition to my server. We've had some issues with mods not knowing the difference between using their powers for moderating or personal gain. A plugin like this would make the difference very obvious. (I'd also use modifyworld to stop on-duty mods from placing, breaking or picking up blocks)
-
View User Profile
-
Send Message
Posted Feb 23, 2012@Katorone
Well, due to the fact that WorldInventories doesn't support any kind of bypass for the switching, it will save inventories for players on duty too. The developer could add a bypass permission node that you add in the temporary permissions. If you're using Multiverse, you can get this: http://dev.bukkit.org/server-mods/multiverse-inventories/ that already got that feature.
-
View User Profile
-
Send Message
Posted Feb 23, 2012Does this plugin plays nice with WorldInventories?
-
View User Profile
-
Send Message
Posted Feb 14, 2012@Roxbot
No problem, I'm glad you liked it :)
-
View User Profile
-
Send Message
Posted Feb 14, 2012Hi TH3PF, just want to take the time to say this is a great plugin and thanks for making it.
-
View User Profile
-
Send Message
Posted Feb 4, 2012@TH3PF
\o/