With this plugin, the items you specify are kept in your inventory when you die. And items will not be destroyed by factors such as lava, cactus, fire, lightning or explosion. You can set everything with the advanced config file.
Keep items in inventory
You can specify the items you want to keep in your inventory from these three points:
- Item ID
- Item Display Name
- Item's Custom Model Data Number
Protecting items from various factors
You can prevent your items from being lost by various factors:
- Lava
- Fire
- Cactus
- Explosions
- Lightning
config.yml:
Code (YAML):
item-guard-type:
specific-items:
enabled
: false
permission-requirement
:
#If you enable this, only players with this permission can use this feature
enabled
: false
permission
: 'itemguard.specificitems'
# DO NOT DELETE THE '-' EVEN IF YOU WANT TO LEAVE IT BLANK
items
:
- 'APPLE'
specific-item-names:
enabled
: false
permission-requirement
:
#If you enable this, only players with this permission can use this feature
enabled
: false
permission
: 'itemguard.specificitemnames'
# DO NOT DELETE THE '-' EVEN IF YOU WANT TO LEAVE IT BLANK
# Color codes '&' are not required. If you add color codes like &bExample it will not work
names
:
- 'Example'
custom-model-data:
enabled
: false
permission-requirement
:
#If you enable this, only players with this permission can use this feature
enabled
: false
permission
: 'itemguard.custommodeldata'
# DO NOT DELETE THE '-' EVEN IF YOU WANT TO LEAVE IT BLANK
items
:
- 'APPLE:1000'
# If you are using a version lower than 1.19, the anti despawn feature still works. But you may not see the items in
# cactus, lava or fire. However, if you close to where the item is, the item will come to your inventory
# So don't worry, the plugin will work without any problems.
anti-despawn
:
# If you do not want the items on the ground to be destroyed due to various factors, you can set them here.
lava:
enabled
: false
explosions:
enabled
: false
fire:
enabled
: false
cactus:
enabled
: false
lightning:
enabled
: false
If there is a problem, please contact me instead of just leaving a bad review.
Support (Discord):
https://discord.gg/hqVGrekw8f