ItemKeeper is a simple plugin that allows admins to set items as permanent. Once an item is marked as permanent, it can never leave the player forcefuly. Upon death, the item will be restored to the player's inventory. It's like KeepInventory for a single item, keepInventory per item, but also transferable.
Features
Custom display name and lore on "permanent" items
Usage To mark an item as "permanent", you need to:
Hold the item
Run the following command
Code (Text):
/keep
Alternative: using item NBT
Add the tag "keep" to the NBT of any item.
Code (Text):
/give @s minecraft:stone{keep:1b}
The item will now be marked as "permanent" and can no longer be lost. The permanence of the item is tied to the item itself, not the player. So the permanent items can be transfered from player to player.
Commands and Permissions
Commands
/keep - switch the state from permanent to non-permanent
/itemkeeper reload - reload the config
Permissions
itemkeeper.keep - permission to run the command /keep
itemkeeper.reload - permission to run the command /itemkeeper reload
Config The config is used to edit messages sent to players. Default config:
Code (YAML):
messages:
itemKeepable: "&aYour Item will now be kept with you at all times!" itemNotKeepable: "&cYour Item will no longer be kept with you at all times!" playerOnly: "&cYou must be a player to run this command!" permissionDenied: "&cYou don't have permission to use this command!" reload: "&aThe config has been reloaded"
Installation
Download the JAR file from the github repository or the spigot page
Place the JAR file in your server's plugins folder
Restart your server
Video & Images
Notes
No updates are currently planned. This is an ultra-simple plugin designed for one specific use case.
If someone dies and stays on the respawn screen until the server stops/crashes, the "permanent" items will be effectively lost
Items marked as "permanent" can still be transferred from player to player. The player that dies with the item will get the item back