Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Kinyshu

CustomItemsDrop

Report CustomItemsDrop?

Plugin CustomItemsDrop

The CustomItemsDrop plugin allows players to receive loot in their inventory when breaking blocks and killing creatures.

Currently implemented

  • Loot drop from blocks
  • Loot drop from entities

Configuration example

# blocks:              :: List of blocks
# block_name:          :: Name of the block
# drop_name:           :: Name of the item
# permission:          :: Player's permission
# count:               :: Quantity to be added to the inventory
# percent:             :: Drop chance
# play_sound:          :: Play sound on success
# sound_name:          :: Name of the sound
# cancel_break_event   :: Cancel block break event
# loot_bonus_enchant   :: Add enchantment luck to quantity
# hide_enchantments    :: Hide item enchantments in lore
# name                 :: Name of the item (This item can be removed)
#                      :: Example: "<bold>Custom item name<bold>"
# lore                 :: Lore of the item (This item can be removed)
# enchantments         :: Enchantments of the item (This item can be removed)

blocks:
  spruce_log:
    spruce_log:
      permission: "none"
      count: 5
      percent: 5.0
      play_sound: true
      sound_name: "ENTITY_EXPERIENCE_ORB_PICKUP"
      cancel_break_event: true
      loot_bonus_enchant: false
      hide_enchantments: false
      name:
        - "<bold>Spruce log</bold>"
      lore:
        - "<bold>Custom lore</bold>"
      enchantments:
        unbreaking:
          level: 3
          ignore_level_restriction: false
    diamond:
      permission: "none"
      count: 1
      percent: 63.0
      play_sound: true
      sound_name: "ENTITY_EXPERIENCE_ORB_PICKUP"
      cancel_break_event: true
      loot_bonus_enchant: false
      hide_enchantments: false
      name:
        - "<blue>Diamond</blue>"
      lore:
        - "<bold>Custom lore</bold>"
      enchantments:
        unbreaking:
          level: 1
          ignore_level_restriction: false

Information

CategoryGameplay
Published onSeptember 10, 2024
LicenseUnspecified
Downloads25
Stars0
Watchers0

Pinned Versions

Members

Avatar for Kinyshu

Kinyshu

Owner