> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atlasscripts.net/llms.txt
> Use this file to discover all available pages before exploring further.

# atlasFishing Overview

> A complete FiveM fishing activity built on atlasBridge — supplies shop, bait progression, four NUI minigames, six rarity tiers, selling, and optional boat rentals.

`atlasFishing` is a complete fishing activity for FiveM, built on [`atlasBridge`](/atlas-bridge/overview). One fisherman ped sells supplies and buys your catch; players cast near water, play a quick minigame, and reel in fish across six rarity tiers. Progression is bait-driven — better bait, better odds.

Because it runs on the bridge, it works on **ESX, QBox, QB-Core, or standalone** with **ox / qb / qs** inventories — no per-framework glue. The bridge handles framework, inventory, UI, target/interaction, money, and entity cleanup, so the fishing logic stays the same on every stack.

<CardGroup cols={2}>
  <Card title="Installation" icon="https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/rocket-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=f9ebbaa555e365b02e17af8d38a58a6d" href="/atlas-fishing/installation" width="24" height="24" data-path="icons/rocket-filled.svg">
    Place the resource, set the start order, register the inventory items, and run a smoke test. Includes a fast-path speed run.
  </Card>

  <Card title="Configuration" icon="https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/wrench-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=2f07ced69c9d944e41df19ed19c921f6" href="/atlas-fishing/configuration" width="24" height="24" data-path="icons/wrench-filled.svg">
    The authoritative guide to every `config.lua` block — ped, cast, tiers, baits, fish, zones, minigames, selling, shop, boat rental.
  </Card>

  <Card title="Items & Icons" icon="https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/box-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=c228a3b89453b292c0cedb29c252b3ab" href="/atlas-fishing/items" width="24" height="24" data-path="icons/box-filled.svg">
    The item keys the script expects and how to register them per inventory.
  </Card>

  <Card title="Minigames" icon="https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/gamepad-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=4b8b8d015f8b4f03fd8af2bec7e4d82b" href="/atlas-fishing/minigames" width="24" height="24" data-path="icons/gamepad-filled.svg">
    How Tension, Whirlpool, Cast Meter, and Reel Rhythm work and how to tune them.
  </Card>
</CardGroup>

## The player loop

<Steps>
  <Step title="Interact with the fisherman">
    Walk up to the fisherman ped and interact (default key **E**) to open **Supplies** or **Sell**.
  </Step>

  <Step title="Buy a rod and bait">
    Purchase a `fishing_rod` and at least one bait from the supplies shop. Bait sets your catch odds.
  </Step>

  <Step title="Cast on water">
    Use the rod near water (or from a boat). A cast progress bar runs, then a random idle wait before the bite.
  </Step>

  <Step title="Play the minigame">
    One of four NUI minigames opens. Land it to hook the catch.
  </Step>

  <Step title="Reel in by rarity tier">
    The server rolls a catch weighted by tier, bait, and zone. The fish spawns, flops on the ground, and the player picks it up and holds it.
  </Step>

  <Step title="Sell the catch">
    Return to the fisherman and sell. Payouts go to the configured money account.
  </Step>
</Steps>

## Feature map

Each feature maps to one config block. Use this to jump straight to what you want to tune.

| Feature                                       | Configure in                                 |
| --------------------------------------------- | -------------------------------------------- |
| Fisherman ped, blip, interaction method       | `Config.ped`                                 |
| Rod item, prop, and idle animation            | `Config.rod`                                 |
| Cast timing, water requirement, boats         | `Config.cast`                                |
| Rarity tiers (base weights)                   | `Config.tiers`                               |
| Bait ladder — price, fail %, tier multipliers | `Config.baits`                               |
| Fish & junk — tier, price, prop, weighting    | `Config.fish`, `Config.junk`                 |
| Hotspot zones (rarity multipliers)            | `Config.zones`                               |
| Catch spawn, pickup, hold, and flop           | `Config.catchSeq`                            |
| The four NUI minigames + SFX                  | `Config.minigame`                            |
| Cancel fishing on death                       | `Config.death`                               |
| Selling mode and payout account               | `Config.sell`                                |
| Supplies shop catalog                         | `Config.shop`                                |
| Optional boat rental                          | `Config.boatrental`                          |
| Player-facing messages                        | `Config.notify`                              |
| Logging / custom rewards (hooks)              | `editable/client.lua`, `editable/server.lua` |

## Dependencies

`atlasFishing` declares `dependency 'atlasBridge'` and will not initialize without it.

* [`atlasBridge`](/atlas-bridge/overview) — hard dependency, started **before** this resource.
* A supported framework + inventory detected by the bridge, or standalone mode.
* OneSync.
* The committed `web/dist` NUI build (ships with the resource).
* Inventory items registered in your inventory (rod, baits, fish).

<Warning>
  The resource folder must stay named **`atlasFishing`**. `shared/guard.lua` checks the name on startup; if it is renamed, the script prints a console warning and disables itself until the folder name is restored.
</Warning>

## Next steps

<CardGroup cols={2}>
  <Card title="Install it" icon="https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/rocket-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=f9ebbaa555e365b02e17af8d38a58a6d" href="/atlas-fishing/installation" width="24" height="24" data-path="icons/rocket-filled.svg">
    Get the resource running, items registered, and a working catch.
  </Card>

  <Card title="Balance the economy" icon="https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/coins-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=bd777b298410d7d9ce026c158c25f13f" href="/atlas-fishing/economy-balancing" width="24" height="24" data-path="icons/coins-filled.svg">
    Tune tiers, bait, prices, and payouts for your server.
  </Card>
</CardGroup>
