๐ฃ CustomFishing
This page covers the compatibility with CustomFishing.
Objectivesโ
Fishingโ
Tracks when a player catches a specific fish or a set of fish.
Syntax: customFishingCaughtFish <fish_id> [amount]
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| fish_id | id | none | The unique identifier of the fish. |
| amount | amount:Int | 1 | The number of fish required to complete the objective. |
objectives:
catchCarp: customFishingCaughtFish tuna_fish_golden_star
catchRareFish: customFishingCaughtFish tuna_fish,pike_fish amount:5
catchGoldenStartFish: customFishingCaughtFish *_golden_star amount:7
Harvest objectives support wildcards (e.g., *_golden_star), allowing you to track multiple fish types or rarities at once
Fishing Groupsโ
Tracks when a player catches any fish belonging to a specific group.
Syntax: customFishingCaughtGroup <group_id> [amount]
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| group_id | id | none | The unique identifier of the fish group. |
| amount | amount:Int | 1 | The number of fish from this group required. |
objectives:
catchOceanGroup: customFishingCaughtGroup ocean amount:10
catchSpecialGroups: customFishingCaughtGroup no_star,pound amount:3
catchStarAndOceanGroup: customFishingCaughtGroup *_star,*_ocean
Harvest objectives support wildcards (e.g., *_star), allowing you to track multiple groups simultaneously.
Activate Totemโ
Tracks when a player activates a specific fishing totem.
Syntax: customFishingActivateTotem <totem_id> [amount]
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| totem_id | id | none | The unique identifier of the fish. |
| amount | amount:Int | 1 | The number of crops to harvest or plant. |
objectives:
activateDoubleTotem: customFishingActivateTotem double_loot_totem
activateAllTotem: customFishingActivateTotem *_totem amount:2
<totem_id> must exactly match an ID defined in your totem configuration files.
You can find all available totem IDs here:
yourServer/plugins/CustomFishing/contents/totem/*.yml
For detailed instructions on creating and using totems,
please refer to the official documentation:
CustomFishing Totem Format Documentation
Totem objectives support wildcards (e.g., *_totem), allowing you to track the activation of various totem types.
Itemsโ
CustomFishing usage is integrated to the Items system and thus used for events and conditions.
In addition, you can also add quest-item argument to tag them as "QuestItem".
items:
catFishSilverStar: customFishing cat_fish_silver_star
goldFish: customFishing gold_fish quest-item
conditions:
hasCatFishSilverStar: hand catFishSilverStar
actions:
giveGoldFish: give goldFish:3