MMOItems - Custom Blocks & Monsters' Drops

Dec 30, 2017
MMOItems - Custom Blocks & Monsters' Drops

  • This Wiki section how to use the custom mob/block drops system.
    Here is an example of a working drops.yml file:

    [​IMG]
    • It means that whenever a Zombie is killed, the item (which Item ID is 'RAPIER' and which type is 'sword') have a 57% chance to drop and a 85% chance to be unidentified when dropped.
      • Same for BANDAGE which has a 100% chance to drop when the same Zombie dies.
    • The 'blocks' section means that whenever a player breaks a Cobblestone block, the item which ID is 'BANDAGE' and which type is 'consummable' have a 10% chance to drop from the block.
    • This drop system also supports MythicMobs. Use the mythicMobs section in this file to add custom drops to MythicMobs monsters.
    Don't forget to put the drops.yml file in the main MMOItems plugin folder :p

    Here is the format you must use:
    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>
    The system is not case sensitive, which means it doesn't require you to put cases everywhere. However editing a clear file is way easier, so I recommend you to do it if you really have a lot of drops to add.
    It is recommended to use Notepad++ if you have lots of drops to add. Tip: use the - at the left of the text which allows you to hide a part of the file.
  • Loading...
  • Loading...