> 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/private-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-cbc38c4208d7754ef44929cc169e2b810128c554%2Ffarming-tab-main.png?alt=media" alt="Farming tab"><figcaption><p>Farming tab (build v250926)</p></figcaption></figure>

* **Manual VID Range** — Set the VID range manually (uncheck the box to set it automatically; recommended for longer farming sessions).\
  **Lower VID Range** (max 100) — Detects nearby entities faster.\
  **Higher VID Range** (max 9999) — Detects all entities around you, but may take a few seconds to find them all.
* **Classic start button** — Check this box if the green play button is not appearing.
* **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 continue attacking an entity for a few seconds after it has already been killed.
* **What to farm** — Select what you want the bot to farm:\
  \
  **Metins:** The bot will farm all Metins near you.\
  **`-`** button — Clears the existing ignore Metin list.\
  **`+`** button — Adds the selected Metin to the ignore list.\
  \
  **Bosses:** The bot will farm all Bosses near you.\
  **`-`** button — Clears the existing custom Boss list.\
  **`+`** button — Adds the selected target to the custom Boss list.\
  \
  **Monsters:** The bot will farm all Monsters near you.\
  **Ore:** The bot will farm all Ores near you.

<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 to you 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 mine each ore at a time (default: 30 seconds).</code></strong></p></figcaption></figure>

* **Metin / Boss 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 the 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 farm within the specified range.
* **Farm by route** — The bot will follow the route you have created when no entities are found nearby.
* **Fixed range** — The bot will stay within the specified range and will not exceed it.\
  The checkbox next to it — If checked (only applies to "Farm in range"), the bot will return to the initial farming position when no entities are found.
* **Unstuck character** — Recommended when using Walking as the movement method. When enabled, the bot monitors whether your character is stuck and automatically frees it if needed.\
  \
  **Use horse skill** — The bot will use this horse skill to help get unstuck:

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

* **Stop if player detected** — The bot will stop farming if any player is detected nearby (excluding players on the Anti-ban whitelist).
* **Do not KS** — The bot will not attack entities that are already being attacked by another player.
* **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 — a faster escape than a full relog.
* **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 and mount your horse automatically.\
  **Pause attack** — Pauses attacking while the bot is busy mounting/dismounting, to avoid wasted hits.
* **No distance check (WH)** — Skips the usual distance check against the Waithack range, for setups running [Waithack](/private-servers/waithack.md) alongside Farming.
* **Skip metin if still attacking after x seconds** — The bot will move on to the next target if the current Metin has not been killed within the specified number of seconds.
* **Farm settings → Options** — Opens an additional settings window with further tuning options for the farm routine.
* **CH Changer:**

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/TIyOAFM8drp9ZYEYdyp7" alt=""><figcaption><p><br><strong><code>Change CH after route is finished — The bot will switch to the next channel after completing the route and finding nothing 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 to attack.</code></strong><br><strong><code>Relog if nothing to attack — The bot will relog your character if there is nothing to attack.</code></strong><br></p></figcaption></figure>

* **One hit** — The bot will only hit each enemy once, preventing you from pushing nearby mobs away.
* **Freeze location** — The bot will lock your current position; your character 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 (useful for testing detection/pathing).\
  **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://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2Fgit-blob-3978dafe9b07f4731b5546d85e4392e68491729a%2Fmap-teleport-window.png?alt=media" alt="Map teleport window"><figcaption><p>Map teleport window — click a point on the map (or a detected Metin/boss marker) to teleport there</p></figcaption></figure>

* **How to move** — Movement method used for the teleport (Walking / Hybrid / Teleporting).
* **Auto refresh map** — Keeps redrawing detected Metins/bosses on the map as they update.
* **Radar** — Shows a compact radar-style view instead of the full map.
* **Record route** — Records your movement as a route STMod can replay with **Farm by route**.
* **Use capes each x seconds** — The bot will use the Capes item to attract nearby monsters.\
  **Capes ID** — The VNUM of the Capes item to use; click **Read ID** to detect it automatically from your inventory.<br>

<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 more monsters.</code></strong></p></figcaption></figure>

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

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

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

**`Farming tab -> Pickup`**

<figure><img src="https://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2Fgit-blob-4a0e31f6c167136d66d7ea22d4c902a4347c5dbe%2Ffarming-pickup-tab.png?alt=media" alt="Pickup sub-tab"><figcaption></figcaption></figure>

* **Items to pick (VIDs)** — Add ground items to this list by clicking the **Add item** button. Use **Add item (search)** to find an item by name instead of by VID.
* **Item filter: exact item match (new)** — When enabled, the list only matches items whose name/data matches exactly, avoiding false positives between similarly-named items.
* **Global list (all servers)** — Use one shared pickup list across every server profile instead of a per-server list.
* **Exclude items in list (pick rest)** — Inverts the list: STMod picks up everything *except* the items you've added.
* **Filter pickup** — When enabled, the bot will only pick up items that are in the VIDs list.
* **Enable pickup** — Starts the pickup bot.\
  **Pickup only after breaking an entity** — Prevents the pickup bot from spamming; items will only be picked up after you kill an enemy.
* **Pickup speed** — Set the desired pickup speed, in seconds between pickups.\
  **Randomize pickup speed** — Adds small random variation to the pickup speed instead of a fixed interval.
* **Pick all items at once** — The bot will attempt to pick up all nearby items at once. Note: this may not work on all servers.
* **Pick-up items only when farmbot has target** — Only picks up items while the Farming bot is actively engaged with a target, instead of continuously.
* **Pick-up yang only** — Only picks up yang, ignoring items (must be used together with **Filter pickup**).
* **Pickup range** — Sets the radius around your character in which the bot will pick up items.
* **Walk to item** — Lets the bot walk to items that are outside its normal pickup range instead of skipping them.
* **Prioritize pickup (pause farm/waithack)** — Temporarily pauses Farming/Waithack while picking up items, so movement doesn't interrupt the pickup.

**`Farming tab -> Levelbot`**

The third sub-tab farms a list of saved map areas one after another, instead of a single spot or a route. See the dedicated [Levelbot](/private-servers/levelbot.md) page.
