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
UPDATE: I (chaseoes) am now updating this plugin. I'm working on improving it and you can expect an update soon!
@WolfeBersahd
Hey, I felt the need to rush the 1.5 update in the end, so I might have forgotten some things when adapting the name system change. Unfortunately a hot fix is already too late for me to do since an ownership trade already has been made; the plugin now is in chaoses hands.
Thanks for the kind words, and I certainly hope so too. I'll oversee the plugin every now and then.
Hi,
Love the plugin, been using it for a while now.
I'm still using 1.4.2, with no adverse effects, everything is still working fine.
The only reason I'm not using 1.5, is because the "keepstateoffline: false" doesn't appear to be working anymore. Works fine on 1.4.2.
I've even disables all other plugins on my server just in case they were interfering with it, and no go, keeps state offline even if in the config it's set to false.
The huge drawback to this is if anyone on my server is still in dutymode during a periodic reset, all their gear, level, etc. get wiped form their normal, non-dutymode state.
adding a /duty purge isn't a huge problem, but when i manually /reload i don't always think about it and so far several of my server members has lost precious gear that i had to retrace from a backup to give back to them.
I know you're abandoning this plugin cause of loss of interest and i hope a worthy person takes it over, but can you please abandon it after this fix... please.
Thanks for everything you've done for the community, i would say, "keep up the good work" but it seems inappropriate, so I'll just say;
Hope you come back every now and then, we'll miss you.
@KRATOS0121
"Joined Jul 12, 2014" and I don't see any - public - Bukkit plugins in your profile :-I
I hope this plugin lands in hands of someone who has a bit more recognition and merit so it's not full of trojans after the next update...
i can make it a bit easier for you I have developed over 12 plugins just for bukkit itself and I am sure I could turn this project around I could lead this plugin to a whole new perspective and lead it in the right direction this plugins hasn't had an update since 1.6.4 so whoever you hand this plugin over to is going to need to make a new version of the plugins and have a great crew of developers my friend Jacob and I are starting up a crew we got about 4 developers earlier and they are very skilled with prison and faction servers we believe we could make an update for this plugin in about a week or so and get this plugin finially up to 1.7.9 but as always TH3PF it is your decision on who you hand over the plugin to just know if you give it to use you will be putting your plugin in some very supporting hands but I hope you find a good team of Developers to give the plugin to and I hope im the one you choose thanks :D - KRATOS0121
Already gotten 7 pms. This decision is gonna get hard.
Hello there my name is aaron I have a lot of experience developing plugin ( Private Plugins for my server ) and I would love to take over this plugin I believe I can upload new versions of this plugin and I am a single developer I do not really have a team besides my friend Jacob but ya I would love to take this plugin over as I said and I would love to make new versions of it get back to me soon on your reply :D
@TampaPowers
Check github.
@TH3PF
Why not just open source it?
I've uploaded the 1.5 version of Duties. You may have noticed that this has taken an awfully long time. Well unfortunately I've lost interest in further maintenance of this plugin. Therefore this project has been marked as abandoned until perhaps a new maintainer emerges.
If you want to be that person, please pm me.
@ridddle
Yeah, but I've a lot of examination stuff going on currently.
Sorry to nag, but will you be uploading the build with
/commands
fixed? You know, our pull request.@TH3PF
hm I dont get the problem anymore. maybe it was related to PEX or something. I noticed the problem since I have warmup with /duty from survival but not from duty mod. Sometimes when I joined I did not have any cooldown on /duty or other commands. I don't know what was wrong but it seems to work now. Wierd..
@erik1988
Do any of the disable commands work, and is anything mentioned in the logs?
I use duties with the group extension and when a player types duty he automatically get OP and creative. However if the player logs of before typing duty himself, the op is not removed from the player, so when i join he has survival and OP.
onEnable: CommandsByConsole: - lc creative %PLAYER_NAME% - god %PLAYER_NAME% on - op %PLAYER_NAME% onDisable: CommandsByConsole: - lc survival %PLAYER_NAME% - deop %PLAYER_NAME% - god %PLAYER_NAME% off
KeepStateOffline: false
@pilvimaa
Hard to say, I would like to include some fixes for the bugs and preparations for the name system change. I always have to do a ton of testing when I make big changes like that. I hope I could get it done the upcoming week though, but don't take my words for it since I'm still recovering files for my computer reinstallation.
@TH3PF
Next release? Well that is good news :-) any kind of eta?
I’m having trouble executing a console command through Duties which works perfectly fine when entered manually.
All of those work but the last one. When I enter manually
in the console, it works. When I use Duties syntax, it doesn’t.
The
runalias
command is a CommandHelper’s way to call an alias, in this case/toolkit
. All of it is just for context, what’s important to me is that entering the command in the console works while doing it through Duties doesn’t.Oh, and I checked YAML with validator and there are no errors. I also tried adding
''
or escaping the slash, but it still fails.Any ideas?
Edit: BTW I also tried using
Commands
and omitting sudo:It still fails. I think the reason might be a global search-and-replace for the
/
character rather than just removing it if it’s the first character? CommandHelper’srunalias
needs the alias to be called with the slash.@CommodoreAlpha
Yeah I know. That has been patched for the next release.
I found this in my console:
Just thought I'd let you know.