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
@TH3PF
Is there a jenkins repo for this plugin? will there be an update with 1.6?
@ursak
Ursak, I use GM, make sure you are not inheriting groups with duties permissions from other permissions groups. I have pasted my groups config
http://pastebin.com/0HutthdV
you will also want to run duties-groups with this.
@ursak
Sorry but I got no clue. Neither do I have any idea how group manager works since almost everything permissions related is done through Vault.
3 Days and not a hint at what could be the problem? Noone have any idea? Guess I'd better go look at some other plugin. Sad thought since it worked so well othervise.
I have a prob with Duties. I'm using group manager and added a "duty" group with all admin perms and changed the admins perms to only give duties.admin The problem is that it works once.
When admin go on duty they switch to the duty group but when they go off duty they loose all perms including the perm to use duties.
Must say I don't really know how group manager really works since I'm more used to PEX but I've managed to set the groups "ok" except for this part.
Anyone know why this happens and more, how to fix it?
@jesfriis
I think that already is achievable using the groups addon.
hmm mabye add some Private Permessions So
Each admins can have their's own permession list
Oh snap, it didn’t update my config with new nodes. I added that, will test. Thank you.
Edit 11/05: Worked like a charm. Thanks!
@ridddle
Are you sure that you have enabled the setting in the config? That fixed the problem for the other guy.
TH3PF, I’m very sorry to be such a downer but I still get suffocation problems with newest Duties. (
Duties-1.2.0 for CB 1.5.1-R0.2
) I use Bukkit 1.5.1-R0.2 beta. For now I ask moderators to go on duty while standing on a door to be sure they won’t die… but this is no way to live.I was thinking of adding WorldEdit’s
//unstuck
command on dutymode off which would fire with a slight timer. Is this possible with Duties?Weird. I can't reproduce the error on my testing server, no matter what combinations of plugins I try. I'll assume the error is completely benign and ignore it until I find any other information. Sorry for the inconvenience, and thanks for responding.
@clovisdelmotte
Just uploaded Duties 1.2.0 for CB1.5.1 R0.2 which is currently only available here. For clarification, this is not the same version as the release candidate.
Any plan for updating it too 1.5.1? Would be great, thanks!
@CommodoreAlpha
Have you tried loading Duties without CraftBukkitUpToDate. As you said it could be a conflict.
@TH3PF
It occurs whenever Duties loads on my server.
@CommodoreAlpha
Looks more like an CraftBukkitUpToDate error to me. What makes you think this is related to Duties?
It appears I am getting this error.
Haven't tested this plugin alone though; could be a conflict but I doubt it. Started receiving it when I updated to 1.5.1 R0.2. (I never updated to 1.5.1 R0.1 so I don't know if it includes that CraftBukkit version too.)
I don't know what this error does to my server. It looks benign, but you never know.
@mobilephone2003
The groups addon won't replace the action setup in the regular config. This means that the moderator group would also become administrators because...
I'm not sure what you mean by: "No dice - "You don't have permission to do that!". What are you trying to accomplish?
@Quinnatator
No, they should work with all SuperPerms permissions. For other types, the Vault permissions should do the trick. You'll need to get the Vault plugin for this.
@therobixs
Here is the explanation. If your server crashes often you should consider switching the KeepStateOffline config toggle off. It will eliminate the risk of offline players losing their stuff during a server crash. Sorry for the inconvenience.
If i are in Dutymode and the server crasch
When i loggin back im in dutymode-off and my stuff are gone!
Hey, do the temporary permissions only work for default Bukkit command permissions? I get this error while trying to enable other permissions. Thanks.
http://pastebin.com/iUVGu1H8