Gold
-
Elixir
-
Dark
-
Activity Feed
Live
⚔
Start AI Farm to see activity
Bot Log
Attack Strategy
Strategy
Attack Mode:
Deploy Pattern:
Deploy Speed:
Troop Composition
Slots (1-11):
Counts per Slot:
Spell-Slots:
Spells after Slot:
Army Preview
120
S.Goblin
4
Earthquake
2
Haste
1
Jump
1
King
1
Queen
1
Warden
Army Presets Quick Switch
Sneaky Goblins
120 SG + 4 EQ + 2 Haste
Active
Queen Walk
5 Healer + Giants + Wiz
Saved
GoWiPe
Golem + Wizard + Pekka
Saved
+
New Preset
Train Troops
Auto-Train Settings
Train Method:
Retrain delay:
ms
Current Army Status
Army Capacity
300 / 300
Spell Capacity
11 / 11
Siege Machine
Wall Wrecker
Next army ready in: Ready!
Boost active: 1h 23m remaining
Troop Queue
| Troop | Count | Housing | Time | Status |
|---|---|---|---|---|
| Sneaky Goblin | 120 | 300/300 | 0s | Trained |
| Earthquake Spell | 4 | 4/11 | 0s | Brewed |
| Haste Spell | 4 | 8/11 | 0s | Brewed |
| Jump Spell | 1 | 10/11 | 0s | Brewed |
| Freeze Spell | 1 | 11/11 | 0s | Brewed |
Clan Donations
Donation Settings
Donate Troops:
Donate Spells:
Max per request:
Request Settings
Request text:
Request interval:min
Donation Stats (Session)
Troops Donated142
Troops Received38
Spells Donated12
Village Management
Resource Collection
Own Resources
Gold30,833,649
Elixir28,421,300
Dark Elixir312,450
Builder Status
Builder 1
Cannon Lv.21
1d 14h
Builder 2
Archer Tower Lv.20
2d 8h
Builder 3
X-Bow Lv.8
5d 2h
Builder 4
Available
Free
Builder 5
Available
Free
Lab Status
Laboratory
Sneaky Goblin Lv.4
3d 12h
Pet House
Electro Owl Lv.8
4d 6h
Upgrade Manager
Auto-Upgrade Settings
Min Gold Reserve:
Min Elixir Reserve:
Min Dark Reserve:
Event Troops (temporary)
Some CoC events grant extra troops in slot 1 outside your army link (e.g. Mass Golden Dragons → 20 dragons). Set the count here and the bot will deploy them via hotkey '1' BEFORE the regular army runs, then shift the rest of the army-link slots by +1 to keep the goblins/giants/etc. lined up. Set back to 0 once the event ends.
Slot 1 count:0 = disabled
Wall Upgrade
After each battle: pick a wall from the upgrade list and batch-upgrade it. Uses gold or elixir — whichever you have more of.
Wall Cost:
Min Resource:
Only upgrade walls when gold OR elixir is above this value. Prevents the bot from only upgrading walls when resources are low.
Max per batch:
Fuehrt nur den Wall-Upgrade Flow aus — du musst im MainVillage sein.
Upgrade Queue Priority Order
| # | Building | Current Lv | Next Lv | Cost | Time | Status |
|---|---|---|---|---|---|---|
| 1 | Barbarian King | 75 | 76 | 280,000 DE | 7d 12h | Waiting |
| 2 | Archer Queen | 80 | 81 | 300,000 DE | 8d | Waiting |
| 3 | Inferno Tower | 7 | 8 | 14,000,000 | 14d | Queued |
| 4 | Eagle Artillery | 4 | 5 | 16,000,000 | 16d | Queued |
| 5 | Walls (x25) | 15 | 16 | 7,000,000 ea | instant | Auto |
Bot Schedule
Weekly Schedule Click to toggle
Red = Active | Dark = Inactive
Timezone: UTC+1 (CET)
Break Settings
Break every:min
Break duration:min
Randomize:%
Activity Profile
Profile:
Max daily attacks:
Session limit:min
Today: 47/300 attacks (15.7%)
Defense & Shield
Shield Management
Current ShieldGuard 4h 23m
Personal Break Timer
Time Online2h 34m / 3h
Defense Log Last 24h
| Time | Attacker | Result | Trophies |
|---|---|---|---|
| 6h ago | xXDragonSlayerXx | 2 Star | -18 |
| 11h ago | ClashKing99 | 1 Star | -12 |
| 14h ago | GoblinMaster | Defended | +8 |
| 19h ago | WarMachine | 3 Star | -28 |
Settings
General
Language:
Scan Interval:sec
Notifications
Telegram Integration
Bot Token:
Chat ID:
Discord Webhook
Webhook URL:
Emulator Settings
Emulator:
⚠ Only Google Play Games is supported.
BlueStacks, LDPlayer, MEmu, Nox Player and similar Android emulators are not compatible — the bot relies on Google Play Games' specific window dimensions and rendering pipeline.
BlueStacks, LDPlayer, MEmu, Nox Player and similar Android emulators are not compatible — the bot relies on Google Play Games' specific window dimensions and rendering pipeline.
Input Method:
Screenshot:
OCR Engine
Engine:
Scale Factor:
Threshold:
Search Settings
Minimum loot to attack a base, search behavior, and auto-threshold tuning — all search parameters in one place.
LOOT THRESHOLDS
Min Gold
100K
Min Elixir
100K
Min Dark Elixir
0
Condition:
🔍
SEARCH BEHAVIOR
Max Searches
200
Search Timeout
120s
Restart after
30 searches
🔽
AUTO-LOWER SEARCH CRITERIA
Drop the loot thresholds gradually when no base is being found.
Lower after
50 skips
Reduce by
10%
Minimum floor
30%
Wall Upgrade
Auto-upgrade walls after a successful farming run. Disabled when the toggle is off.
🧱
Wall Reinforcement
Toggle, cost, batch size
Wall Cost4M
Min Resource to Start8M
Max per Batch5
Account
User
?
—
—
Notification Channels
Desktop toasts and Discord webhook are configured in their own page.
Updates
The bot checks for updates automatically on startup. Click below to check now.
Help & Tutorial
Re-watch the 9-step spotlight tour that highlights every important part of the bot — emulator setup, deploy zones, start button, live stats, and more.
Tip: the ? button in the title bar does the same thing.
Developer Tools
Quick utilities for debugging click positions and grabbing the bot's debug captures (useful when reporting an issue).
Position Finder: click anywhere on the game window → bot logs the client coordinate.
Open Bot Folder: opens
Open Bot Folder: opens
%LOCALAPPDATA%\KoiBot\ — debug captures + ocr_audit logs live there.
Notifications
Choose WHERE and WHEN you want to be notified.
📱
Desktop Toasts
ON
Appear in the lower right corner even when Koi Bot is minimized. Without the switch, events are processed silently.
💬
Discord Webhook
OFF
Webhook URL:
Server > Channel Settings > Integrations > Webhooks > New Webhook > Copy Webhook URL.
Event-Matrix
Toggle each event type independently
Event
Desktop
Discord
🎯 Target locked
Bot greift eine Loot-Base an (mit Screenshot)
🪓 Wall upgrade
Wall batch upgraded successfully
🚨 Recovery / Error
Bot stuck → game restart or crash detected
🟢 Session Start/Stop
Farming started/stopped + end-of-session summary
🏠 Village Scan
Your own resources after every battle (with screenshot)
💡 Tip: Village scan events fire often (every 1–3 min). Recommended: Discord ON, Desktop OFF — otherwise you'll get too many toast pop-ups.
Statistics
Lifetime Total
Total Gold Looted
0
0 avg/attack
Total Elixir Looted
0
0 avg/attack
Total Dark Elixir
0
0 walls upgraded
Total Attacks
0
0h farmed
Records
Best Session Gold
0
Best Session Elixir
0
Total Sessions
0
Total Attacks
0
Recent Sessions Last 10
Live Session Idle
Gold
0
Elixir
0
Walls
0
Attacks
0
Attack History 0 Attacks
| # | Time | ⭐ | Gold | Elixir | Dark | 🏆 |
|---|
Session History Last 20
| # | Date | Duration | Gold | Elixir | Dark | Walls | Attacks |
|---|
Attack Cancel
Surrender rules. As soon as *any* enabled rule fires during a battle, the bot clicks Surrender + Confirm.
Grace window: rules only fire after
seconds of battle time (prevents surrender during the deploy phase).
Army Composition
Paste a CopyArmy link or build one by hand — pick which army the bot runs. Manual works on every Town Hall (TH4 has no in-game link).
⚔
No armies yet — click "+ Add Army" to paste a link or build one yourself.
Deployment
Manage multiple attack configurations — switch between presets on the fly
⚔
Troops
Barbarians, Archers, Goblins, etc.
Fixed Points
Random Area
0points
Points configured
👑
Heroes
King, Queen, Warden, Champion
Fixed Points
Random Area
0points
Points configured
🧶
Spells
Rage, Heal, Freeze, etc.
Fixed Points
Random Area
0points
Points configured
Hero Abilities
Configure when each hero activates their ability during battle
⚡ Instant — right after deploy
⏳ Timer — X sec after deploy
💧 Loot Stall — loot stops moving
💰 Gold Damage — X gold stolen
💔 Low HP — HP below X%
Attack Strategy
Choose how the bot attacks. Currently only Side Spam is implemented — more strategies coming.
Active Strategy
Strategy:
Side Spam
Deploys all troops along the village edge (105 spawn points).
Order: spells first → then all troops + heroes
Works with: Goblins, Sneaky Goblins, Archers, Barbarians, Wizards
Surrender: auto when no gold change for 8 seconds
Order: spells first → then all troops + heroes
Works with: Goblins, Sneaky Goblins, Archers, Barbarians, Wizards
Surrender: auto when no gold change for 8 seconds
Cluster size:
Troops per spawn point
Surrender gold:
min. gold diff, else surrender
Schedule & Breaks
Anti-detection pauses and farming schedule
🕑
Farming Schedule
When should the bot farm?
Active Days
Mo
Tu
We
Th
Fr
Sa
Su
From
→
Until
Night farming: e.g. 22:00 → 06:00
☕
Short Breaks
Anti-detection pauses
Break every X attacks10
Break duration3-7 min
Variation±30%
💤
Long Breaks
Simulate going offline
Every X hours4-6h
Break duration30-90 min
🤖
Behavior
What to do during breaks
During Break
Donation Bot
Auto-answer clan donation requests. The bot scans clan chat for open requests, clicks the donate button
and donates available troops/spells. Runs completely independently from the farming bot.
Bot Controls
Inactive
Settings
Scan interval:ms
Max donations per scan:
The bot opens the clan chat automatically, detects green "Donate" buttons via HSV colour detection,
clicks the button, and donates the first available troops in the donation window.
How it works
1. Bot navigates to clan chat
2. HSV colour detection finds green "Donate" buttons
3. Clicks the button → donation window opens
4. Detects available troops and clicks them
5. Closes the window and looks for the next request
2. HSV colour detection finds green "Donate" buttons
3. Clicks the button → donation window opens
4. Detects available troops and clicks them
5. Closes the window and looks for the next request
Koi Bot
Advanced Clash of Clans Automation Suite
Template-based image recognition with AI-powered base analysis, smart troop deployment, and predictive analytics. Built with C++17, OpenCV, WebView2, and Tesseract OCR.
Templates
91
Version
0.1.1
Engine
CV+AI
State Machine Game Detection (12 screens)
Template-Only Navigation (zero hardcoded coordinates)
Resolution-Independent OCR (auto-scaling)
Dead Base Detection via HSV Color Analysis
Smart Edge Deploy with Red Border Detection
Multi-Frame OCR Stabilization
Auto-Recovery with Popup Detection