Config

Configuration

Default Configuration File

fuel:
# initial fuel amount and fuel amount per refill
  ironFuel: 200
  goldFuel: 400
  diamondFuel: 800
# maximum fuel amount
  ironMaxFuel: 400
  goldMaxFuel: 800
  diamondMaxFuel: 1600
# items that are used to refill fuel
# put the armor to be refilled and the item specified in this section into a crafting menu
  refill_item:
    iron: iron_block
    gold: gold_block
    diamond: diamond_block
# recipes list
# recipe shapes can contain 3 lines and can consist of keys between a-i
# label the keys in the ingredients section
recipes:
  nametag:
    ingredients:
    - ink_sack
    - feather
    - paper
  saddle:
    shape:
      0: aaa
      1: b b
    ingredients:
      a: leather
      b: iron_ingot
  iron_barding:
    shape:
      0: aba
      1: aaa
    ingredients:
      a: iron_ingot
      b: saddle
  gold_barding:
    shape:
      0: aba
      1: aaa
    ingredients:
      a: gold_ingot
      b: saddle
  diamond_barding:
    shape:
      0: aba
      1: aaa
    ingredients:
      a: diamond
      b: saddle
  iron_barding_magic:
    shape:
      0: cbc
      1: aaa
    ingredients:
      a: iron_ingot
      b: saddle
      c: iron_block
  gold_barding_magic:
    shape:
      0: cbc
      1: aaa
    ingredients:
      a: gold_ingot
      b: saddle
      c: gold_block
  diamond_barding_magic:
    shape:
      0: cbc
      1: aaa
    ingredients:
      a: diamond
      b: saddle
      c: diamond_block

In-deth explanation

In this section every config part will be explained in more detail


  ironFuel: 200
  goldFuel: 400
  diamondFuel: 600

This is the starting amount of fuel on creation of a magic horse armor (the one that you can fly with) and it is also the amount of fuel that you get for every refill.


  ironMaxFuel: 400
  goldMaxFuel: 800
  diamondMaxFuel: 1200

This is obviously the maximum amount of fuel, that a magic horse armor can have. You cannot reach any amount above by refilling, but even though the refill item will be consumed.


  refill_item:
    iron: diamond
    gold: diamond
    diamond: diamond

These are the refill items for every kind of magic horse armor. By putting a magic horse armor and the specified refill item into a crafting menu, you will see the result with a different lore, that just shows the amount of additional fuel. The lore will be updated on crafting.


  recipes:
    nametag:
      ingredients:
      - ink_sack
      - feather
      - paper
    saddle:
      shape:
        0: aaa
        1: b b
      ingredients:
        a: leather
        b: iron_ingot

Nametags use an unshaped recipe. You just have to give a list of items to craft it. Every other item uses a shaped recipe. That means you have to put the items in the correct pattern into a crafting table in order to craft it. The shape is defined by a character sequence of one to three rows and every character belongs to an ingredient. As ingredients you have to use the proper bukkit names of the enum class


Comments

Posts Quoted:
Reply
Clear All Quotes