RandomDrop [InventoryKeeper Addon | 1.7 - 1.17] icon

RandomDrop [InventoryKeeper Addon | 1.7 - 1.17] -----

Drop / clear items randomly when player dies.



Introduction:
This is an addon for InventoryKeeper. With this plugin, you can make player drop / clear items randomly on death.

Features:
  1. Hex color support
  2. Hover messages to get more item info

Requirement:
InventoryKeeper v2.1.1+ is required.

Commands & Permissions:
/rd reload - Reload messages (config.yml)
Permission: randomdrop.reload

To reload items.yml, use /invkeep reload

Usage:
To enable Random Drop:
Add following contents to an item setting in items.yml (InventoryKeeper plugin folder)
Code (YAML):
    #Maximum amount of items would drop on death (Add this to enable feature.)
    max-drop
: 2
    #An item if contains one line of following lores will not drop on death. (Optional)
    #No need to match exactly, once a line contains following contents is okay.
    exempt-drop-lore
:
   - '&6Protected item'
    #An item ID if contains following contents will not drop on death. Numeric IDs are UNSUPPORTED.
    #Example: IRON -> means all items ID contains "IRON" will not drop.
    exempt-drop-material
:
   - 'GOLDEN_APPLE'
To enable Random Clear:
Add following contents to an item setting in items.yml (InventoryKeeper plugin folder)
Code (YAML):
   max-clear : 1
    exempt-drop-lore
:
   - '&6Protected item'
    exempt-drop-material
:
   - 'GOLDEN_APPLE'
Screenshots:
[​IMG]
hoverable message
Resource Information
Author:
----------
Total Downloads: 262
First Release: Aug 22, 2021
Last Update: Aug 22, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings