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
The new update (0.8) will probably fix the most of the permissions issues thanks to Vault.
@Alexander_Winters
Can you please post a ticket using the template so I have more to go on.
Weird, I am trying to use TOP to toggle OP for someone entering dutymode then use "addgroup Admins %PLAYER_NAME%" as execute command to give someone the * node on bPermissions (OP's can hand out permissions) but oddly it seems to insist on doing the Addgroup Command before I am OP then the RMgroup command after I lost it breaking the system...
Everything else works.
@AStevensTaylor
Yes
Edit: Except for the highest level of commands (like op) and permissionsBukkit's 'permissions.*' nodes for some reason.
Temporary Permissions: Is it possible to set a '*' permission as a temporary permission
Please post all issues as tickets instead of in the comments section.
@blokzeil1
Replace all of the content in your config.yml with this, copy and paste :
@TH3PF
When i do /duty it give that error, here is my config:
Does it do anything except for the message? If so, can you tell me what it does, for example it teleports you but it doesn't set your inventory
@TH3PF
i get this:
@blokzeil1
Sorry if I was unclear. It supposed to be:
- give %PLAYER_NAME% [item id] [number]
and not:
- \give %PLAYER_NAME% [item id] [number]
@TH3PF
Ehmm it wont work for me... - \give %PLAYER_NAME% 271 1
This is great! Thanks so much for creating this!
@blokzeil1
This is actually already implemented. Just add a line like this in Command-runs-on Enable:
- give %PLAYER_NAME% [item id] [number]
You can also do it like this if you got Essentials:
- item [item] [number]
Very nice,
i have a suggestion, when you /duty do can you give some items? what you can add in the config Like a log, stick, wood axe
can you add this?
@botskonet
Nice to hear you like it! :) I was in the same situation as you when I first started this with no experience of neither Java or Bukkit.
I have been looking for this so long, I was about to write my own! In fact, I'm working on the inventory save now. Thank you! I'm going to test this asap.