Configuration Examples

The configuration for this plugin can be a bit confusing at first, so here are some examples to make it easier:

Enchantments

items:
  diamond_sword:
    spawn:
      chance: 100
      stack: '1-1'
    effects:
      damage_all:
        chance: 100
        lvl: '10-30'
      damage_arthropods:
        chance: 100
        lvl: '5-5'
      damage_undead:
        chance: 100
        lvl: '5-5'
      fire_aspect:
        chance: 100
        lvl: '2-2'
      knockback:
        chance: 100
        lvl: '2-2'
      loot_bonus_mobs:
        chance: 100
        lvl: '3-3'

Potions

items:
  potion:
    spawn:
      chance: 100
      stack: '3-30'
    effects:
      random1:
        chance: 100
        lvl: '1-2'
        splash: true
        extend: true

Books

items:
  written_book:
    spawn:
      chance: 100
      stack: '1-1'
    properties:
      book:
        title: A Manly Confrontation
        author: Kmacho
        pages:
        - "I'm not sure of what to write. I'm just makin it look legit."
        - "Damn, I forgot I had to test a second page. Here it is."

Colored Leather

items:
  leather_helmet:
    spawn:
      chance: 100
      stack: '1-1'
    properties:
      color:
        red: 100
        green: 25
        blue: 25

More than one of the same item

* You need to use the item name, not id.
items:
  potion-1:
    spawn:
      chance: 100
      stack: '3-30'
  potion-2:
    spawn:
      chance: 100
      stack: '3-30'