Skip to content
narrowtux edited this page Dec 25, 2014 · 7 revisions

Example config

Fishing:
  Fish: # name of the group. the name doesn't matter
    Weight: 850 # weight of the group
    Statistic: FISH_CAUGHT # minecraft statistic to increment if this group is chosen
    Enchantments: # list of enchantments that modify the weight. 10 would mean increase weight by 10 * level of enchantment. use negative values to decrease weight
      LURE: 20
      LUCK: 15
    Items: 
      - Item: 
          Name: RAW_FISH # Bukkit material name
          Amount: 1 # optional, default 1
          Damage: 0 # optional, default 0
          Weight: 10 # optional, default 1
          Exp: 50 # optional, default 0
  Junk:
    Weight: 100
    Statistic: JUNK_FISHED
    Enchantments:
      LURE: -10
      LUCK: -25
    Items:
      - Item:
          Name: LEATHER_BOOTS
  Treasure:
    Weight: 50
    Statistic: TREASURE_FISHED
    Enchantments:
      LURE: -10
      LUCK: 10
    Items:
      - Item:
          Name: GOLD_INGOT

The example config already contains the 3 groups you know from Minecraft with correctly aligned weights.

Possible values for statistic setting

DAMAGE_DEALT, DAMAGE_TAKEN, DEATHS, MOB_KILLS, PLAYER_KILLS, 
FISH_CAUGHT, ANIMALS_BRED, TREASURE_FISHED, JUNK_FISHED, 
LEAVE_GAME, JUMP, DROP, PLAY_ONE_TICK, WALK_ONE_CM, SWIM_ONE_CM, 
FALL_ONE_CM, CLIMB_ONE_CM, FLY_ONE_CM, DIVE_ONE_CM, 
MINECART_ONE_CM, BOAT_ONE_CM, PIG_ONE_CM, HORSE_ONE_CM, 
MINE_BLOCK, USE_ITEM, BREAK_ITEM, CRAFT_ITEM, KILL_ENTITY, 
ENTITY_KILLED_BY

Possible values for enchantment setting

PROTECTION_ENVIRONMENTAL, PROTECTION_FIRE, PROTECTION_FALL, 
PROTECTION_EXPLOSIONS, PROTECTION_PROJECTILE, OXYGEN, 
WATER_WORKER, THORNS, DAMAGE_ALL, DAMAGE_UNDEAD, DAMAGE_ARTHROPODS, 
KNOCKBACK, FIRE_ASPECT, LOOT_BONUS_MOBS, DIG_SPEED, SILK_TOUCH,
DURABILITY, LOOT_BONUS_BLOCKS, ARROW_DAMAGE, ARROW_KNOCKBACK, 
ARROW_FIRE, ARROW_INFINITE, LUCK, LURE

Clone this wiki locally