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 Nov 6, 2012<<reply 1051552="">>
Seems like still the same. I've got the windows lined up to take a screenshot of what it looks like in game, and what it looks like in console.
-
View User Profile
-
Send Message
Posted Nov 6, 2012@andyhuang
It looks like you are for some reason missing the permission to be listed. Try to add
to your permissions manually. If that's not the case that might be a bug.
-
View User Profile
-
Send Message
Posted Nov 6, 2012<<reply 1051330="">>
Thank you! I've got this working with help of a friend before I noticed your message just now! I noticed another oddity quirk that I'm working out right now... When I go on dutymode, and do /duty list as well as /duty listall, I see myself listed. But when another account does /duty list it says no one is on duty right now. Any tips on this one?
-
View User Profile
-
Send Message
Posted Nov 6, 2012@andyhuang
Yes, Vault is required for temporary group actions. So enabling
and installing Vault would probably fix the problem. Also make sure that you have the very latest Groups addon installed.
-
View User Profile
-
Send Message
Posted Nov 6, 2012I am not sure if I've got it setup incorrectly, but my groups aren't working.
Here's my config.yml, and groups.yml.
The changes I've made are:
Removed game mode change from config.yml
Renamed administrator to admin to match my server's settings.
I gave myself (user) the permission duties.groups.admin and duties.admin, I see my inventory get swapped out, but I don't have access to commands requiring permissions form the admin group (tp, spawning, etc.).
Am I missing some thing some where?
-
View User Profile
-
Send Message
Posted Nov 2, 2012Thanks for the update!
-
View User Profile
-
Send Message
Posted Oct 23, 2012Just uploaded 1.1.6 which mainly contains bugfixes, it's currently awaiting approval. I also fixed the issue I mentioned in the previous comment.
-
View User Profile
-
Send Message
Posted Oct 13, 2012This has yet not been clearly stated, but Duties 2.0 will not be available for bukkit, instead it is developed separately here for the Minecraft API.
In the other news, I'm aware of that the temporary permissions in the groups addon are not working. I'm on it, but still not sure what is causing it.
-
View User Profile
-
Send Message
Posted Oct 5, 2012Update?
-
View User Profile
-
Send Message
Posted Sep 26, 2012@TH3PF
Oh nice, I can't wait until 2.0 then =) Thanks!
-
View User Profile
-
Send Message
Posted Sep 25, 2012@ryvix
Since the plugin doesn't save inventories and such to files, there's no way for it to remember the dutymode data the next time the server starts. Therefore I made it put every player off-duty before it shuts down to prevent players losing their inventories. I'll change that in Duties 2.0.
And as of right now, it's not possible save the dutymode inventories due to that fact. I will consider adding that in 2.0 too.
The 'DisableDrops' setting is only for death drops. You would have to use a separate plugin to disable regular drops. I'm aware of that it would make much more sense if it was DisableDeathDrops, but I guess I didn't think of that at the time.
-
View User Profile
-
Send Message
Posted Sep 25, 2012@TH3PF
I have that setting set to true but it still seems to reset to off duty when the server restarts. But that isn't a big deal.
Also, is it possible to make it save their inv, etc. when switching back to on duty mode? So if they switch to duty mode, their inv doesn't reset each time but loads what they had the last time they were on duty. I am guessing it's intended for creative mode but I don't give them creative mode.
And also they can still seem to drop items even with DisableDrops: true, or maybe that only works when in creative mode? Maybe I am doing something wrong.
-
View User Profile
-
Send Message
Posted Sep 16, 2012@ryvix
There's an option called KeepStateOffline. When it's enabled, dutymode will persist after the player has logged out. I was not able to replicate the "forgetting dutymode" issue with the newest stable bukkit build.
-
View User Profile
-
Send Message
Posted Sep 15, 2012Well so far this has been working great. Only problems I have with the way I have it configured is when I log out and log back in my game mode isn't restored and I think when the server restarts it's forgetting the dutymode but I am not 100% sure. Thanks!
-
View User Profile
-
Send Message
Posted Sep 13, 2012@roelmb
In order to complete Duties 2.0, I will have to wait for the new Minecraft API (Workbench) as it won't be a bukkit plugin. It will basicly be an open source rewrite of the whole thing. I'm currently preparing as much as I can from what I know today, so it can be released asap. From what I've heard, Minecraft 1.4 which will include the MCAPI is going to be a halloween update, so hopefully it will available somewhere around then.
The reason I've not posted the link to the GitHub here yet is because the lack of documentation (which might actually be invalid) and license. I will do some work with it today and see what I can do. :)
-
View User Profile
-
Send Message
Posted Sep 13, 2012When will duties 2.0 be released? I noticed on github its still early development stage.
-
View User Profile
-
Send Message
Posted Sep 9, 2012Wicked plugin, thanks =)
-
View User Profile
-
Send Message
Posted Sep 7, 2012Hi I am having an issue with Vanish and Duties
I have it set so on Enable the player movies to the 'duty' group in PEX.
That permission group gives them vanish and the vanish.nointeract, no trample etc.
The vanish works, but the player can still break blocks (interact) and open doors.
Is there a setting I missed or is Duty somehow overiding those extra vanish permissions?
Thanks.
EDIT:
Ok... Not sure but I had been adjusting the configs and doing /duties reload. I had toggled keepstateoffline to true at the very beginning. The console told me I would need a server restart for it to take effect. But that didn't concern me at the moment.
Just now I turned keepstateoffline back to false and did /duties reload.
Now when I do /duty I go vanished AND the nointeract, nohunger, etc works perfectly! Not sure if that is a weird coincidence but I am just going to mention it.
Great plugin! Thanks.
EDIT 2: Never mind, I am retarded. The changes to nointeract only happened after Iogged out of my server and rejoined. Weird how the main vanish function always worked.
-
View User Profile
-
Send Message
Posted Aug 30, 2012@Mazgula
Check this out http://dev.bukkit.org/server-mods/duties/forum/33743-groups/#p1
With this... you can add your custom player permission nodes requirements. So only when players with, for instance "duties.groups.op" use dutymode, the op command will be executed.
If you need help setting this up, please send me a PM.
-
View User Profile
-
Send Message
Posted Aug 30, 2012@TH3PF
The idea would be: If i give the player the node
"dutiesop.op"
then it simply adds that bit, by itself from a separate section of code? Or does this not make any sense?