CustomDrop [1.8 - 1.21] icon

CustomDrop [1.8 - 1.21] -----

Fully configurable drops of break blocks and kill entities



Compiled with Java 8

Allow custom the drop of break blocks and kill entities

Fully configurable BLOCK and ENTITY in config.yml
Also you can modify if FORTUNE and LOOTING enchant will work or not.


Use Minecraft Materials to consult name of blocks and materials for version between 1.13 and 1.21 inclusive
Use Minecraft ID List to consult name of blocks and materials for version between 1.8 and 1.12 inclusive
Use Entity Type to consult name of entities for all versions

If you found any bug, report it here

upload_2024-8-21_22-37-16.png

Code (YAML):

config
:

  # List of allowed worlds in which the plugin works
  allowed-worlds
:
   - world
    - world_nether
    - world_the_end

  # Enable/Disable the custom drop option entity or block
  custom-drop
:
    entity
: true
    block
: true

  # Enable/Disable the new version available message (update-message)
  update-checker
: true

  # Variables: %plugin%, %version%, %latestversion%, %link%
  update-message
: ' %plugin% &bNew version available &e(&f%latestversion%&e)&b. Download it here: &7%link%'

messages
:

  # Variables: NA
  help
:
   - '&b< -----------------&aCOMMANDS CUSTOMDROP&b ----------------->'
    - '&e/customdrop help &7Show this message'
    - '&e/customdrop reload &7Reload plugin config'
    - '&e/customdrop version &7Show plugin version'
    - '&e/customdrop author &7Show plugin author'
    - '&e/customdrop plugin &7Show plugin download link'
    - '&e/customdrop permissions &7Show plugin permission list'
    - '&7Aliases
: &ecustomdrop&7, &ecd'

  # Variables: %plugin%
  reload
: ' %plugin% &aThe plugin has been reloaded'

  # Variables: %plugin%, %version%, %latestversion%
  version
: ' %plugin% &aPlugin version: &b%version%'

  # Variables: %plugin%, %author%
  author
: ' %plugin% &aPlugin author: &b%author%'

  # Variables: NA
  permissions
:
   - '&b< -----------------&aPERMISSIONS CUSTOMDROP&b ----------------->'
    - '&ecustomdrop.* &7OP permissions'
    - '&ecustomdrop.help &7Allow to use &e/customdrop help'
    - '&ecustomdrop.reload &7Allow to use &e/customdrop reload'
    - '&ecustomdrop.version &7Allow to use &e/customdrop version'
    - '&ecustomdrop.author &7Allow to use &e/customdrop author'
    - '&ecustomdrop.plugin &7Allow to use &e/customdrop plugin'
    - '&ecustomdrop.permissions &7Allow to use &e/customdrop permissions'
    - '&ecustomdrop.updatechecker &7Allow receive message if there is an update'

  # Variables: %plugin%
  command-no-argument
: ' %plugin% &7Use &e/customdrop help &7to see the command list'

  # Variables: %plugin%
  no-perm
: ' %plugin% &cYou don`t have permission to use that command'

  # Variables: %plugin%
  console-error
: ' %plugin% &cYou can`t use that command in console'

  # Console messages for block break error
  block
:
    # Variables: %plugin%, %dropdata%, %targetblock%
    invalid-material-id
: ' %plugin% &4&lERROR! &cInvalid material ID &4%dropdata% &cin config for block ID &4%targetblock%'
    invalid-drop-id-format
: ' %plugin% &4&lERROR! &cInvalid drop ID format &4%dropdata% &cin config for block ID &4%targetblock%'
    invalid-drop-format
: ' %plugin% &4&lERROR! &cInvalid drop format &4%dropdata% &cin config for block ID &4%targetblock%'
    # Variables: %plugin%, %targetblock%
    unexpected-error
: ' %plugin% &4&lERROR! &cAn unexpected error occurred while processing drops for block ID &4%targetblock%'
    # Variables: %plugin%, %dropdata%
    right-drop-format
: ' %plugin% &4&lERROR! &cBe sure you have the right format similar to this: &4%dropdata%;1;3;9;true'

  # Console messages for entity kill error
  entity
:
    # Variables: %plugin%, %dropdata%, %targetentity%
    invalid-material-id
: ' %plugin% &4&lERROR! &cInvalid material ID &4%dropdata% &cin config for entity &4%targetentity%'
    invalid-drop-id-format
: ' %plugin% &4&lERROR! &cInvalid drop ID format &4%dropdata% &cin config for entity &4%targetentity%'
    invalid-drop-format
