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 Mar 7, 2012@allix8
I'm glad you got it working. Thanks again for helping me debug - I'll try and fix this plugin so it works properly with MyHome.
@shutka @spunkiie
Yup, I agree :P I only did it this way because it was significantly easier to code.
-
View User Profile
-
Send Message
Posted Mar 7, 2012Yeap, saving the XP/itens in inventory would be kick ass :P
-
View User Profile
-
Send Message
Posted Mar 6, 2012@robinjam
I found a reason not to work correctly for your plugin. This is because the plug-MyHome after death, he teleports not spawn, but the point home. "respawnToHome: true" making "false" and everything works correctly, thanks for the plug! Hopefully in the future, plug-in will return the equipment and teleport back home!
-
View User Profile
-
Send Message
Posted Mar 6, 2012@allix8
I'll try and rewrite the plugin so it returns the items directly to your inventory rather than dumping them at your feet.
-
View User Profile
-
Send Message
Posted Mar 6, 2012@robinjam
Hi, and so the news. Changed the spawn point, in general, when you die, revives not spawn, and at the point where he died. After clicking revive all the items appear to spawn, just lying around, all they could find.
-
View User Profile
-
Send Message
Posted Mar 5, 2012that plugin would be awesome with vault support for economy
-
View User Profile
-
Send Message
Posted Mar 5, 2012@allix8
Could you try resetting the spawn point using CommandBook and let me know if it works then?
Thanks for helping me debug this.
-
View User Profile
-
Send Message
Posted Mar 5, 2012@robinjam
Yes, the drop disappears, tested several times. Real-time cleaned permission to keepitems and drop remained on the place of death.
-
View User Profile
-
Send Message
Posted Mar 5, 2012@allix8
Do your items appear where you died or do they disappear?
If the latter is true, you might want to double-check that your spawn point is not inside the ground (Minecraft automatically moves you to a safe spot when you respawn so you wouldn't notice).
-
View User Profile
-
Send Message
Posted Mar 5, 2012A similar problem is, inventory is not stored. Just do not plug the conflict, there was only PEX and keepitems.
CraftBukkit version git-Bukkit-1.1-R6-31-g0545c46-b2032jnks (MC: 1.2.3)
PEX - version: 1.19
users:
test:
prefix: '&4 '
inheritance:
- People
group:
- admins
permissions:
- '*'
- admincmd.*
- keep-items.items
- keep-items.experience
-
View User Profile
-
Send Message
Posted Mar 5, 2012@shutka
Will you please stop telling me what to do and answer my question so that I can help you?
"What plugins do you have installed, and which version of CraftBukkit are you using?"
-
View User Profile
-
Send Message
Posted Mar 5, 2012@shutka
I tested all 3 permissions nodes individually, both as op and as a regular player, and it works.
One thing you could try is re-setting your spawn point. If it's currently underground or inside a wall or something, Minecraft will automatically move you to the nearest safe spot when you respawn, but your items will be dropped at the spawn point (so you won't be able to see them).
Failing that, I think the only other possibility is a plugin conflict.
-
View User Profile
-
Send Message
Posted Mar 4, 2012@shutka
It already works with PEX (it was tested on CraftBukkit v1.1-R6 with PEX v1.19). You either have a conflict with another plugin or your permissions are set up wrong. What plugins do you have installed, and which version of CraftBukkit are you using?
-
View User Profile
-
Send Message
Posted Mar 4, 2012@shutka
Which permissions plugin are you using? It needs to support superperms to work properly.
-
View User Profile
-
Send Message
Posted Mar 3, 2012@Cilicou
Do your items and experience drop where you died or do they disappear?
-
View User Profile
-
Send Message
Posted Mar 3, 2012I have some problems .. when i look at the active plugins it says that keepitems is activate but everytime i die i lost all my ex and my objects ! Also the plugin works only if I op myself !
-
View User Profile
-
Send Message
Posted Mar 2, 2012Added permissions support.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@zathrus_writer
+1 , that would be really great
-
View User Profile
-
Send Message
Posted Feb 27, 2012@SoraSatoshi
That's possibly a feature to add in the future. I only did it this way because it was far easier to code :P
-
View User Profile
-
Send Message
Posted Feb 23, 2012It would be great if the items were put in the players inventory instead of being dropped on the ground.