Skip to content

Releases

PhoenixFish v1.6.1

Choose a tag to compare

@SudoPH SudoPH released this 29 Oct 12:19
c639a7a

PhoenixFish v1.6.1

This is a bugfix release.

🐛 Bug Fixes

  • Fixed custom bait not being used. Bait is applied again when fishing, as it was meant to be. Fixes #5.

⬆️ Updating

Stop the server, back up the plugins/PhoenixFish folder, replace the jar and start the server again.

PhoenixFish v1.6.0

Choose a tag to compare

@SudoPH SudoPH released this 28 Oct 18:50

🎣✨ PhoenixFish v1.6.0 — The Ultimate Fishing & Economy Update

The biggest update in PhoenixFish history. 16 new features. 35+ bug fixes. A fully modular architecture. Complete multi-language support. This is the fishing plugin your server has been waiting for.

PhoenixFish v1.6.0 transforms Minecraft fishing from a side-activity into a deep, rewarding progression system with a living economy, seasonal content, mutation hunting, and a skill tree that respects your players' time. Every system is opt-in, every feature is gated behind a single config flag, and every line of text is localizable into your community's language — no restart required.

These release notes describe the v1.6.0 package exclusively. Every feature, fix, and architecture change documented below belongs to the v1.6.0 release.

⚠️ Known issue: Bait is currently not being used. A fix is planned for the next release (see #5).


Version
API
Java
License

🎯 New Features 🐛 Bug Fixes 🔌 Placeholders 💻 Commands 🛠️ Managers
16 35+ 12 8 4

✨ What's New — 16 Feature Highlights (v1.6.0)

🎮 Minigame & Visual Effects

# Feature Description
1 Minigame Visual Effects Per-rarity particle bursts, sounds, screen shakes, and title announcements. Catch a Legendary fish and the whole server knows. Config-driven per rarity tier (1–5).
2 Difficulty Presets One-line difficulty switching: easy / medium / hard / hardcore / insane. Tune the minigame for casual or hardcore servers without editing 7 individual values.
features:
  minigame-effects:
    enabled: true
    rarity_5:
      particle: "TOTEM_OF_UNDYING"
      particle_count: 30
      sound: "UI_TOAST_CHALLENGE_COMPLETE"
      shake: true
      title: true
      title_text: "<#9D00FF><bold>LEGENDARY CATCH!</bold></#9D00FF>"

🌍 Environmental Spawning

# Feature Description
3 Seasonal Fish Fish that only spawn in SPRING / SUMMER / AUTUMN / WINTER. Uses real-world dates or Minecraft world ticks — your choice.
4 Day/Night Fish Fish that only bite at dawn or dusk. Per-fish time-override handles always-day servers gracefully.
5 Depth-Based Y-Range Fishing Y-axis height ranges per fish. Deep-cave eels at Y=-64, sky-piranhas at Y=200 — the world is your fishing ground.
# ─── Conditional Spawning (v1.6.0) ──────────────────────────
# Per-fish conditions are checked in FishManager.meetsConditions()
# BEFORE a fish is rolled. If a condition fails, the fish is
# excluded from the candidate pool for that player.

# ─── seasons ─────────────────────────────────────────────────
# Seasons when this fish can spawn. Options: [SPRING, SUMMER, AUTUMN, WINTER]
# Leave empty or remove to allow spawning in all seasons.
seasons: [WINTER]

# ─── time ───────────────────────────────────────────────────
# Time of day restriction. Options: DAY, NIGHT, or ALL
time: NIGHT

# ─── time-override ──────────────────────────────────────────
# Optional per-fish override for always-day servers. Options: "auto", "always-day", "always-night"
time-override: "always-night"

# ─── y-range ────────────────────────────────────────────────
# Y-Axis height range for spawning [min_y, max_y]. Enables deep cave or sky fishing.
# Player's current Y coordinate must be within [min, max] inclusive.
y-range: [0, 30]

🧬 Mutations & Economy

# Feature Description
6 Fish Mutations Shiny ✦, Albino ✦, and Golden ✦ variants with custom colors, lore prefixes, and price multipliers (up to 10×). Powered by PersistentDataContainer for zero-NBT corruption.
7 Dynamic Fish Market Supply-and-demand pricing. Every sale depresses the price; the market recovers hourly. Min 30%, max 150% of base price.
8 Daily Contracts Template-based daily quests with randomized amount/money/XP rolls, per-player persistence, and a click-to-claim GUI. 10 built-in templates covering Common → Legendary tiers.
9 Fishing Seasons Multi-week competitive seasons with leaderboards, rank-based rewards, and participation bonuses.

🏆 Progression & Skills

# Feature Description
10 Discovery Rewards First-time catches grant XP + money + console commands. Make catalog completion meaningful.
11 Achievement System 8 built-in achievements (First Catch, Apprentice Fisher, Master Fisher, Rare Hunter, Epic Hunter, Legendary Master, Species Collector, Mutation Hunter) with tiered rewards.
12 Discovery Progress Bar Action bar + milestone titles track catalog completion progress.
13 Skill — Big Catch +5% fish weight per level. Heavier fish = pricier fish.
14 Skill — Lucky Cast +10% chance per level to upgrade a catch to the next rarity tier.
15 Skill — Stamina +10% minigame tension resistance per level. The line snaps later — land those Legendary fights.
16 Skill Re-Spec /pf respec refunds all skill points for a configurable cost. Players can experiment without regret.

⚙️ Modularity & Zero-Impact Performance

Every v1.6.0 feature is gated behind a single boolean flag in config.yml. When a feature is disabled:

  • ✅ 0 CPU consumed — no event listeners, no scheduled tasks, no tick handlers
  • ✅ 0 RAM consumed — no manager instance, no cached data, no GUI items
  • ✅ 0 GUI visibility — disabled features vanish from all menus
  • ✅ 0 config parsing — the manager is never constructed
features:
  # ── Minigame ──
  minigame-effects:
    enabled: true
  minigame-presets:
    enabled: false
    difficulty: "medium"

  # ── Environmental ──
  seasonal-fish:
    enabled: false
  day-night-fish:
    enabled: false
  depth-fish:
    enabled: false

  # ── Mutations & Economy ──
  fish-mutations:
    enabled: false
  dynamic-pricing:
    enabled: false
  contracts:
    enabled: false
  seasons:
    enabled: false

  # ── Progression ──
  discovery-rewards:
    enabled: false
  achievements:
    enabled: false
  discovery-progress:
    enabled: false

  # ── Skills ──
  skill-big-catch:
    enabled: false
    weight-bonus-per-level: 0.05
  skill-lucky-cast:
    enabled: false
    rarity-upgrade-chance-per-level: 0.10
  skill-stamina:
    enabled: false
    tension-resist-per-level: 0.10

  # ── API ──
  placeholder-api:
    enabled: true

💡 Pro tip: Toggle any feature live with /pf settings features <feature_name> <true|false> — no server restart required. The manager is re-initialized or unloaded instantly.


🎮 Commands & Placeholders Overview

Player Commands

Command Description
/pf Show the help menu
/pf catalog Open the fish discovery catalog
/pf catalog search <query> Search the catalog by fish name or ID
/pf skills Open the skill tree GUI
/pf respec Reset all skills and refund points
/pf sell <all|hand|menu> Sell caught fish
/pf toggle Switch between vanilla and PhoenixFish fishing
/pf fix Update legacy rod/bait items in your inventory
/pf contracts Open the Daily Contracts GUI
/pf achievements Open the Achievements GUI
/pf season Show the current fishing season + leaderboard

Admin Commands

Command Permission Description
/pf reload phoenixfish.admin Reload all config + language files (no restart)
/pf settings language <code> phoenixfish.settings NEW — Switch language live (en, tr, zh_cn)
/pf settings features <name> <true|false> phoenixfish.settings NEW — Toggle any feature flag live
/pf settings list phoenixfish.settings NEW — Show current language + all feature flags
/pf giverod <id> phoenixfish.admin Give a custom rod
/pf givebait <id> phoenixfish.admin Give a custom bait
/pf addlevel <amount> phoenixfish.admin Add fishing levels
/pf addcraft <amount> phoenixfish.admin Add crafting levels
/pf fixall phoenixfish.admin Fix items for all online + offline players
/pf tournament <start|stop> phoenixfish.tournament.admin Manage tournaments
/pf debug <self|player|rod> phoenixfish.admin Debug fishing data

Tab-Completion

Full TabCompleter support for all commands, including deep nested paths:

/pf settings features <TAB>
  → minigame-effects, seasonal-fish, fish-mutations, contracts, skills, ...

/pf settings language <TAB>
  → en, tr, zh_cn

PlaceholderAPI Integration

12 new placeholders exposed via PlaceholderAPI:

Placeholder Returns
%phoenixfish_level% Player's fishing level
%phoenixfish_xp% Current XP
%phoenixfish_xp_needed% XP needed for next level
%phoenixfish_balance% Internal economy balance
%phoenixfish_total_catches% Lifetime catch count
%phoenixfish_discovered% Discovered species count
%phoenixfish_discovered_total% Total species in catalog
%phoenixfish_biggest_weight% Heaviest fish ever caught
%phoenixfish_mutation_count% Mutated fish caught
%phoenixfish_skill_<skill>% Lev...
Read more

PhoenixFish v1.3.5

PhoenixFish v1.3.5 Pre-release
Pre-release

Choose a tag to compare

@SudoPH SudoPH released this 25 Oct 14:48

PhoenixFish v1.3.5

Pre-release. Test before deploying to production.
Note: The Chinese localization was machine-translated for testing purposes.


Highlights

This release ships two major features and a few critical bug fixes:

  1. Dynamic language system — any language code is now accepted (tr, en, zh_cn, fr, de, es, ...)
  2. Equipment-affected minigame difficulty — high-tier rods now actually make the minigame easier
  3. Real rod names on recipe ingredient lists — "Cosmic Rod" instead of generic "Fishing Rod"

New Features

1. Dynamic Language System (Full Rewrite)

Previously, only "tr" and "en" were hardcoded as supported languages. Any other language code was silently dropped. Now any language code is accepted and the matching file is auto-loaded:

File Purpose
messages_<lang>.yml Player-facing messages (missing keys auto-fall back to English)
rods_<lang>.yml Rod display names + lore
baits_<lang>.yml Bait display names + lore
custom_recipes_<lang>.yml Recipe result display names
fish_<lang>.yml Fish names

Resolution chain:

config.yml: settings.language: "zh_cn"
   ↓
1. Look for messages_zh_cn.yml in plugins/PhoenixFish/
2. Not found → extract from jar if bundled
3. Still missing → fall back to messages_en.yml
4. Always: attach bundled messages_en.yml as setDefaults() — missing keys auto-fall back to English

The setDefaults() mechanism means: if your custom messages_de.yml is missing a key, the English value is shown automatically. No silent Component.empty(), no console spam.

2. Equipment-Affected Minigame Difficulty

Problem: High-tier rods only added a luck bonus. Minigame difficulty was identical regardless of rod tier — epic+ fish escaped at the same speed with Old Rod as with Cosmic Rod.

Fix: MinigameTask was rewritten. The rod's and bait's minigame: section now affects the effective values:

New rod fields (per-rod minigame: block in rods.yml):

minigame:
  bar-width-bonus: 4          # added to minigame.rod-width (easier to keep fish in bar)
  progress-rate-bonus: 1.0    # added to minigame.progress-rate (faster catch)
  tension-resistance: 0.30    # multiplicative reduction of tension-increase-rate
  fish-slow-chance: 0.6       # multiplier on minigame.fish-move-chance (lower = fish moves less)

New bait fields (per-bait minigame: block in baits.yml):

minigame:
  fight-strength-reduction: 0.15   # multiplicative reduction of fish.fightStrength()
  fish-slow-bonus: 0.15             # additive reduction of fish-move-chance
  progress-bonus: 0.3               # additive to progress-rate when hitting

Bait effects only apply when the caught fish's rarity matches the bait's target-rarity (consistent with existing chance-modifier behavior).

New config keys (config.yml):

minigame:
  rarity-difficulty-multipliers:
    1: 1.0   # Common
    2: 1.0   # Uncommon
    3: 1.2   # Rare
    4: 1.6   # Epic — 60% harder
    5: 2.0   # Legendary — 100% harder
  rarity-tension-cap:
    4: 90.0  # Epic — line snaps at 90% instead of 100%
    5: 80.0  # Legendary — snaps at 80%

xp-system:
  skill-per-level:
    fast-catcher-progress-bonus: 0.5       # was hardcoded in MinigameTask.java
    master-hunter-luck-bonus: 0.02
    double-catch-chance-per-level: 0.10
    lucky-bait-chance-per-level: 0.20

Tier Bonus Table (Rods)

Rod bar-width progress tension-resist fish-slow
Old/Hardwood +0 +0.0 0% 100%
Iron +1 +0.1 5% 95%
Gold +1 +0.2 5% 90%
Diamond +2 +0.3 10% 85%
Netherite +2 +0.4 15% 80%
Ocean +3 +0.5 20% 75%
Legendary +3 +0.7 25% 70%
Cosmic +4 +1.0 30% 60%

3. Real Rod Names on Recipe Ingredient Lists

Problem: When a recipe required a specific rod (e.g. enhanced_cosmic_rod needs cosmic_rod as ingredient), the ingredient list showed only "Fishing Rod" — the vanilla translation key. Players couldn't tell which rod was required.

Fix: CraftingManager.createItem() now resolves the rod's display-name from rods.yml via ItemFixer.findRodConfig(material, cmd) and sets it on the ingredient ItemStack.

Result:

Before After
Fishing Rod ×1 (which one?) Cosmic Rod ×1 + lore (tier, level req, luck)
— 宇宙鱼竿 ×1 (on Chinese server)

The same logic also applies to baits — BaitManager.getBaitFromItem() is checked if no rod is matched.

4. PhoenixFishAPI Extended

Two new methods exposed for PhoenixCraft (or any external plugin):

// Why is crafting unavailable?
public String getCraftingUnavailableReason();
// Returns: "xp-system-disabled" / "no-crafting-manager" / null

// All valid categories (dynamically derived from loaded recipes)
public List<String> getCraftingCategories();
// Returns: ["bait", "rod", "misc"] (or whatever custom_recipes.yml defines)

Bug Fixes

1. Init Order — Rod Display-Names Not Resolved (Fixed)

CraftingManager.loadRecipes() was called at line 77, but FishingListener (which owns ItemFixer) was constructed at line 91. So during recipe loading, plugin.getFishingListener() was null → findRodConfig() returned null → no display-name set → "Fishing Rod" shown.

Fix: Moved loadRecipes() to AFTER FishingListener construction.

2. Hardcoded Language Checks (Fixed)

  • PhoenixFish.loadPluginResources had hardcoded "tr" check → dynamic
  • FishManager.loadFish had hardcoded "tr" check → dynamic
  • MessageManager returned Component.empty() on missing key → now falls back to English via setDefaults()

Files Changed

Java (10 files)

PhoenixFish/src/main/java/com/phoenix/fish/
├── PhoenixFish.java                            ← init order fix + language-aware resource extraction
├── api/PhoenixFishAPI.java                    ← 2 new methods
├── manager/
│   ├── MessageManager.java                    ← setDefaults(English) + dynamic language + jar extraction
│   ├── FishManager.java                       ← dynamic language lookup
│   ├── BaitManager.java                       ← getBaitConfig(id) + language-aware baits.yml
│   ├── ItemFixer.java                         ← findRodConfig(material, cmd) + language-aware rods.yml
│   └── CraftingManager.java                   ← language-aware custom_recipes + ingredient display-name resolve
├── minigame/MinigameTask.java                 ← REWRITTEN — equipment-affected difficulty
└── listener/FishingListener.java              ← startMinigame now passes rod+bait

YAML (9 files)

PhoenixFish/src/main/resources/
├── config.yml                                  ← rarity-difficulty-multipliers + rarity-tension-cap + skill-per-level
├── rods.yml                                    ← 9 rods gained minigame: block
├── baits.yml                                   ← 2 baits gained minigame: block
├── custom_recipes.yml                          (unchanged)
├── messages_tr.yml                             (unchanged — already complete)
├── rods_tr.yml                                 ← NEW — 22 rods in Turkish
├── baits_tr.yml                                ← NEW — 28 baits in Turkish
├── custom_recipes_tr.yml                       ← NEW — 49 recipes in Turkish
├── messages_zh_cn.yml                          ← NEW — 110 keys in Chinese (with deliberately missing keys for fallback testing)
├── rods_zh_cn.yml                              ← NEW — 22 rods in Chinese
├── baits_zh_cn.yml                             ← NEW — 28 baits in Chinese
└── custom_recipes_zh_cn.yml                    ← NEW — 49 recipes in Chinese

Backward Compatibility

All new fields default to 0 / no-op. Existing rods.yml / baits.yml / config.yml produce byte-identical behavior.

  • Old rods without minigame: block → no bonus (same as before)
  • Old baits without minigame: block → no bonus
  • Old config without rarity-difficulty-multipliers → 1.0 default (same as before)
  • Hardcoded 0.5 for Fast Catcher → now config-driven, default matches old value

Breaking Changes

None. Fully backward compatible.


Test Scenarios

Test 1 — Language System

  1. Set settings.language: "zh_cn"
  2. Run /pf reload
  3. Expected console output:
    [INFO] Loaded language: zh_cn
    [INFO] Loading rods from: rods_zh_cn.yml
    [INFO] Loading baits from: baits_zh_cn.yml
    [INFO] Loading crafting recipes from: custom_recipes_zh_cn.yml
    
  4. /pf giverod cosmic_rod → receive "宇宙鱼竿"
  5. Delete one key from messages_zh_cn.yml (e.g. level_up), reload → "Your fishing level increased!" (English fallback kicks in)

Test 2 — Minigame Equipment Effect

  1. /pf giverod default_rod — catch an epic fish → should be HARD (fight strength × 1.6)
  2. /pf giverod cosmic_rod — catch the same fish → should be MUCH easier (cosmic rod: +4 bar width, 30% tension-resist, 60% fish-slow)
  3. /pf givebait lunar_moth — catch a legendary fish → both rod + bait bonuses combine

Test 3 — Recipe Ingredient Names

  1. /pcraft → open enhanced_cosmic_rod recipe
  2. Ingredient list should now show "Cosmic Rod ×1" (or "宇宙鱼竿 ×1") with lore — NOT generic "Fishing Rod"
  3. Bait ingredients similarly resolved

Known Issues

  1. Vanilla material names (End Crystal, Stick, etc.) are translated by the client's Minecraft language, not the server's. This is Minecraft's nature — server cannot override. Solution: player changes their Minecraft client language.
  2. /pf addlevel does not grant skill points — slated for a future fix.

PhoenixFish v1.3.4

PhoenixFish v1.3.4 Pre-release
Pre-release

Choose a tag to compare

@SudoPH SudoPH released this 24 Oct 15:59

🎣 PhoenixFish v1.3.4 (Pre-Release / Early Access)

⚠️ Pre-Release Notice: PhoenixFish 1.3.4 is currently in Pre-Release for community testing. It introduces official API support for the PhoenixCraft add-on along with several bug fixes. Please test on a non-production server first.


🌟 Changelog & Highlights

  • 🔨 PhoenixCraft API Integration: Introduced official API hooks, events (PhoenixFishReloadEvent), and data-sharing interfaces required for the PhoenixCraft GUI module.
  • 🐛 Bug Fixes: Resolved minor edge-case bugs and fixed runtime inventory glitches.
  • ⚙️ Event Handling: Refactored internal state management on plugin reloads and server disables to prevent dangling GUI states.
  • ⚡ Performance & API Polish: Streamlined crafting logic, level/XP calculations, and service registration for external add-ons.

📋 Requirements

  • Paper 1.21+ (Java 21)

🤝 Testing & Feedback

Please report any bugs or edge cases on our GitHub Issue Tracker to help us finalize the stable release!

PhoenixFish v1.3.0

Choose a tag to compare

@SudoPH SudoPH released this 22 Oct 23:17

PhoenixFish v1.3.0

This release fixes item loss in the Sell menu, includes dozens of data-safety and stability fixes, and adds PlaceholderAPI support, a /pf reload command, tab completion, a /pf givebait command and configurable skill levels.

Important

This release fixes several bugs that could cause player progress to be lost and includes the Fishing Catalog exploit fix from v1.2.3. Updating is strongly recommended for all servers, especially if you are still on v1.2.2 or older.

Related: #2


✅ Compatibility

  • Supported Minecraft versions: 1.21 – 26.1.3 (Paper).
  • Minecraft 26.1.3 support has been verified with this version of PhoenixFish.
  • Earlier PhoenixFish versions (before 1.3.0) were not tested on 26.1.3. They may work, but this is not guaranteed. If you run 26.1.3, updating to v1.3.0 is recommended.

If you run into a problem on any version, please open an issue and include your server version.


✨ New Features

PlaceholderAPI integration

PhoenixFish now registers 22 placeholders for PlaceholderAPI, so you can use them in scoreboards, holograms, Skript and any other plugin that supports PlaceholderAPI. PlaceholderAPI is optional: without it PhoenixFish works as before, just without placeholders.

Category Placeholders
Progression level, xp, xp_required, xp_progress_percent, total_xp, skillpoints
Economy balance
Crafting crafting_level, crafting_xp
Skills skill_fast, skill_hunter, skill_double, skill_bait
Discovery discovered_count, total_fish_count, discovered_percent
Records pb_<fish_id>, sr_<fish_id>
Fishing mode mode
Tournament tournament_active, tournament_score, tournament_leader, tournament_leader_score, tournament_time_left

Messages

  • Fixed missing message keys, which could show raw keys to players: skills_data_error, skills_invalid, crafting_level_up, catalog_not_ready, catalog_category_empty, craft_recipes_section_not_found, db_failed_connect_mysql.
  • Language and prefix are now swapped together when messages are reloaded, so a reload can't show the old prefix with the new language.
  • Added reload_failed for when a reload fails.

🔧 Internal

  • Sound playback, which existed as four slightly different copies, now lives in a shared SoundUtils class.
  • The duplicated catch-reward code of the minigame and direct-catch paths was merged into FishRewardHelper.
  • Events that must run on the main thread are scheduled safely when triggered from another thread.
  • The fish list is read from a snapshot, so a fish.yml reload can't produce a half-loaded list.
  • TournamentManager and TournamentTask expose new getters (used by the PlaceholderAPI integration).

⬆️ Upgrade Notes

  • Existing config.yml files are not updated automatically. Add these new options from the default config.yml:
    • use-ssl and verify-server-certificate (MySQL users: review your SSL setup)
    • xp-system.skill-max-level (defaults to 5 if missing)
  • If you customized your language files, make sure they contain the new keys: tournament_unknown_player, reload_started, plugin_reloaded, usage_reload, reload_failed, catch_cancelled, sell_cancelled, minigame_aborted, tournament_invalid_duration, fixall_container_error, addlevel_out_of_range, skills_data_error, skills_invalid, crafting_level_up, catalog_not_ready, catalog_category_empty, craft_recipes_section_not_found, db_failed_connect_mysql, usage_givebait, bait_not_found and bait_given.
  • PlaceholderAPI users: PlaceholderAPI is now loaded before PhoenixFish, so the placeholders are registered correctly on startup.
  • Restart the server after updating the jar.
# PhoenixFish v1.3.0

This release fixes item loss in the Sell menu, includes dozens of data-safety and stability fixes, and adds PlaceholderAPI support, a /pf reload command, tab completion, a /pf givebait command and configurable skill levels.

Important

This release fixes several bugs that could cause player progress to be lost and includes the Fishing Catalog exploit fix from v1.2.3. Updating is strongly recommended for all servers, especially if you are still on v1.2.2 or older.

Related: #2


✅ Compatibility

  • Supported Minecraft versions: 1.21 – 26.1.3 (Paper).
  • Minecraft 26.1.3 support has been verified with this version of PhoenixFish.
  • Earlier PhoenixFish versions (before 1.3.0) were not tested on 26.1.3. They may work, but this is not guaranteed. If you run 26.1.3, updating to v1.3.0 is recommended.

If you run into a problem on any version, please [open an issue](https://github.com/SudoPH/PhoenixFish/issues) and include your server version.


✨ New Features

PlaceholderAPI integration

PhoenixFish now registers 22 placeholders for [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/), so you can use them in scoreboards, holograms, Skript and any other plugin that supports PlaceholderAPI. PlaceholderAPI is optional: without it PhoenixFish works as before, just without placeholders.

Category Placeholders
Progression level, xp, xp_required, xp_progress_percent, total_xp, skillpoints
Economy balance
Crafting crafting_level, crafting_xp
Skills skill_fast, skill_hunter, skill_double, skill_bait
Discovery discovered_count, total_fish_count, discovered_percent
Records pb_<fish_id>, sr_<fish_id>
Fishing mode mode
Tournament tournament_active, tournament_score, tournament_leader, tournament_leader_score, tournament_time_left

Use them as %phoenixfish_<placeholder>%, for example %phoenixfish_level%. Unknown placeholders now return an empty value instead of showing the raw text.

/pf reload

Reload PhoenixFish without restarting the server.

Reloaded: config.yml, language files, fish.yml, baits.yml, rods.yml, custom_recipes.yml and the Catalog menu.

Not reloaded (on purpose): the database connection, the player cache, active tournaments and active minigames. Changes to these need a server restart.

Note

This is PhoenixFish's own reload command. Do not use the server's /reload.

Tab completion

/pf now suggests commands and arguments, based on the player's permissions:

  • /pf sell <TAB> → all, hand, menu
  • /pf tournament <TAB> → addreward, start, stop
  • /pf toggle <TAB> → status (admins also see reset and online player names)
  • /pf giverod <TAB> → all rod IDs from rods.yml
  • /pf givebait <TAB> → all bait IDs from baits.yml
  • /pf addlevel <TAB> → 1, 5, 10, 50

/pf givebait

Admins can now give custom bait directly with a command, without any extra plugin.

/phoenixfish givebait <bait-name>

Examples: /pf givebait worm, /pf givebait lucky_worm. Bait names are the keys under baits: in baits.yml.

  • Works like /pf giverod: the bait ID is not case sensitive, the item is created from your bait configuration, and if the inventory is full the bait is dropped at your feet instead of being lost.
  • Requires the phoenixfish.admin permission (OP by default).
  • Tab completion suggests all bait IDs from baits.yml, and the command appears in the help menu for admins.
  • An unknown bait name shows a "Bait not found!" message.

Before this, bait could only be obtained through the optional PhoenixCraft add-on (reported in #2).

Configurable skill levels

The maximum level of the Skill Tree skills (Fast Catcher, Master Hunter, Double Catch, Lucky Bait) was fixed at 5. It can now be changed in config.yml:

xp-system:
  skill-max-level: 5   # 1 to 10

🔄 Behavior Changes

  • Tournament scoring is now based on rarity. Previously every catch of rarity 3 or higher gave the same 5 points, so a Rare and a Legendary were worth the same. Points are now:

    Rarity Points
    Common 1
    Uncommon 2
    Rare 5
    Epic 12
    Legendary 25
  • Other plugins can now cancel catches and sales before anything happens. FishCaughtEvent is fired at the start of a catch and FishSellEvent before the money is paid, so cancelling them really stops the reward. Players see the new catch_cancelled / sell_cancelled messages.

  • Player data is saved sooner. The first autosave now runs after 60 seconds instead of 5 minutes, which shrinks the window in which a crash could lose progress.

  • Custom recipes can now be ...

Read more

PhoenixFish v1.2.3

Choose a tag to compare

@SudoPH SudoPH released this 21 Oct 23:56
d05be50

PhoenixFish v1.2.3

Important

This is an urgent bugfix release. Updating is strongly recommended for all servers.

🐛 Bug Fixes

  • Fixed an exploit in the Fishing Catalog. Players could take items out of the catalog menu, which allowed them to obtain fish, rods and bait without catching or crafting them. Items in the catalog can no longer be removed or moved in any way.

⚠️ Note for server owners

If you suspect this was abused on your server, check for unusual amounts of catalog items in player inventories and economy balances (items could have been sold for money).

PhoenixFish v1.2.2

Choose a tag to compare

@SudoPH SudoPH released this 21 Oct 19:09

PhoenixFish v1.2.2

This update adds a per-player fishing mode toggle and fixes a large batch of bugs, including several critical ones affecting selling prices, rarity balance, MySQL support and player data safety.

Note

Players can now switch between PhoenixFish custom fishing and vanilla fishing at any time. In vanilla mode the plugin does not touch fishing at all, so real vanilla loot, treasure and enchanted books work as normal.

Important

This release fixes a bug where a failed database read could overwrite a player's saved data with an empty profile. Updating is strongly recommended.

Related: #1


✨ New Feature: Per-Player Fishing Mode Toggle

Players can switch between PhoenixFish custom fishing and vanilla fishing.

Commands

Command Description
/phoenixfish toggle Switch your own fishing mode
/phoenixfish toggle status [player] Show current mode and its source (choice / default)
/phoenixfish toggle Admin: toggle another player's mode
/phoenixfish toggle reset Admin: reset a player to the default mode

🔴 Critical Fixes

  1. Fish weight now affects the sell price. MinigameTask.handleWin() only wrote the weight to the item lore, never to the fish_weight PDC key that EconomyManager.getWeight() reads. Every fish sold at a fallback weight of 1.0, so a Leviathan sold for the same as a Sardine. The "base price × weight" system now works as intended.
  2. MySQL mode no longer crashes on first start. The MySQL driver was missing at runtime, causing a ClassNotFoundException that silently disabled the database system. The driver is now available to the plugin.
  3. Fractional rarity weights are no longer reset to zero. fish.yml values such as Kraken 0.35, Leviathan 0.05, Void Whale 0.01 and World Eater 0.005 were read as integers and truncated to 0, then forced to 0.001. Legendary fish were roughly 350× rarer than intended. CustomFish.weight is now a double.
  4. Fishing no longer locks up when the XP system is disabled. With both XP and discovery disabled, FishingListener.onInteract() could hit a null cache and cancelled every right-click, so nobody could fish in "fishing-only" mode. The missing guard was added.
  5. Catalog GUI item loss fixed.
    • Shift-clicking an item no longer drops it into the shared main menu, where it stayed until a restart.
    • Items placed into page menus are no longer deleted when the menu is closed.
    • Menus are no longer detected by a fragile title check (title.contains("Page")), so other plugins' GUIs are no longer affected.
  6. A database read error no longer wipes player data. A failed loadData() returned an empty profile that was cached and then autosaved over the real data after 5 minutes. Read failures no longer lead to an overwrite, and SQLiteManager.init() errors are now reported instead of being swallowed.

🐛 Other Fixes

Toggle system: vanilla mode edge cases

  • Vanilla loot never dropped while a stale minigame was still running. FishingListener.onFish() now checks vanilla mode first.
  • "Second cast, bobber stuck in water" bug. FishingListener.onInteract() no longer cancels the right-click of vanilla players.
  • Switching to vanilla now cancels any active minigame via the new cancelActiveMinigameSilently() helper. handleWin() is not called, so no custom fish is awarded.
  • Race condition guard. MinigameTask.handleWin() checks isVanillaMode() at the very top. If a player's mode flips between scheduling and execution, no custom fish is awarded and a warning is logged.

Fishing and minigame

  • Bait detection is now consistent: the baitKey PDC value is read as well, so baits without custom model data work.
  • When the minigame is disabled (giveFishDirectly), the weight lore is now added and FishCaughtEvent is fired, the same as in the minigame path.
  • Weight formatting is now consistent across the minigame and direct-catch paths.
  • Double catch now gives each fish its own weight instead of two fish stacked with the same weight.
  • level-luck-bonus default in code now matches the value in config.yml.

Economy and commands

  • Overflow items are dropped at the player's feet instead of disappearing when the inventory is full.
  • Fixed incompatible map types that caused a compilation failure.
  • /pf sell all is now supported.
  • Vault integration and a /pf balance command were added, so players can see their money.
  • addlevel / addcraft now use the permission system instead of isOp(), can target other players, and use MessageManager keys.
  • The invalid_material message now fills in its %material% placeholder.
  • Added tab completion, including ID completion for /pf giverod <id>.

Records and tournaments

  • Records were stored per fish species, so even a 0.7 kg Sardine was announced as a new server record. Replaced with a single global weight record (global.weight). Old per-fish records (server-records.*) migrate automatically on first load. Species records still update silently; only the global record is broadcast.
  • The server record now stores who holds it, not just the weight.
  • A tournament winner who left before the tournament ended no longer breaks rewards: item rewards are given and reward commands now resolve the correct player instead of running as eco give Unknown Player 1000.

Messages and language files

  • The rod level gate message now uses the rod_level_required key (%level%, %current% placeholders).
  • All player-visible command messages go through MessageManager keys (messages_tr.yml / messages_en.yml). No hardcoded text remains.
  • Removed the duplicate usage_sell key from both message files.
  • The fish_discovered message is now actually shown when a fish is discovered.
  • fish_tr.yml is now included in the jar, so Turkish fish names display correctly.

API compatibility and build

  • org.bukkit.block.Biome became an interface on Paper 1.21.3+, which caused IncompatibleClassChangeError on 1.21 servers. Fixed.
  • The project now compiles against paper-api 1.21-R0.1-SNAPSHOT, the oldest supported version, so the jar runs on 1.21 and newer.
  • The open-ended paper.version range was removed, so builds are reproducible.
  • Cleaned up the unused local CraftAPI interface, which did not match the reflection call.
  • Fixed a duplicate main.java.com... package declaration in FishingModeManager.java. Correct package: com.phoenix.fish.manager.

PhoenixFish v1.2.0

Choose a tag to compare

@SudoPH SudoPH released this 18 Aug 12:48
02b9431

🎣 PhoenixFish v1.2.0

A major progression update introducing Skills, Environmental Factors, Weight & Records, Economy, and Tournaments.

PhoenixFish v1.2.0 transforms the fishing experience with several major systems designed to add progression, exploration, economy, competition, and long-term goals.

✨ What's New

🌳 Skill Tree

Players now earn 1 Skill Point every time they level up their fishing level.

Open the Skill Tree with:

/phoenixfish skills

Available skills:

Skill | Effect -- | -- Fast Catcher | Minigame progress bar fills 0.5% faster per level Master Hunter | Increases rare/epic fish chance by 2% per level Double Catch | 10% chance per level to catch 2 fish at once Lucky Bait | 20% chance per level to avoid consuming bait

Configuration values:

rain-luck-bonus: 0.2
storm-luck-bonus: 0.5

🌲 Biome System

Fish can now be restricted to specific Minecraft biomes through fish.yml.

Example:

biomes:
  - SNOWY_PLAINS
  - ICE_SPIKES

This allows special fish to only be caught in specific environments.

Examples:

  • ❄️ Ice Fish → SNOWY_PLAINS, ICE_SPIKES

  • 🌋 Lava Fish → Nether biomes such as BASALT_DELTAS

Fish without a biome restriction can still be caught anywhere.

Fully backward compatible with existing fish configurations.


📈 Fishing Level System

Fishing now includes an XP-based progression system.

  • Each level requires Current Level × 100 XP.

  • Every level grants +2% catch luck.

  • Players receive 1 Skill Point for every level gained.

Example:

Level 1 → 100 XP
Level 2 → 200 XP
Level 3 → 300 XP
...

⚖️ Weight System

Every fish now has an individual weight, making catches valuable not only because of their species, but also because of their size.

How It Works

Each fish can define a minimum and maximum weight in fish.yml:

min-weight: 0.5
max-weight: 5.0

When a fish is caught, PhoenixFish randomly generates a decimal weight between these values.

Example:

Carp → 3.42 kg

The generated weight is automatically added to the fish's lore:

Weight: 3.42 kg

💰 Economy Integration

Weight directly affects the fish's selling price.

Sale Price = Base Price × Fish Weight

For example, if a Carp has a base price of $10:

0.5 kg → $5
5.0 kg → $50

A 5.0 kg Carp is therefore worth 10× more than a 0.5 kg Carp of the same species.

This gives players another reason to keep fishing and search for bigger catches.


🏆 Record System

The Weight System also introduces a competitive Record System.

Fish records are stored in records.yml, creating two different record categories.

🥇 Personal Best (PB)

A Personal Best is created when:

  • A player catches a fish species for the first time.

  • A player catches a heavier fish of a species they have caught before.

When a new personal record is achieved, the player receives an Action Bar notification:

Congratulations! New Personal Best: 4.12 kg!

A level-up sound is also played to celebrate the achievement.

🌎 Server Record / World Record

A Server Record is created when a player catches the heaviest fish of that species ever caught on the server.

This is a much rarer achievement.

When a new server record is set, the entire server receives a broadcast:

🔔 [Player] has set a new Server Record!
Fish: Legendary Shark
Weight: 125.8 kg!

The player who breaks the record also receives the special:

UI_TOAST_CHALLENGE_COMPLETE

achievement sound.

💾 Record Data

Records are safely stored in:

records.yml

The data persists across server restarts, so existing records are never lost.

Record data includes:

  • Record holder

  • Fish species

  • Fish weight

  • Record information

Record file operations are performed asynchronously to minimize the impact on server performance.


💰 Economy & Selling System

PhoenixFish now supports economy integration through Vault.

New selling commands:

/phoenixfish sell hand
/phoenixfish sell all
/phoenixfish sell menu

Commands

  • sell hand — Sells the fish currently held in the player's hand.

  • sell all — Sells all supported fish in the player's inventory.

  • sell menu — Opens a GUI where players can select and confirm fish to sell.

A new Sell button has also been added to the Catalog menu.

Price Calculation

Fish prices are calculated using:

Price = Base Price × Fish Weight

🏆 Tournament System

Administrators can now host timed fishing competitions.

Start a Tournament

/phoenixfish tournament start <minutes>

Stop a Tournament

/phoenixfish tournament stop

Add a Tournament Reward

The item currently held in the player's hand can be set as the reward for a specific tournament placement.

/phoenixfish tournament addreward <place>

Example:

/phoenixfish tournament addreward 1

This sets the item currently held in the player's hand as the 1st place reward.

Tournament rankings can be based on:

  • 🎣 Total catch count

  • 🐟 Fish rarity

Rewards are distributed to the top 3 players when the tournament ends.


🛠️ Admin & Testing Commands

Add Fishing Levels

/phoenixfish addlevel <amount>

Directly modifies a player's fishing level for testing or administration.

Give a Custom Rod

/phoenixfish giverod <rod_name>

Gives the player a configured custom fishing rod.

Repair Fishing Items

/phoenixfish fixall

Scans player inventories and chests for broken rods and bait and attempts to repair them.


🎣 Complete Gameplay Loop

The new Weight and Record systems create an additional progression loop:

Catch a Fish
     ↓
Generate Random Weight
     ↓
Add Weight to Fish Lore
     ↓
Calculate Sale Value
     ↓
Check Personal Best
     ↓
Check Server Record
     ↓
Reward / Announce Achievement

Players are no longer just trying to catch rare fish — they are also trying to catch the biggest fish.


⚠️ Upgrade Guide

If you are upgrading from v1.1.0:

  1. Stop your server.

  2. Back up fish.yml and config.yml.

  3. Start the server again.

  4. New configuration sections for Skills, Weather, and Economy will be generated automatically.

Player data and progression will not be lost.


📦 Summary

PhoenixFish v1.2.0 adds:

  • 🌳 Skill Tree progression

  • 🌧️ Weather-based fishing

  • 🌍 Biome-specific fish

  • 📈 Fishing levels and XP

  • ⚖️ Individual fish weights

  • 🏆 Personal and server-wide fish records

  • 💰 Vault economy integration

  • 🏪 Fish selling system

  • 🏆 Fishing tournaments

  • 🛠️ New administration and testing tools

This update transforms PhoenixFish from a simple fishing minigame into a progression-focused fishing and economy system with exploration, competition, and long-term goals.

PhoenixFish v1.1.0

Choose a tag to compare

@SudoPH SudoPH released this 16 Aug 20:43
02b9431

🎣 PhoenixFish v1.1.0

We are excited to announce PhoenixFish v1.1.0!

This release introduces the highly requested Fishing Catalog System and completely overhauls the plugin's message handling with a new dynamic multi-language system.

✨ New Features

🎣 Fishing Catalog System

Access the new interactive catalog with:

/phoenixfish catalog

The catalog allows players to browse all available fish, baits, and custom rods.

Features

  • 📖 Interactive GUI — Browse all fish, baits, and custom rods.

  • 📄 Pagination System — Items are automatically split across multiple pages for easier navigation.

  • ❓ Discovery Mechanic — Undiscovered fish are displayed as ??? until the player catches them for the first time.

  • 🧭 Dynamic Navigation — Includes:

    • Next Page
    • Previous Page
    • Back to Main Menu

🌍 Multi-Language System

PhoenixFish now supports multiple languages through configurable language files.

Currently supported:

  • 🇬🇧 English — messages_en.yml
  • 🇹🇷 Turkish — messages_tr.yml

You can select the language directly from config.yml.

🛠️ Dynamic Messages

All hardcoded messages have been removed from the codebase.

The following are now loaded dynamically from the selected language file:

  • 💬 Chat messages
  • 📢 Action bar messages
  • 🏷️ Titles
  • 📖 Catalog GUI titles
  • 🖥️ Console logs
  • 🗄️ Database messages
  • ⚠️ Other plugin notifications

Server owners can now translate and customize every plugin message without modifying the source code.

🐛 Fixes & Improvements

  • Fixed an issue where inventory titles could break when the language file did not match the previously hardcoded title.
  • Improved database logging and made it fully translatable.
  • Removed unnecessary static imports.
  • Optimized event listeners.
  • Refactored message handling throughout the plugin.

⚠️ Upgrade Notice

If you are upgrading from v1.0.1, please follow these steps:

  1. Stop your server.

  2. Delete the old messages.yml file, if it exists.

  3. Start the server again.

  4. PhoenixFish will automatically generate:

    • messages_en.yml
    • messages_tr.yml
  5. Select your preferred language in config.yml.

Your player data will not be lost.


📦 PhoenixFish v1.1.0

This update focuses on improving player progression, usability, localization, and maintainability, while laying the groundwork for future PhoenixFish features.

PhoenixFish v1.0.1

Choose a tag to compare

@SudoPH SudoPH released this 15 Aug 23:28

PhoenixFish v1.0.1

Bug fix and stability update focused on database reliability, custom item handling, command performance, and fishing minigame performance.

Bug Fixes

Database & Stability

  • Fixed an issue where players could lose or duplicate XP when joining and leaving the server rapidly.
  • Fixed a memory leak where player session data could remain in memory after leaving the server.
  • Optimized database thread usage for both MySQL and SQLite.
  • Fixed server shutdown issues that could occur when saving large numbers of player data.
  • Improved database saving reliability during server shutdown.

Custom Items & Inventory

  • Fixed custom fishing rods being incorrectly identified when multiple rods had the same luck multiplier.
  • Fixed normal items without Custom Model Data being incorrectly detected as custom bait.
  • Fixed stale bait data remaining after /reload.
  • Fixed custom items not being recognized correctly due to inconsistent NamespacedKey handling.
  • Fixed incorrect item names and lore being applied during item repair operations.

Commands & Tasks

  • Fixed /phoenixfish fixall stopping after scanning only a limited number of chunks.
  • Fixed a potential crash when the administrator running /phoenixfish fixall left the server during the scan.
  • Improved /phoenixfish fixall performance by distributing player inventory scans across multiple ticks.
  • Reduced unnecessary inventory synchronization and updates while scanning containers.

Fishing Minigame

  • Significantly reduced CPU usage caused by frequent Action Bar rendering.
  • Improved minigame UI rendering performance by removing unnecessary message parsing during gameplay.

PhoenixCraft Integration

  • Fixed custom crafting items being lost when closing the PhoenixCraft crafting interface.
  • Fixed an item duplication issue involving cursor items during crafting.
  • Fixed a potential ConcurrentModificationException when recipes were loaded while players were crafting.

Performance & Reliability

This release includes several internal improvements focused on:

  • Database reliability
  • Memory usage
  • Inventory scanning performance
  • Server shutdown stability
  • Fishing minigame CPU usage
  • Custom item handling

Requirements

  • Minecraft: 1.21+
  • Java: 21
  • Server Software: Paper or Purpur

Previous Release

See [PhoenixFish v1.0.0](https://github.com/SudoPH/PhoenixFish/releases/tag/v1.0.0) for the initial release.

If you encounter any issues, please open an issue on GitHub:

https://github.com/SudoPH/PhoenixFish