robinjam / keep-items

Bukkit plugin allowing players to keep their items and experience when they die
http://dev.bukkit.org/server-mods/keep-items
GNU General Public License v3.0
1 stars 7 forks source link

Keep items based on Enchantment level/NBT? #9

Open Darkhand81 opened 11 years ago

Darkhand81 commented 11 years ago

Would it be possible to keep items based on enchantment levels or even on custom NBT tags? For example, I'd like to be able to give donors special weapons/armor that are powerful and kept on death. Using other plugins, I could enchant them with level 10 enchants or any other normally-unobtainable enchantment level which would mark the items as donor-only. These items would then stay with the player when they died, since they donated to get them.

A permission like keep-items.enchant.10 could be set to keep all items with an enchant level of 10.

A step further would be a custom NBT tag to mark individual items as keep-on-death, but that might be getting a little too advanced... Enchantment levels would do just fine!