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.
-
View User Profile
-
Send Message
Posted Nov 23, 2012@robinjam hey man, i have the same issue romenas has. been this way for a while..
42-44 plugins im running. kinda hard to list them. :(
-
View User Profile
-
Send Message
Posted Nov 12, 2012@romenas
Ya, I had to remove it altogether :(. Just need to wait for an update i guess,
-
View User Profile
-
Send Message
Posted Nov 11, 2012cool plugin
-
View User Profile
-
Send Message
Posted Nov 11, 2012@romenas
I've done some testing with CraftBukkit v1.4.2-R0.2 and it seems to be working fine. It could be a plugin conflict on your server - would you be willing to share a list of the plugins on your server so I can check?
-
View User Profile
-
Send Message
Posted Nov 11, 2012@SiLenT0ne
That's already possible - if you want players to only keep their items when another player kills them, take away the keep-items.entity.* permission and give them the keep-items.entity.player permission.
@romenas
Thanks for the report, I'll take a look and see if I can work out what the problem is.
-
View User Profile
-
Send Message
Posted Nov 11, 2012[KeepItems] Player Derpmeifter 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 ...
Player died - falling from the building. Bukkit 1.4.2 Somtehing is not working very correctly
-
View User Profile
-
Send Message
Posted Nov 10, 2012not sure if this was asked but could you add a way to make PVP not drop items but all other deaths will still drop items on death. The reason this would be good is so that PVP is more for fun instead of a competitive thing that annoys people. I hate leaving PVP off but since my server is more of a relaxed server people don't like losing their stuff on death (from PVP)
-
View User Profile
-
Send Message
Posted Nov 8, 2012Great, thanks so much
-
View User Profile
-
Send Message
Posted Nov 8, 2012@Corrado117
Probably, but I haven't tested it yet since there's no RB for 1.4 available.
I don't think a CB update has ever broken one of my plugins, so unless I update this page to say otherwise it's usually safe to assume that this plugin will work.
-
View User Profile
-
Send Message
Posted Nov 7, 2012Does this still work for 1.4.2?
-
View User Profile
-
Send Message
Posted Oct 29, 2012@Namekomono
Is it possible to make it where only worn items, held items even, are kept and everything else is lost?
Yup, I think the keep-items.armor permissions node is what you're looking for.
Would there be a way to manage different functions (way that the game decides to drop the items) per world?
If you're using a multiworld permissions plugin then yes, you can customise permissions per-world. Unfortunately you can't change the drop-chance per world though.
COuld there also be a way that certain items have a manageable drop rate?
I'll consider it, but to be honest this plugin's already grown way larger than I wanted it to be. I originally made it so that players on my own server kept their items when they died, and people just keep asking me to add more and more features :P
-
View User Profile
-
Send Message
Posted Oct 28, 2012Is it possible to make it where only worn items, held items even, are kept and everything else is lost? Would there be a way to manage different functions (way that the game decides to drop the items) per world? COuld there also be a way that certain items have a manageable drop rate?
I apologize in advance for asking a lot of questions
-
View User Profile
-
Send Message
Posted Oct 27, 2012@obfalcons919
If a permissions plugin exists that allows you to grant permissions to people in a certain specified area, then yes. Otherwise, no.
I'm afraid I don't know whether such a plugin exists :/
-
View User Profile
-
Send Message
Posted Oct 27, 2012Is there a way to set it so that they only keep their items in a certain specified area?
-
View User Profile
-
Send Message
Posted Oct 26, 2012@ferrybig
Yup.
-
View User Profile
-
Send Message
Posted Oct 26, 2012does it work with superperm?
-
View User Profile
-
Send Message
Posted Oct 26, 2012@Mutg1
Give the user/group the "-keep-items.item.388" node. Notice the "-" at the beginning - that's important.
Here's an example config that makes the player "robinjam" keep everything except emeralds when they die: https://gist.github.com/3957623
-
View User Profile
-
Send Message
Posted Oct 25, 2012@robinjam
I have PermissionsEX and the only way I see to doing my goal is to list keep-items.item.<all items except the one i want> and I currently have the permission keep-items.item.* but I want players to drop emeralds, but keep everything else. I still do not see an easy way to do this i tried - keep-items.item.* - keep-items.item.388=false and that didn't work either so is there a way to do this were I don't have to go - ... - keep-items.item.386 - keep-items.item.387 - keep-items.item.389 - keep-items.item.390 - so on/ect. So I also want to thank for the hard work you put into this because you way less lazy than me. But if the only way I can do it is the way I said then it would be very helpful if you had a file with the nodes for me. Thank you for your time, robinjam.
-
View User Profile
-
Send Message
Posted Oct 24, 2012@QBcrusher
When you die, KeepItems asks Bukkit to ask the permissions plugin whether or not you have permission to keep your items. If you want to configure this per-world, you'll need a multiworld permissions plugin.
Which permissions plugin are you using? I'll see if I can come up with an example config if it's a plugin I've used before.
-
View User Profile
-
Send Message
Posted Oct 24, 2012i like the plugin, but i cant seem to get it to work with multiple worlds. I only want it to restore items in a couple worlds, but it seems to act as all or nothing. I correctly configured the permissions, but still no luck