MMOItems - Custom Blocks & Monsters' Drops

May 22, 2018 at 6:05 PM
MMOItems - Custom Blocks & Monsters' Drops

  • This Wiki section how to use the custom mob/block drops system.

    Data is stored in the drops.yml file, located in the main plugin folder.
    A working drops.yml setup:

    [​IMG]
    • The mobs config section corresponds to the items that drop whenever an entity dies.
      • You have to specify in order:
      • MOB_NAME
        • ITEM_TYPE (not case sensitive)
          • ITEM_ID
    • The blocks config section corresponds to the items that drop whenever a block is broken.
      • Format:
      • BLOCK_ID
        • ITEM_TYPE
          • ITEM_ID
    • The mythicMobs format will only work if MythicMobs is installed. This section lists all items that drop when a mythic mob dies.
      • Format:
      • MobInternalName
        • ITEM_TYPE
          • ITEM_ID

    You can configurate two values for each item:

    • The chance for your item to drop
    • The change of your item being unidentified.

    Instead of writing the entire config file, you can also copy this and replace the values by whatever you want.
    Code (Text):
    mobs:
      <MOB_TYPE>:
        <ITEM_TYPE>:
          <ITEM_ID>: <drop-chance>,<unidentified-chance>
    blocks:
      <BLOCK_ID>:
        <ITEM_TYPE>:
          <ITEM_ID>: <drop-chance>,<unidentified-chance>
    mythicMobs:
      <MYTHIC_MOB_ID>:
        <ITEM_TYPE>:
          <ITEM_ID>: <drop-chance>,<unidentified-chance>
  • Loading...
  • Loading...