Give your players a second chance!
Having the token anywhere in players inventory will keep all items and consume the token.
Model / texture is not included
Message after death
Features
✔ Customize the tokens name, material, lore and model data
✔ Customize plugin messages
✔ Blocks usage of the token in crafting table and anvil
Default config.yml
Code (YAML):
messages:
player-saved-notify: - '&7
[i
] Your items have been kept, because you had a keep inventory token in your inventory!'
no-permission: - '&c
[i
] You do not have permission to use this command.'
item:
material: GOLD_NUGGET
name: '
#6772a9Keep Inventory Token' lore: - '&7Keeps your inventory after death.'
- '&7Must be inside your inventory.'
- ' '
- '
#3a3277Item will be consumed on death.' modeldata: 0
Commands /itoken reload
/itoken give [player] (amount)
Permission for both commands is itokens.command
Bugs / feedback Contact me at Septicuss#4273 on Discord for any feedback, feature requests or bugs.