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
Is it possible to set it like when player is ondity he cant drop items or put them in a chest or open chest etc. ?
@botskonet
The consideration is done.
Noticed the source upload, nice. Would you consider hosting it all on github or something though? It'd much easier to interact with, etc.
Hey its me
I shut my youtube down
Also my server but i still have a test server to test your plugin on :)
I have alot of ideas for your plugin but I don't want you to stop studying so pm me when you have time and Ill tell you
@OutCastMC
Set the following config option in '...\plugins\Duties\config.yml' to true:
How to disable dropping items when on duty?
@TH3PF
No worries, I made a ticket for you to help remind you in the future. Take your time and focus on studying and other more important real life activities. ;)
@CommodoreAlpha
Nope, but I can plan that for next week. I've too much to study for this week.
Have you added the logging feature yet? I think I forgot to make a ticket for it. If you haven't added it in yet, I'll make a ticket for it right now.
@anton8604
@austindkelly
Please try out this build.
@anton8604
@austindkelly
When we/I know what's causing it. The only progress I have done so far is that I've reproduced it. I will look at what I can do, and just hope that it won't require any dirty tricks.
Also, thanks Anton! :)
When can we expect a resolution on the wand problem? I have downgraded to v 1.3 since the wand is interfering with prism lookups and worldedit tools.
Please resolve the wand issue soon, this is driving me nuts! lol
Other than that, awesome plugin! =]
@austindkelly
I think the new newest default configuration should work out of the box. This is how it looks for me both on Windows and Linux. Also, I moved MessageTag from config.yml to messages.yml:
So changing the old MessageTag option should not do anything. I know this is probably a pain in the ass.
Regarding the wand issue. There seem to be some kind of incompability with the event interaction between Duties and WorldEdit. Will try to resolve that in a later update.
@austindkelly
Seconding this issue.
Cheers.
I have noticed when I have a "wand" bound to a tool or my hand, as in the case with world edit and prism, duties is telling me i do not have permission to access a chest. I can however access chest while in duty mode.
Please see: http://i.imgur.com/4zvEyoB.png
I have properly updated messages.yml to have the corrected color codes and proper single quotes, this will fix the weird looking characters found in-game when going on and off duty ( � ). This has the same default generated text. The � also needs to be removed from the default config.yml file as well.
Config.yml line should read:
MessageTag: '&6[&eDuties&6]&f '
Corrected messages.yml can be copied from -=- http://pastebin.com/CzsqYJrQ -=- and should be used as the default generated messages.yml in the future.
@pilvimaa
Hotfix here.
@pilvimaa
Will do. That build went through an embarrassing amount of debugging to have such of an issue.
@TH3PF
So... now with 1.4.0 I can't drop items with Q or interact with chests even with the config settings set to false?
Reverting back to 1.3.0 ...
Please fix this annoying behaviour.