Fishing Guides

Fishing · Release 2.1.1

Backup And Recovery

Stop the server cleanly and back up the whole plugins/Fishing folder plus the arena/lobby worlds before updating. Keep the previous runtime JAR with that backup. Do not downgrade only a data file from an older backup.

Path Purpose
config.yml Owner settings and optional private website token
setup.yml Lobby spawn, arena boundaries, names, times, player spawns
displays.yml Leaderboard locations and Fishing Citizens references
records.yml Scores, wins, completed rounds, fee/reward ledger
players/UUID.yml Pending inventory/effect/state recovery snapshots
config-backups/ Pre-upgrade config backup
guides/backups/ Preserved older/edited bundled guides
web/leaderboards.json Public website export; not a recovery source
examples/fishing_arena.schem Optional arena example; never pasted automatically

A participant's snapshot is written and flushed before clearing arena gear. Exits restore at the permanent Fishing lobby; disconnect/rejoin and restart retry pending restoration. A bad/missing lobby leaves the record in place. Fix the lobby and use /fishing admin recover <player>. Damaged recovery records are retained for manual review; they are not replaced with empty inventory defaults. Check console logs and restore a verified backup if necessary.

Vault transfer and disk writes cannot form one atomic transaction. Records marked processing/refunding are uncertain; compare provider/player logs before paying/refunding manually. Never reset or blindly replay uncertain payments. Reward records pending delivery can be retried with /fishing rewards once recovery is complete (and an inventory slot is free for diamond rewards).

Recovery does not protect against deleted/corrupt disks, manual snapshot deletion, restoring mismatched backups or another plugin overwriting player state. Inventory restoration saves player data before removing the snapshot, but an abrupt failure at a disk/provider boundary can still need administrator reconciliation. Test restart recovery on a staging server.

To roll back an update, stop, restore the whole pre-upgrade plugin data/world backup and matching JAR, then restart. Never publish configs, player records, owner mappings or ledger files as customer downloads.

Disconnect and reconnect

Players have reconnect-seconds: 120 by default to return to the same live round. Set 0 to disable grace, or choose 1–600 seconds. Apply settings only with no active matches/recovery. Their slot, spawn assignment, score, catch tie-breaks and extra-line upgrades stay reserved. Active bobbers are removed when they disconnect. Returning players rejoin automatically and receive their match rods; the saved original inventory is not overwritten or restored early.

Running match time continues during grace. If the match ends before they return, it stays ended and their original belongings are restored on return. At timeout their round score is forfeited and their original snapshot remains safe for restoration when they reconnect. A queued player who never entered the arena keeps their normal inventory throughout; a durable return-only marker sends them to the lobby after an offline timeout/cancellation without replacing their inventory.

The join countdown waits at two seconds while someone is disconnected, up to their grace deadline. A creator who times out before start still cancels that waiting round. /fishing leave forfeits immediately; it does not start grace. Server restarts cancel live rounds rather than resume them; original snapshots recover on the next join. This is a reconnect window for a live round, not a persistent match save.

returns/UUID.yml contains return-only lobby notices for queued players who timed out or whose game ended while offline. These are not inventory snapshots; keep this folder in backups too.