> For the complete documentation index, see [llms.txt](https://anubiswiki.flyffbot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anubiswiki.flyffbot.com/potions.md).

# Potions

<figure><img src="/files/8e9K0JofG2cJzRbEmnVD" alt=""><figcaption></figcaption></figure>

## Potions Tab Function Reference

This table describes each user-facing function in the Potions tab and the automatic potion behavior.

### How to set up automatic potions

#### Food

1. Put your food item on a hotbar key, for example **1** or **F1**.
2. Open the **Potions** tab and expand **Food | Pills**.
3. Enable **Activate Food**.
4. Set the **Food Key** to the same hotbar key where your food is placed.
5. Set the food HP slider to the HP percent where food should be used. Example: **70** means food is used when HP is 70% or lower.

#### Pills

1. Put your pill item on a hotbar key.
2. Open **Food | Pills**.
3. Enable **Activate Pills**.
4. Set the **Pill Key** to the same hotbar key where your pills are placed.
5. Set the pill HP slider to the emergency HP percent where pills should be used. A lower value than food is usually recommended, for example food at 70% and pills at 35%.

#### MP Refresher

1. Put your MP refresher or MP potion on a hotbar key.
2. Expand **MP | FP Refresher**.
3. Enable **Activate MP**.
4. Set the **MP Key** to the same hotbar key where your MP item is placed.
5. Set the MP slider to the MP percent where the refresher should be used. Example: **40** means MP is restored when MP is 40% or lower.

#### FP Refresher

1. Put your FP refresher or FP potion on a hotbar key.
2. Open **MP | FP Refresher**.
3. Enable **Activate FP**.
4. Set the **FP Key** to the same hotbar key where your FP item is placed.
5. Set the FP slider to the FP percent where the refresher should be used. Example: **40** means FP is restored when FP is 40% or lower.

The auto potion thread checks these values automatically. If the Security system is currently pausing bot activity because a player or GM was detected, automatic potion usage waits until the security pause ends.

| Section            | Function       | Control Type        | What It Does                                                                                            | Notes                                                  |
| ------------------ | -------------- | ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| Food \| Pills      | Activate Food  | Checkbox            | Enables automatic food usage when HP is at or below the configured food threshold.                      | Checked every 500 ms while security pause is inactive. |
| Food \| Pills      | Food Key       | Combo box           | Selects the key used for automatic food.                                                                | Options include 0-9, F1-F10, and ALT+0 through ALT+9.  |
| Food \| Pills      | Food threshold | Slider              | Sets the HP percent where food should be used.                                                          | Range: 1 to 99 percent.                                |
| Food \| Pills      | Activate Pills | Checkbox            | Enables automatic pill usage when HP is at or below the configured pill threshold.                      | Pills are checked before food in the auto potion loop. |
| Food \| Pills      | Pill Key       | Combo box           | Selects the key used for automatic pills.                                                               | Options include 0-9, F1-F10, and ALT+0 through ALT+9.  |
| Food \| Pills      | Pill threshold | Slider              | Sets the HP percent where pills should be used.                                                         | Range: 1 to 99 percent.                                |
| MP \| FP Refresher | Activate MP    | Checkbox            | Enables automatic MP potion usage when MP is at or below the configured threshold.                      | Checked after HP potion logic.                         |
| MP \| FP Refresher | MP Key         | Combo box           | Selects the key used for automatic MP potions.                                                          | Options include 0-9, F1-F10, and ALT+0 through ALT+9.  |
| MP \| FP Refresher | MP threshold   | Slider              | Sets the MP percent where an MP potion should be used.                                                  | Range: 1 to 99 percent.                                |
| MP \| FP Refresher | Activate FP    | Checkbox            | Enables automatic FP potion usage when FP is at or below the configured threshold.                      | Checked after MP potion logic.                         |
| MP \| FP Refresher | FP Key         | Combo box           | Selects the key used for automatic FP potions.                                                          | Options include 0-9, F1-F10, and ALT+0 through ALT+9.  |
| MP \| FP Refresher | FP threshold   | Slider              | Sets the FP percent where an FP potion should be used.                                                  | Range: 1 to 99 percent.                                |
| Automatic behavior | Security pause | Background behavior | AutoPotion waits while security has detected a GM or player and resumes after the detection pause ends. | Uses the shared security detection state.              |
