> For the complete documentation index, see [llms.txt](https://wiki.stmod.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.stmod.net/official-servers/farming.md).

# Farming

<figure><img src="https://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2Fgit-blob-aa6725e13b468ea5e0d385f7c6c9ec499fb142de%2Ffarming-tab-main.png?alt=media" alt="Farming tab"><figcaption><p>Farming tab (build v250926)</p></figcaption></figure>

{% hint style="info" %}
Item pickup is its own top-level tab on Official servers — see [Pickup](https://wiki.stmod.net/official-servers/pickup.md).
{% endhint %}

* **Classic start button** — Check this box if the green play button is not showing up.
* **Priority** — Select which category of entities the bot should prioritize (Metins first / Bosses first).
* **Wait x sec.** — How many seconds the bot should wait before moving to the next target.
* **Route steps wait** — How many seconds the bot should wait before moving to the next step in a route.
* **Go to next target immediately** — Enable this only if your server causes the bot to keep attacking an entity for a few seconds after it has already been killed.
* **What to farm** — Tick what the bot should go after: **Metins**, **Bosses**, **Mobs**, **Ore** and **Players**.\
  **Edit** — Opens the **Farm filter** window, where each of those categories keeps its own list, level range and rank filter.\
  **PvP** — Opens the **Player farm** window, which controls everything about attacking players.\
  Both windows work exactly as they do on Private Servers — see [Farm filter](https://wiki.stmod.net/private-servers/farming.md#farm-filter) and [Player farm](https://wiki.stmod.net/private-servers/farming.md#player-farm).
* **What to mine** — Which ore to mine: a specific type, **Everything**, or **Custom**, which uses the Ore list from the Farm filter.
* **Time mining ore** — How many seconds the bot spends on each ore. The checkbox next to it randomizes that time slightly instead of using the exact value every time.

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/Tw38w0h7Sc3cGyTks9Mi" alt=""><figcaption><p><br><strong><code>Mine nearest ore — The bot will focus on the closest ore first.</code></strong><br><strong><code>What to mine — The bot will mine every ore it finds near you.</code></strong><br><strong><code>Not auto pickaxe — Disable this if the bot should not automatically equip a pickaxe before mining.</code></strong><br><strong><code>Time mining ore — How many seconds the bot should spend mining each ore at a time (default is 30 seconds).</code></strong></p></figcaption></figure>

* **Entity detector** — **Open** shows the detector window, which finds the closest Metin, boss and ore, lists everything it has found with coordinates and distance, and gives each a **Go** button. It works the same as on Private Servers — see [Entity detector](https://wiki.stmod.net/private-servers/farming.md#entity-detector).

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/RumLICxv6aCM6gLkloyt" alt=""><figcaption><p><br><strong><code>Detect metins — The bot will detect all metins around you.</code></strong><br><strong><code>Detect bosses — The bot will detect default bosses from the game.</code></strong><br><strong><code>Custom bosses — The bot will detect bosses you have flagged manually (to flag a custom boss, right-click it and select "Add boss").</code></strong><br><strong><code>Rotate to target — The bot will rotate your character to face the detected entity (metin/boss).</code></strong></p></figcaption></figure>

* **How to move** — Select which movement method the bot will use:
  * Walking
  * Hybrid *(recommended — your character will not get stuck, and other players will see you moving normally)*
  * Teleporting
* **Attack on foot** — Forces the bot to stay on foot (dismounted) while attacking, even if **Use horse / use mount** is enabled for travel.
* **Farm in range** — The bot will only farm entities within the specified range.
* **Farm by route** — If no entities are found nearby, the bot will follow the route you have created.\
  **Run route backwards** — Walks the route in reverse order.\
  **Randomize waypoint position** — Each pass the bot aims a few steps beside each route point rather than the exact same spot, so the path never repeats the same coordinates.
* **Fixed range** — The bot will stay within the specified range and will not exceed it.
* **Not auto pickaxe** — Disables automatically equipping a pickaxe before mining.
* **Unstuck character** — Recommended when using the Walking movement method. When enabled, the bot will detect if your character is stuck and automatically free it.\
  \
  **Use horse skill** — The bot will use this horse skill when it needs to become unstuck:

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/d6a5wtiJ5aFRwGen4b3o" alt=""><figcaption></figcaption></figure>

* **Do not KS** — The bot will not attack entities that are already being attacked by someone else.
* **Relog / TP if HP lower than** — Choose whether the bot relogs or teleports your character away once your HP drops below the percentage you set.\
  **TP hybrid if HP lower than** — A second, usually lower, HP percentage at which the bot teleports even if Relog is the selected action.
* **Wait for HP %** — After an HP-triggered escape, the bot waits until your HP recovers to at least this percentage before resuming attacks.
* **Use horse / Use mount** — When enabled, the bot will continuously check whether you are mounted. If not, it will summon your horse and ride it again automatically.\
  **Pause attack** — Pauses attacking while the bot is busy mounting/dismounting.
* **Skip metin if still attacking after x seconds** — If the bot is still attacking a metin after the specified number of seconds, it will skip to the next target.
* **Farm settings → Options** — Opens the **Farm settings** window: channel changing, relogging when nothing is found, relogging on a stun or when the character has not moved, skipping targets the bot cannot reach, and playing a [Recorder](https://wiki.stmod.net/official-servers/recorder.md) recording between farm runs. See [Farm settings](https://wiki.stmod.net/private-servers/farming.md#farm-settings).
* **CH Changer:**

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/AFWe0P4q1kGPot7P0IGY" alt=""><figcaption><p><strong><code>Change CH after route is finished — The bot will switch to the next channel once the route is completed and nothing is found to attack.</code></strong><br><strong><code>Change CH if nothing to attack — The bot will switch to the next channel if there is nothing nearby to attack.</code></strong><br><strong><code>Relog if nothing to attack — The bot will relog your character if there is nothing nearby to attack.</code></strong></p></figcaption></figure>

* **One hit** — The bot will only strike once per attack, preventing mobs from being knocked away from you.
* **Freeze location** — The bot will lock your character's current position; you will not be able to move from that spot.
* **Attack** — Choose an attack mode (default **Normal**) and click **Start** for the bot to continuously attack, as if holding the Space key.\
  **Don't attack** — Detects and targets entities without ever attacking them.\
  **Attack once** — Attacks a target a single time instead of continuously.
* **Item user:**

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/KmtR4UE4MsvZqvXhWRI3" alt=""><figcaption></figcaption></figure>

* **Map teleport:**

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/Ezpf5mSTjvFrNTt8Vc7H" alt=""><figcaption></figcaption></figure>

* **Hotkey teleport** — Allows you to teleport manually by pressing the arrow keys.

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/y2TfdtPPwhommMt3NiCD" alt=""><figcaption><p><strong><code>This value controls the distance of each teleport step.</code></strong></p></figcaption></figure>

* **Use capes every x seconds** — The bot will use the cape item at the specified interval to attract nearby monsters.\
  **Capes ID** — The VNUM of the Capes item to use; click **Read ID** to detect it automatically from your inventory.

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/ejXD8QIx0W6FwC4cT5zC" alt=""><figcaption><p><strong><code>When this box is checked, the bot will teleport your character in a cross pattern to attract a larger group of monsters.</code></strong></p></figcaption></figure>

* **Moblock** — This function keeps all nearby mobs locked to your position; the button shows **MobLock ON/OFF** to indicate its current state. Note that this effect is only visible on your end. Depending on your server's rules, you may not be able to attack these mobs with regular hits, but skills should still work.

**`Farming tab -> Levelbot`**

The Farming tab's sub-tab farms a list of saved map areas one after another, instead of a single spot or a route. See the dedicated [Levelbot](https://wiki.stmod.net/official-servers/levelbot.md) page.
