Inventory Protection Crystals is a simple plugin but can be extremely useful in let's say factions servers. Upon death if your inventory contains an Inventory Protection Crystal all your items and armor will not be dropped but will be restored to you upon re-spawn. Upon death the crystal will be destroyed, if that is set to true, by default it is.
- /IPC self - Give yourself a Inventory Protection Crystal
- /IPC give (player) (amount) - Give a player x amount if Inventory Protection Crystals
- /IPC giveall (amount) - Gives all online players x amount of Inventory Protection Crystals.
- /Restore - Restores your inventory if you rejoin after quitting to the title screen or leaving the server upon death.
- IPC.Command - Need this to use other commands
- IPC.Command.Give
- IPC.Command.Giveall
- IPC.Command.Self
- IPC.Restore - Allow users to use /restore
- IPC.Command.* - Gives all permissions.
PHP:
Crystal:
Item: 381
Meta: 0
Name: "&6&lInventory&E&lProtection&6&lCrystal"
Lore:
- "&7Upon death if you have this within"
- "&7your inventory, items will not drop"
- "&7and will be restored on respawn."
Destroy-Crystal-On-Death: true
#Adds support if the player quits to title screen, they can /restore upon next rejoin.
Restore-If-Player-Quits-Then-Joins: true
#Would you like to prevent the IPC from being dropped?
Prevent-Drop: true
Drop-Prevent-Msg:
- ""
- "&cYou cannot drop &6Inventory Protection Crystals!"
- ""
#If the IPC item is throwable, would you like to prevent users from throwing it?
Prevent-Throw-If-Possible: true
Prevent-Throw-Msg:
- ""
- "&cYou cannot throw &6Inventory Protection Crystals!"
- ""
- You may not decompile this plugin without permission.
- You cannot sell this plugin
- You cannot claim this plugin as yours.
- play.ruthless-mc.net
- mc.ruthless-mc.net
- tcminecraft.com
Download:
https://www.spigotmc.org/resources/...7-1-11-protect-your-inventory-on-death.37090/[/FONT]
