KeepItems
KeepItems
KeepItems
KeepItems allows players to keep their items and/or experience when they die, whilst allowing fine-grained control via the permissions system.
Quick links
- Downloads
- Source code
- Please donate if you've found this plugin useful, to help support future development.
- Bitcoin address: 16irtnP6a8fv14vdCoAqW5ug7TCUCR6gcg
Quick setup
If you simply want all players to always keep their items and experience when they die, add the following to the permissions.yml
file in the root directory of your Bukkit server:
keep-everything:
description: Allow players to keep their armour, their experience and all of their items when they die.
default: true
children:
"keep-items.armor": true
"keep-items.level": true
"keep-items.progress": true
"keep-items.cause.*": true
"keep-items.entity.*": true
"keep-items.item.*": true
For more information, please refer to the documentation below. If you need any help configuring the plugin, feel free to drop me a comment.
Documentation
Frequently Asked Questions
I have all the correct permissions but when I die I still lose all of my items. Help!
Make sure you don't have any other plugins installed that might interfere with the death/respawn process.
How do I configure this plugin so that players can only keep their items in a single world?
Use a multiworld permissions plugin (e.g. PermissionsBukkit, bPermissions, GroupManager), and only grant the KeepItems permissions in one world.
@semirotta
Which permissions plugin are you using? Seems like everyone who's having issues is using PermissionsEx.
Anyway, I'll be removing the default permissions in the next release which should make configuration a bit easier since you won't need to deal with negative permissions anymore.
@robinjam
There is also more issues.
MOD in my team has these perms:
- keep-items.level
- keep-items.progress
also same goes for donor ranks, yet they lose EXP in death. I dont lose and i am OP but others do. Please fix this, its really annoying because everyone cries about this...
Also, yes i use Essentials and it is obviously issue with the armor duplicating. I dont care if the players lose their items but atleast the EXP must be fixed. The permission node does nothing....
@dockter
You didn't do anything wrong - if I didn't want people to fork this project, I wouldn't have released it under the GPL. Thanks for explaining why you didn't submit a PR though.
As for the permissions situation - I'll be removing the default permissions in the next release since they're no longer needed (/gamerule keepInventory true provides the same functionality as KeepItems with the default permissions). Unfortunately exams (coupled with the fact that I still can't reproduce the fall damage issue everyone seems to be having) are delaying progress somewhat...
@robinjam
I did not submit a PR as it was a stripped down version of what you as the author had in mind for it intention. Our environment did not require the bells and whistles that you added to it. We simply needed a generic functionality which your original version of this plugin provided.
We appreciate your time that you devoted to this project and continue to look forward to changes you may provide in the future.
@kickingandscreaming
All of our projects that we do for Bukkit/Spout server cores are available at http://build.almuramc.com:8080/
I did not hide the fact that robinjam was the original author nor did I strip him of any rights to the source code. We simply modified it back to its (I believe) 0.2.2 state since that it was we had used for almost a year.
AlmuraDev does a lot of plugins, all of which the source code is available. Your "douche-y" comment is only a reflection on your lack of professionalism in my opinion.
@robinjam
Thats fine, but its easy to add a configuration option to override the default permission system if the admin's not willing to learn a permissions system rather than setting permissions to true in the plugin.yml.
@robinjam I have this problem too!
@cwingrav
A lot of people are having that problem and I have no idea what's causing it or how to reproduce it... If you'd be willing to share your list of installed plugins (either as a comment or a private message) that might help me track down the issue.
Hmm, dropped items and got this when I fell ("cwingrav hit the ground too hard"):
[SEVERE] [KeepItems] Player cwingrav died due to an unknown cause. It is therefore impossible to determine whether or not they have permission to keep their items. Their items and experience will be dropped at their death location (Leocius@143,6,795).
Any ideas? Using 1.0.rc2 on 1.4.5-R1 bukkit. Didn't change permissions and config.yml only has the default "drop-change: 0".
@semirotta
OP's die -> they still have their items.
Take away the keep-items.item.* permission.
and it duplicates ARMORS
Don't suppose you have Essentials installed? It seems to conflict with this plugin - I'll try and find a workaround when my exams are over.
Issue:
OP's die -> they still have their items.
I want to save ONLY XP if dieing (donator ranks and ops / moderators)
but i still get my inventory with me and it duplicates ARMORS (every armor slot item is doubled)
there should be separated option in configs for exp and items...
@robinjam
I recently made the switch from PEX to Privileges. Definitely faster and simpler and the switch was actually pretty easy. I recommend it. PEX was starting to make trouble.
The perm in question works properly in Privileges.
@kickingandscreaming
I don't really mind, but he could have sent me a pull request on GitHub. I may not have enough time to work on plugins right now (revision and coursework take priority :P), but I do have time to approve pull requests.
@VladimirMarenus
Yup, keep-items.entity.player should be right...
Out of interest, which permissions plugin are you using? Some of them don't seem to handle negative permissions too well (PEX in particular).
@dockter
Ya, pretty douche-y comment man. The author is obviously active and has kept it running bugfree for a long time now.
I, personally, think the plugin works great and does exactly what it says it does, makes players keep items / exp. Great for simple installation onto a small server who want that feature.
I'm not too sure how kosher it is to just strip a plugin that's not yours and offer it without a proper server-mod page dude. Pretty douche-y.
I am hopeful for the version without the default perms... I don't know if this is causing my issues, but for some reason whenever I attempt to disable item loss on ONLY PvP death, it doesn't work. No error, just doesn't work.
keep-items.entity.player
is the correct perm, right?
All the other ones work, it's quite frustrating. :P
@dockter
Abandoned? My last comment was 14 hours ago... I also refer you back to the comment I posted on Christmas day:
"Yeah, the reason I did it that way was was so people who run small servers with friends can just install KeepItems and not have to worry about permissions. Now that you can disable item loss in vanilla there's no point anymore, so in the next release I'm likely going to remove those default permissions."
The next release will be in about 2 weeks, after my exams (if not sooner).
I made a stripped down version of this plugin if anyone is interested, one of which you dont need to use negative permissions. PM me if your interested since it looks like this developer has abandoned it.
@robinjam
Not sure how any of the internal stuff works, but I got this plugin only for my admins cause they screw around too much...lol. I just want it so if they accidentally fly into a kill zone without god or creative they keep their stuff, or if tempers fly too high and they slay each other they keep their stuff. Good luck with your exams and I'm hoping for that unknown perm :P