> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-fishing/reference/commands.md).

# Commands

***

## Players

| Command        | Does                                                       |
| -------------- | ---------------------------------------------------------- |
| `/fish`        | Open the tackle ledger and choose bait from what you carry |
| `/bait <name>` | Put a bait straight on the hook without the ledger         |

Everything else is a prompt in the world or a key during the fight — there is nothing else for a player to type.

***

## Admin and testing

These only work while `Config.AllowTestCommands` is `true`.

| Command                | Does                                  |
| ---------------------- | ------------------------------------- |
| `/giverod`             | Grant the fishing rod weapon          |
| `/givebait <name> [n]` | Grant bait                            |
| `/givefish [name] [n]` | Grant fish. No name gives one of each |
| `/fishnow`             | Make the next bite due immediately    |
| `/markettp`            | Teleport to a fish buyer              |

{% hint style="danger" %}
Set `Config.AllowTestCommands = false` before going live. The grant commands stop working and both the rod and bait come only from shops.
{% endhint %}

***

## Setup

For placing things while you build your server.

| Command                  | Does                                                      |
| ------------------------ | --------------------------------------------------------- |
| `/marketmove [id]`       | Move a buyer to where you stand and print the config line |
| `/marketcoords`          | Print your position without moving anything               |
| `/notifytest [provider]` | Preview a notification system                             |

***

## Diagnostics

| Command      | Does                                             |
| ------------ | ------------------------------------------------ |
| `/fishdebug` | Dump the current session state to the server log |
| `/baittest`  | Report what the bait on the hook is doing        |

The script writes traces to the **server** console, not the player's F8, so you can read them without being in the game:

```
BITE using chain_pickerel at 12.4m (ambient)
BITE approaching: 7.3m (need 1.6m) drift=0.20m/s
```

That first number should fall. See Troubleshooting.
