RandomDrop Addon

RandomDrop Addon

84 Downloads
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
Usage:
To enable Random Drop:
Add following contents to an item setting in items.yml (InventoryKeeper plugin folder)
    #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)
    max-clear: 1
    exempt-drop-lore:
    - '&6Protected item'
    exempt-drop-material:
    - 'GOLDEN_APPLE'

 Screenshots:

hoverable message