SamsCreations
SamsCreations

Every fish is written in plugins/SamsFishing/catches/. Every .yml file in that folder is read, so you can add your own files too. New here? Start with Your First Fish.

FileWhat's inside
freshwater.ymlRivers, lakes, swamps, caves and the End (36 fish)
ocean.ymlEvery kind of ocean (30 fish)
lava.ymlNether lava fish (14 fish)
events.ymlFish that only bite during a seasonal event

Each file is sorted by rarity, from Bronze to Mythic. freshwater.yml explains every key at the top.

One fish

pike:
  rarity: diamond          # how rare it is
  weight: 1.0              # chance against other fish of the same rarity
  minigame: tension        # pointer, tension, sequence or random
  item:
    material: COD
    name: "<#9FC25E>Pike"
    lore: ["<gray>Has more teeth than manners."]
  size: "50-130"           # cm, bigger is rarer
  when:
    biomes: ["river", "*swamp*"]
    regions: []            # WorldGuard regions, empty = anywhere
    y: ""                  # height, like "50-70", empty = any
  food:
    hunger: 4
    commands: []           # run when the fish is eaten
  message: "<green>What a fish!"
  commands: []             # run when the fish is caught

Every default fish already lists regions, y, food: commands and commands, all empty. Fill in what you need. In commands you can use %player%, %catch%, %size% (and %rarity% for catch commands).

Rarities

Six rarities come in config.yml → fishing.rarities. Rename, add or remove them as you like. The order in the file goes from most common to rarest.

RarityChanceDifficultyTold to everyone
bronze500.0no
silver250.25no
gold130.45no
diamond70.65no
platinum3.50.8yes
mythic1.50.95yes

Where and when it bites

Put any of these under when:. All of them must be true. /fishing here shows what can bite where you stand.

KeyExampleMeaning
biomes, not-biomes["*ocean*"]Biomes, * matches anything
worlds["world"]Worlds
regions, not-regions["spawn*"]WorldGuard regions
y"50-70"Height of the bobber
timenight, "13000-23000"day, night, dawn, dusk or ticks
weather[rain, thunder]clear, rain, thunder
moon[full, new]Moon phase
fluidlavawater (default), lava or any
open-watertrueOnly in open water
permission"vip.fishing"Player needs this permission
real-time, real-days"18:00-22:00", [saturday]Real clock and weekdays
nearby-players0, "3+"Players around (with nearby-radius)
rods, baits, hooks, lines[carbon_rod]Gear the player uses
skills["fishing >= 10"]AuraSkills or mcMMO level
seasons, season-phases[winter]SamsSeasons
events[winter_festival]A seasonal event is running
placeholders["%player_level% >= 10"]PlaceholderAPI check

Skyblock or void world? Let every fish bite there, whatever the biome:

fishing:
  any-biome-worlds: [bskyblock_world]   # or ["*"] for every world

Eating

Without food: a fish eats like its material. food: false makes it inedible.

food:
  hunger: 6              # 2 = one drumstick
  saturation: 3.6        # optional
  always-eat: true       # can eat with a full hunger bar
  eat-seconds: 1.6
  effects:               # "EFFECT seconds level chance%"
    - "REGENERATION 8 2"
    - "LUCK 60 1 25%"
  commands: ["eco give %player% 5"]

A food: section replaces the material's own effects. A fish made from PUFFERFISH won't poison anyone unless you add POISON.

A caught fish: rarity, size, food, worth and who caught it
A caught fish: rarity, size, food, worth and who caught it

Good to know

  • Stacking: with fishing.stacking: size (default), fish of the same kind and size class stack. Records still use the real size. stacking: off keeps every fish unique.
  • fishing.keep-vanilla-treasure: true keeps vanilla junk and treasure and only replaces fish.
  • price:, texture:, difficulty: and item.source: (an item from another plugin) are optional per fish.