Skip to content

Custom.yml Reference

deathmarine edited this page Dec 9, 2012 · 5 revisions

Editing your Custom.yml


To edit your custom.yml to include custom items defined by you, simply edit the custom.yml with any standard text editing software. A special editor is recommended like Notepad++ or one that specifically understands yaml markup.

The plugin is designed to recognize items entered in a specific format.

Line 1: is your item name.

Material:https://github.com/deathmarine/DiabloDrops/wiki/Materials

Color: (Black,Dark_Blue,Dark_Green,Dark_Aqua,Dark_Red,Dark_Purple,Gold,Gray,

Dark_Gray,Blue,Green,Aqua,Red,Light_Purple,Yellow,White,Magic,Bold,Strike,Underline,Italic)

Enchantments: Type: Lvl

https://github.com/deathmarine/DiabloDrops/wiki/Enchantments

Item name:
  Material: Bukkit_Style_Material
  Color: Bukkit_Style_Color
  Enchantments:
    DAMAGE_ALL: Level
    DAMAGE_ARTHROPODS: 2
    DAMAGE_UNDEAD: 3
    DIG_SPEED: 4
    DURABILITY: 5
    FIRE_ASPECT: 6
    KNOCKBACK: 7
    LOOT_BONUS_BLOCKS: 8
    LOOT_BONUS_MOBS: 9
    OXYGEN: 10
    PROTECTION_ENVIRONMENTAL: 11
    PROTECTION_EXPLOSIONS: 12
    PROTECTION_FALL: 13
    PROTECTION_FIRE: 14
    PROTECTION_PROJECTILE: 15
    SILK_TOUCH: 16
    WATER_WORKER: 17
    ARROW_DAMAGE: 18
    ARROW_FIRE: 19
    ARROW_KNOCKBACK: 20
    ARROW_INFINITE: 21
  Lore:
  - 'In here you can type whatever you want'
  - '&fThis includes &bampersand &fcolor codes'
  - 'You can also include lore.txt effects'
  - '+12 Damage'
  - '-100 Invisibility'
  - '-10 Speed'
  - '+5 Leech'
#Examples#
Death Sword:
  Material: Diamond_Sword
  Color: White
  Enchantments:
    DAMAGE_ALL: 9
    DAMAGE_ARTHROPODS: 9
    DAMAGE_UNDEAD: 9
    DURABILITY: 9
    FIRE_ASPECT: 9
  Lore:
  - '&8Mystic medievil sword for &6Marines'
  - '&4Never need another one again.'
Topple the Nun:
  Material: Stick
  Color: Bold
  Enchantments:
    KNOCKBACK: 10
  Lore:
  - '&bKeeps them kids in line.'
Clone this wiki locally