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 Sep 16, 2012Okay, I now realize how confusing my last message was. This is normal config entry in my perms:
keep-items.items: true
I want options like this:
keep-items.items.50: true
The above would give 50% chance. Instead of the % being in your config file. Hope this clarifies.
-
View User Profile
-
Send Message
Posted Sep 14, 2012@fichita
keep-items.experience was split into keep-items.level and keep-items.progress a while ago.
What exactly are you trying to set up? Do you want normal players to lose everything when they die and VIPs to keep just their experience when they die?
-
View User Profile
-
Send Message
Posted Sep 14, 20125 monts ago u reply this in a tickey... is that permission working ???
"This is already implemented - just give players the keep-items.experience permission but not the keep-items.items permission."
-
View User Profile
-
Send Message
Posted Sep 14, 2012That didnt work :( Now i switched to GROUP-MANAGER cus Essentials.JoinFullServer isnt working either.
Now my config is like this:
Default: - -keep-items.* - keep-items.armor
VIP: - keep-items.*
-
View User Profile
-
Send Message
Posted Sep 14, 2012@fichita
You don't need to take away the keep-items.cause.* and keep-items.entity.* permissions from normal users. Try removing those from your permissions setup and see if that works.
I'm sorry if the documentation isn't up to scratch, but it's really hard to write good documentation :/
-
View User Profile
-
Send Message
Posted Sep 14, 2012HI i wanna make my vips users, dont loose ONLY their exp, is this OK ???
Normal users have the following perms: keep-items.*: false keep-items.cause.*: false keep-items.entity.*: false
VIP users have these:
keep-items.*: true keep-items.armor: false inheritance: - Default <
-normal usersDropchance is set to 1
Any help ???? Thanks in advance :)
-
View User Profile
-
Send Message
Posted Sep 10, 2012@mercury19
Taking away the keep-items.entity.* permission and giving keep-items.entity.player instead should do it.
@PremiumHHH
I'll see if I can put together some example permissions configs for PEX, since that's what everybody seems to use.
@Kimberly2000
That's not currently possible, I'm afraid. I'm not sure how best to implement something like that since the Bukkit permissions API doesn't have a concept of groups. If you have any suggestions, they'd be appreciated.
@dockter
This plugin originally didn't have permissions support, and I didn't want to break backwards compatibility or require people to install a permissions plugin to continue using this plugin.
-
View User Profile
-
Send Message
Posted Sep 8, 2012It's either letting all players, protect items, or no players protect items. I have done the -keep-items.* to some groups, but it doesn't do anything.
-
View User Profile
-
Send Message
Posted Aug 28, 2012Is there a set of permissions i can use to make it so that players only lose there inventory if there are killed by another player? Or rather, which permissions should i not include?
-
View User Profile
-
Send Message
Posted Aug 28, 2012Is there a way to make it so that a player will lose there stuff when they are killed by another player, but not in any other way?
-
View User Profile
-
Send Message
Posted Jun 10, 2014I would also like to know this..
and it would be alot more usefull
-
View User Profile
-
Send Message
Posted Aug 28, 2012Maybe I just don't know how to do this with the plugin, or perhaps it isn't in the program. If its not in, can you add it?
How to make the drop rate different for each permission group?
The better player you are on my server, the longer you have played, the higher your permission group. The higher your group the more chance I would like you to be able to drop items.
Noobs should never loose anything.
-
View User Profile
-
Send Message
Posted Aug 25, 2012Guuys, If you have problem with permissions - keep-items.* -> Use - keepitems.* (this is useful for PEX, and my PEX does't work with - keep-items.*) Im use 1.3.1 bukkit.
-
View User Profile
-
Send Message
Posted Aug 23, 2012Flipping the perms and making it true in the plugin.yml, terrible idea imo.
-
View User Profile
-
Send Message
Posted Aug 21, 2012Is there any bugs in keepitems becuase im using scavanger and some players saying their items get duped
thanks
-
View User Profile
-
Send Message
Posted Aug 19, 2012Is there any way to make this work with AntiPVPLogger?
Items get removed from a players inv if they combat log but they don't drop on the floor, even when the group has - -keep-items.*
-
View User Profile
-
Send Message
Posted Aug 16, 2012@HexaDroid
Why would you give everything by default
So that people without a permissions plugin can use KeepItems.
For example a user is in STAFF and in MEMBER, if member has - -keep-items.* but staff does not. Staff will still lose their items....
You should be able to just give staff keep-items.* since PEX resolves permissions from the bottom of the inheritance tree upwards.
@DarthCube
That would be possible, but may I ask why it would be useful?
-
View User Profile
-
Send Message
Posted Aug 16, 2012Why would you give everything by default. it screws over permissions where people are in more than one group.
For example a user is in STAFF and in MEMBER, if member has - -keep-items.* but staff does not. Staff will still lose their items....
-
View User Profile
-
Send Message
Posted Aug 15, 2012hi, can u add the possibility of keep-hotbar?
if player die, he will lose his inventory, but all his items in hotbar, will not be droped.
-
View User Profile
-
Send Message
Posted Aug 14, 2012@seth5728
I actually fixed that - from version 1.0.rc2 onwards, when you die, you get your items back even if the server crashes or restarts before you respawn :D