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 8, 2012@shutka
I *could*, but it was a feature intended to dissuade people from abusing this plugin as a way of quickly teleporting back to their bed, so I don't think changing it would be a very good idea. I guess it depends how much you trust the members of your server though.
-
View User Profile
-
Send Message
Posted Mar 8, 2012EDIT: Wow, setting the permissions one by one WORKED.. weeee
Doesn't work :(
I'm testing with ONLY latest PEX and keepitems, here's my permissions:
With this setup, all XP and items should be keept after dead. But both are staying on the ground :(
-
View User Profile
-
Send Message
Posted Mar 8, 2012@shutka
Yeah, your level should stay the same but your progress towards the next level should be reset as a penalty for death.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@shutka @spunkiie @allix8
I've changed it so by default only ops keep their items and experience when they die. Could you grab the latest dev build from http://ci.robinjam.net/job/KeepItems/lastStableBuild/artifact/target/keepitems-0.1.3-SNAPSHOT.jar and let me know how you get on? Thanks.
-
View User Profile
-
Send Message
Posted Mar 8, 2012robinjam
Changing default to FALSE would be a great solution :)
Please do this so we can test. TY
-
View User Profile
-
Send Message
Posted Mar 8, 2012@shutka
You shouldn't really directly alter plugin.yml. If you want to block specific users or groups from keeping their items/experience when they die, try something like this: https://gist.github.com/2001595
That said, I might have to change this plugin so the permissions default to false, since it's causing a lot of confusion.
-
View User Profile
-
Send Message
Posted Mar 8, 2012one question
how to disable PEX in the ability to save the experience and equipment
KeepItems to work only for certain players.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@spunkiie
Im running KeepItems (B: KeepItems v0.1.2 for CB 1.2.3-R0.1) and PEX (R: PermissionsEx v1.19 (Package) for CB 1.1-R6 Mar 02, 2012) and used the same permissions sets as you:
- -keep-items.items - -keep-items.experience
and both work for me.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@spunkiie
But the two permissions nodes are treated in exactly the same manner in the code (https://github.com/robinjam/KeepItems/blob/master/src/main/java/net/robinjam/bukkit/keepitems/KeepItems.java#L54).
The only explanations I can think of are either a misconfigured permissions system or a plugin conflict. In order to help you, I'll need to see your permissions.yml file, a list of plugins you have installed, and any errors in your server logs.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@robinjam
I'm using PEX. The problem is JUST with the 'keep-items.items' permission NODE.
Let me explain.
Test ONE: I run the plugin without any permission set. All players keep their XP and items when die. OK, this is exactly what should happen.
Test TWO: I set the permission node: '- -keep-items.experience' - Now all my players doesn't keep the XP when die. Perfectly, the permission worked.
Test THREE: I set the permission node '- -keep-items.items' - Players still keep their items when die. The permission node is not working.
As you can see, it's pretty impossible to be a problem with my permission system or my plugins, because the node keep-items.experience is working like a charm, the problem is ONLY with the node: keep-items.items
Please double check it
-
View User Profile
-
Send Message
Posted Mar 8, 2012@shutka
I just tested KeepItems v0.1.2 on CB #2040 with PermissionsEx v1.19 as a non-op, with the following permissions.yml file and it works as expected (I lose my items but keep my experience when I die): https://gist.github.com/2001595
Could you double-check your permissions config for typos, and also see if there are any errors in the server logs?
A list of plugins might also help in diagnosing the problem, simply run the "plugins" command on the server and copy-paste its output.
Thanks, and I'm sorry this plugin isn't working for you :(
-
View User Profile
-
Send Message
Posted Mar 8, 2012@spunkiie
are you using bukkitperms? Try this:
OR
and parse your .yml file (google "free yaml parser")
-
View User Profile
-
Send Message
Posted Mar 8, 2012@spunkiie
Strange, it's working fine for me :(
Could I take a look at your permissions.yml file?
-
View User Profile
-
Send Message
Posted Mar 7, 2012Nope.. there's still a problem in fact :(
even if I set the permission: - -keep-items.items players still keep their items upon dead. If I set - -keep-items.experience players lose their XP upon dead as expected. So the problem is with: keep-items.items only.
Please take a look onto this ASAP
-
View User Profile
-
Send Message
Posted Mar 7, 2012Nevermind.. I noticed that it's a default for everyone, so setting the right permission did the trick. This plugin is great, pelase give me your paypal e-mail for a little gift :)
-
View User Profile
-
Send Message
Posted Mar 7, 2012Version 0.1.2 is keeping experience, but permission nodes are not working.
I'm using PEX, I haven't given the 'keep-items.experience' to my players, but they are still keeping XP after dead.
-
View User Profile
-
Send Message
Posted Mar 7, 2012@shutka
CraftBukkit version?
-
View User Profile
-
Send Message
Posted Mar 7, 2012@morizuki
If you disconnect and reconnect, you should still get your items back when you respawn. If the server restarts while you're disconnected, your items will drop where you died.
-
View User Profile
-
Send Message
Posted Mar 7, 2012Can u still keep the items if u accidentally click the title screen when u die and connect again?
-
View User Profile
-
Send Message
Posted Mar 7, 2012v0.1.2 is done and is now awaiting review. This should fix the issues you guys have been having with plugins that alter players' spawn points (like MyHome).