: ' %plugin% &4&lERROR! &cInvalid drop format &4%dropdata% &cin config for entity &4%targetentity%'
    # Variables: %plugin%, %targetentity%
    unexpected-error
: ' %plugin% &4&lERROR! &cAn unexpected error occurred while processing drops for entity &4%targetentity%'
    # Variables: %plugin%, %dropdata%
    right-drop-format
: ' %plugin% &4&lERROR! &cBe sure you have right format similar to this: &4%dropdata%;1;3;9;true'

# If you are using version between 1.13 and 1.21 inclusive use this format and delete down format
drop
:
  # Entity drops configuration
  # Minecraft Entity Type: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
  # Minecraft Material: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  entity
:
    zombie
: # Entity name
      default-drop
: false # Enable/Disable default drops
      drops
:
        # itemID;minAmount;maxAmount;percentage;lootingAffects
        # If maxAmount is lower than minAmount they automatically change its values
        # If percentage is upper than 100 automatically set to 100, and if is lower than 0 automatically set to 0
        # If lootingAffects is true, the number of drops is between (minAmount) and (maxAmount * (lootingLevel + 1))
        - zombie_head;0;1;1;false
        - lapis_lazuli;1;3;6;true
    skeleton
:
      default-drop
: true
      drops
:
       - spectral_arrow;0;2;5;true

  # Block drops configuration
  # Minecraft Material: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  block
:
    stone
: # Block name
      default-drop
: false # Enable/Disable default drops
      drops
:
        # itemID;minAmount;maxAmount;percentage;fortuneAffects
        # If maxAmount is lower than minAmount they automatically change its values
        # If percentage is upper than 100 automatically set to 100, and if is lower than 0 automatically set to 0
        # If fortuneAffects is true, the number of drops is between (minAmount) and (maxAmount * (fortuneLevel + 1))
        - iron_ingot;1;3;12;false
        - cobblestone;1;1;100;false
    gold_ore
:
      default-drop
: true
      drops
:
       - gold_nugget;2;6;10;true


# If you are using version between 1.8 and 1.12 inclusive use this format and delete up format
# If the item ID has a Sub-ID you must write the numeric ID and Sub-ID, otherwise you can write the text ID or numeric ID
#drop:
#  # Entity drops configuration
#  # Minecraft Entity Type: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
#  # Minecraft Material: https://www.minecraftinfo.com/IDList.htm
#  entity:
#    zombie: # Entity name
#      default-drop: false # Enable/Disable default drops
#      drops:
#        # itemID;minAmount;maxAmount;percentage;lootingAffects
#        # If maxAmount is lower than minAmount they automatically change its values
#        # If percentage is upper than 100 automatically set to 100, and if is lower than 0 automatically set to 0
#        # If lootingAffects is true, the number of drops is between (minAmount) and (maxAmount * (lootingLevel + 1))
#        - 397:2;0;1;1;false # Mob Head (Zombie) (ID 397:2)
#        - 351:4;1;3;6;true # Lapis Lazuli (ID 351:4)
#    skeleton:
#      default-drop: true
#      drops:
#        - 265;0;2;5;true # Iron Ingot (ID 265)
#
#  # Block drops configuration
#  # Minecraft Material: https://www.minecraftinfo.com/IDList.htm
#  block:
#    1: # Stone (ID 1)
#      default-drop: true # Enable/Disable default drops
#      drops:
#        # itemID;minAmount;maxAmount;percentage;fortuneAffects
#        # If maxAmount is lower than minAmount they automatically change its values
#        # If percentage is upper than 100 automatically set to 100, and if is lower than 0 automatically set to 0
#        # If fortuneAffects is true, the number of drops is between (minAmount) and (maxAmount * (fortuneLevel + 1))
#        - 265;1;3;12;false # Iron Ingot (ID 265)
#        - 12:1;0;1;33;false # Red Sand (ID 12:1)
#      1: # Granite (ID 1:1)
#        default-drop: false
#        drops:
#          - 266;1;2;10;true # Gold Ingot (ID 266)
#          - 1:2;1;1;100;false # Polished Granite (ID 1:2)
#    4: # Cobblestone (ID 4)
#      default-drop: false
#      drops:
#        - 1;1;2;20;false # Stone (ID 1)
#        - 13;1;1;100;false # Gravel (ID 13)

 
Resource Information
Author:
----------
Total Downloads: 125
First Release: Aug 17, 2024
Last Update: Aug 21, 2024
Category: ---------------
All-Time Rating:
0 ratings
Find more info at beamondo.github.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings