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.
@Johnjay2000
I'm not sure where you got those permission nodes from, but they're wrong. There's a list here.
Okay so i really like this plugin but im still having the problem with my Owner and Admin Ranks. They Do have the - '*' permission node so i did negate all of the permissions and i am using PermissionsEX so this is what it looks like: Someone please help me
Owner: default: false inheritance: - default permissions: - '*' - -KeepItems.ondeath - -KeepItems.invdrop - -KeepItems.chestaccess - -KeepItems.furnace - -KeepItems.dispenser - -KeepItems.brewingstand prefix: '&1[&6Owner&1]&f'
@Senophoe
That's already supported. Check the permissions reference.
@JuanD95
Yup, check the permissions reference - I think the node you're looking for is keep-items.entity.player.
Add support for whitelist / blacklist. This way we can define what items should or shouldn't drop.
Hi.
Can the plugin differentiate between PvP kills and other kills?
I want it just preventing drops from PvP kills.
Thanks for this plugin! I was scouring the plugin lists for a plugin JUST LIKE THIS for a few hours, then came across this, and regardless of it being 1.4.5 I saw your comment and tried it out. Successfully working for me on 1.5.2 :)
@Corsicaman
It already supports multiworld, provided your permissions plugin supports that. Let me know if you have any problems.
@Jcheatgamer17
It should still work fine on 1.5.2 since the API hasn't changed, but I'm not going to update the version info until an RB for 1.5 is out.
Please update to 1.5.2
Could you make it support multiword please?
@hackerpro
Did you actually test the current version before you asked for an update?
I'll update the project info when there's a recommended build for 1.5.1.
Update 1.5.1
I am getting this error when people die in PvP: 2013-04-11 16:24:32 [SEVERE] [KeepItems] Helix512 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 (pcatack@3424,63,1735).
@Necrodoom
I don't use Essentials personally, so I have to rely on reports from other users. A number of people were having this issue and the only plugins they had in common were KeepItems and Essentials, so it appeared to be a conflict. Perhaps the Essentials team have fixed it now.
"When a player with the keep-items.armor permission dies with Essentials installed, their armour is duplicated."
that makes no sense? essentials doesnt do anything with armor.
im using essentials my self and i dont have this.
@OtacA
I have a problem that is pretty close to this whenever someone is /smited or dies of fall damage they lose everything.
Hey, robinjam,
That did fix the problem, but I'm either missing a permission or I found a bug:
When a player is killed when they're looking directly at a chest (whether they're inside the chest or not) they drop all their items. If they look away from the chest they keep their stuff, but if they look at the block and they are within range to open it, they drop everything.
EDIT: Nevermind, I just realized the problem. Didn't have it set so that players keep their items when killed by a player using a bow.
@killertudse
Do you have Essentials installed? As mentioned in the known issues, "When a player with the keep-items.armor permission dies with Essentials installed, their armour is duplicated."
If you don't have Essentials installed then I'd really appreciate a list of installed plugins so I can check for other conflicts.
People keep their items yes, but it also drops. So it just duplicates -.-
@robinjam
okay, thank you! I tried it and it works great. I can't wait to get PvP back on my server without too much griefing going on.
@OtacA
You'll also need keep-items.cause.entity_attack and keep-items.item.*. If you'd be willing to send me a copy of your permissions config I could take a look at it for you.