{"id":48789359,"url":"https://github.com/zeljkovranjes/auto-meadow-mmo","last_synced_at":"2026-04-13T19:02:49.236Z","repository":{"id":348595145,"uuid":"1198875422","full_name":"zeljkovranjes/auto-meadow-mmo","owner":"zeljkovranjes","description":"Touch grass while this bot grinds Discord Meadow MMO for you.","archived":false,"fork":false,"pushed_at":"2026-04-02T00:19:38.000Z","size":590,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-02T08:46:37.787Z","etag":null,"topics":["bot","discord-game-bot","meadow-mmo","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeljkovranjes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-01T21:01:41.000Z","updated_at":"2026-04-02T06:02:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zeljkovranjes/auto-meadow-mmo","commit_stats":null,"previous_names":["zeljkovranjes/auto-meadow-mmo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zeljkovranjes/auto-meadow-mmo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkovranjes%2Fauto-meadow-mmo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkovranjes%2Fauto-meadow-mmo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkovranjes%2Fauto-meadow-mmo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkovranjes%2Fauto-meadow-mmo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeljkovranjes","download_url":"https://codeload.github.com/zeljkovranjes/auto-meadow-mmo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkovranjes%2Fauto-meadow-mmo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31766482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","discord-game-bot","meadow-mmo","python"],"created_at":"2026-04-13T19:02:44.063Z","updated_at":"2026-04-13T19:02:49.228Z","avatar_url":"https://github.com/zeljkovranjes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meadow MMO Auto Bot\n\nAn automation bot for the Meadow MMO Discord game. It plays the three mini-games for you on repeat so you can sit back and touch grass.\n\n## What It Does\n\nThe bot watches your screen and plays the games in priority order:\n\n1. **Craft** — Detects the arrow key sequence and presses them automatically (3 rounds per game)\n2. **Battle** — Moves your platform to intercept falling green fireballs in real time\n3. **Adventure** — Rapid-clicks the adventure button while waiting for craft/battle to come off cooldown\n\nIt also handles:\n- Cooldown tracking for craft and battle (auto-switches to adventure while waiting)\n- Out-of-resources popups (auto-dismisses them)\n- Navigation recovery (clicks the back arrow if it gets lost on the wrong screen)\n- Live status overlay injected into Discord showing current activity\n- Press **F6** to stop the bot\n\n## How It Works\n\nThe bot connects to Discord via the **Chrome DevTools Protocol (CDP)**. This means:\n- No real mouse movement — your cursor stays free\n- No window focus needed — Discord can be behind other windows\n- Works across virtual desktops\n- Screenshots and input go directly through Chromium's internals\n\n## Requirements\n\n- Python 3.10+\n- Windows 10/11\n- Discord desktop app (not browser)\n\n## Install\n\n```bash\npip install opencv-python numpy websocket-client requests pynput colorama\n```\n\n## Setup\n\nDiscord needs to be launched with CDP enabled. You only need to do this once — edit your Discord shortcut:\n\n1. Right-click your Discord shortcut → **Properties**\n2. In the **Target** field, add these flags at the end:\n   ```\n   --remote-debugging-port=9222 --remote-allow-origins=*\n   ```\n   So it looks like:\n   ```\n   \"C:\\Users\\YOU\\AppData\\Local\\Discord\\app-1.0.xxxx\\Discord.exe\" --remote-debugging-port=9222 --remote-allow-origins=*\n   ```\n3. Click OK and launch Discord from that shortcut\n\nOr launch from PowerShell:\n```powershell\n\u0026 \"$env:LOCALAPPDATA\\Discord\\app-1.0.9230\\Discord.exe\" --remote-debugging-port=9222 --remote-allow-origins=*\n```\n\n\u003e **Note:** Replace the version number (`1.0.9230`) with whatever version you have installed.\n\n## Usage\n\n1. Launch Discord with CDP flags (see Setup above)\n2. Navigate to the Meadow MMO game so the buttons are visible\n3. Run the bot:\n\n```bash\npython bot.py\n```\n\n4. The bot will connect to Discord automatically — no need to switch windows\n5. Press **F6** to stop at any time\n\n## Important Notes\n\n- **Don't make the Discord window too small.** The bot uses template matching to detect buttons and game elements. If the window is too small, the templates can't match and the bot won't detect anything. Keep Discord at a medium or larger size.\n- **Don't minimize Discord.** CDP screenshots work when Discord is behind other windows or on another virtual desktop, but not when minimized.\n- **Option 3 is recommended:** Keep Discord open on the same desktop behind your other windows. This usually works.***\n- **Virtual desktops work.** Since the bot communicates with Discord through CDP (Chrome DevTools Protocol), you can put both Discord and the bot on a separate virtual desktop and switch away. CDP connects directly to Chromium's internals — it doesn't care about window visibility or focus.\n\n## Config\n\nAll timings, thresholds, and detection settings can be tweaked in `config.py`. The defaults are already tuned and recommended — only change them if something isn't working for your setup.\n\n## Project Structure\n\n```\nbot.py          Main bot logic and state machine\nvision.py       Screen capture via CDP screenshots + template matching\ncontroller.py   Mouse and keyboard input via CDP/JavaScript\nconfig.py       All adjustable settings\nlogger.py       Colored terminal output\n\nassets/\n  adv/          Adventure button templates\n  battle/       Battle button, platform, success screen\n  craft/        Craft button, arrows, stars, success screen\n  ui/           Shared UI (clock, continue, back arrow, popups)\n```\n\n---\n\n*The reason you will be touching grass today.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeljkovranjes%2Fauto-meadow-mmo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeljkovranjes%2Fauto-meadow-mmo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeljkovranjes%2Fauto-meadow-mmo/lists"}