# Usage

* **Starting to Fish**
  * If <mark style="color:yellow;">`FishingAnywhere=false`</mark>, players go to a defined **zone**. Otherwise, they can fish from anywhere.
  * A help text appears: “Press E to start fishing.”
  * The script checks if the player has a **normal** or **premium** rod. If they do, they begin fishing.
* **Catching Loot**
  * Every <mark style="color:yellow;">**`Config.FishingTime`**</mark> seconds, the script calls a server event that randomly selects a reward from the zone’s fish table (or `DefaultFishLootTable` if no zone).
  * If using a **premium rod**, the <mark style="color:yellow;">`chance`</mark> is multiplied by <mark style="color:yellow;">`PremiumLootMultiplier`</mark>.
* **Stopping**
  * Press **E** again to cancel.
  * If the player moves more than <mark style="color:yellow;">`MaxFishingDistance`</mark> from the start or stops the scenario, fishing ends with a “MovedTooFar” message.
* **Boat Anchor**
  * If <mark style="color:yellow;">`Config.AnchorItem`</mark> is defined, players can anchor/unanchor their boat (class 14 vehicles) using that item, preventing drift.
* **Selling Fish**
  * The **Fish Shop** marker is displayed at <mark style="color:yellow;">`Config.FishShop.coords`</mark>.
  * Approaching it and pressing **E** opens the fish shop UI.
  * The script tallies items from <mark style="color:yellow;">`SellItems`</mark> in their inventory, removing them and awarding money accordingly.
* **Discord Logging**
  * If <mark style="color:yellow;">`Config.DiscordWebhook`</mark> is set, the script logs how long each player has been fishing every <mark style="color:yellow;">`DiscordNotificationInterval`</mark> minutes.
