dsh-minecraft-bot: A DSH plugin that lets DeepSeek Harness actually play Minecraft
wenwen3568/dsh-minecraft-bot
A DSH plugin that lets DeepSeek Harness actually play Minecraft: a headless mineflayer bot inside the process that mines, crafts, smelts, fights and follows, with long-term memory and a game status UI.
dsh-minecraft-bot runs a headless mineflayer bot inside the DeepSeek Harness process so the AI can join an MC server and interact with the world and players. It addresses the gap between talking and playing: mining, crafting, smelting, fighting, following and eating are all carried out as tool calls. Each conversation gets its own bot with its own server and account, while credentials stay in the host config and are never handed to the AI. The plugin also adds terrain and height maps, a watchdog that wakes the AI on events, a long-term memory tree under /.minecraft-bot/, and a game UI with a status bar and one-click connect.
How to Install
dsh plugin --profile web add github:wenwen3568/dsh-minecraft-bot- Category
- Entertainment
- Platform
- DeepSeek Harness
- Author
- wenwen3568
- Distribution
- Plugin
dsh-minecraft-bot Key Features
dsh-minecraft-bot Repo Summary
What Does It Do?
It is a DSH plugin for DeepSeek Harness that runs a headless Minecraft bot built on mineflayer inside the DSH process, letting it join an MC server and interact with the world and players through tool calls. It solves the problem that an AI can talk but cannot play: mining, crafting, smelting, fighting, following and eating are all executed as tool calls instead of manual commands. Each conversation gets its own bot, so different chats can connect to different servers with different accounts without interfering. Maintained by wenwen3568 under the MIT license, it is a modified fork of the original yzi1b/whale-craft project.
Core Features
- One bot per session: separate conversations can join different servers with different accounts, while credentials stay in the host config and are never handed directly to the AI.
- World perception: terrain and height maps plus block and entity exploration tools help the AI understand its surroundings.
- Crafting and smelting: it gathers missing materials (logs to planks to sticks), builds a crafting table first when none exists, then verifies the inventory; smelting finds a furnace, picks fuel, loads items, waits and takes the output out.
- Walking to work and fighting: it harvests distant trees and ores while avoiding obstacles, chases zombies or players, and stops attacking when health runs low.
- Single agent plus watchdog: one main agent acts as the brain while a watchdog receives events and records messages, waking or interrupting the AI so it reacts promptly to things like a player summoning it.
- Long-term memory and friendly UI: a document tree under
/.minecraft-bot/is maintained automatically, and the interface offers a status bar, stop button, MC settings and one-click connect.
How to Use This Plugin?
After enabling it in DSH, start a new conversation and pick MC mode (or MC+ mode for broader permissions), then click the connect button, choose a game account, enter the server address and connect, or join a LAN server directly. From there, give orders in the chat window or talk inside the game, for example asking it to craft a wooden pickaxe, smelt ore into ingots, or follow you. Pathfinding, tool selection, auto-eating, nearby collection and combat ship with the plugin and activate automatically on join, so no extra installation is needed; to change behavior such as the auto-eat threshold, adjust it in the MC settings.
How to Troubleshoot This Plugin?
The plugin requires DSH 0.2.0-rc.2 or newer, so upgrade through the official instructions if your version is lower. If some survival abilities do not take effect, the optional dependencies were likely skipped due to network or proxy issues; restore the prerequisites as described officially, since a missing one only degrades that ability while everything else keeps working. Always fully restart the DSH instance after installation, otherwise some features may misbehave.
Sources
- GitHub plugin folderwenwen3568/dsh-minecraft-bot
- READMEwenwen3568/dsh-minecraft-bot README
This page is an independent rewrite of the repository README. For authoritative documentation and the latest changes, refer to the GitHub repository. Plugins are third-party code that runs on your machine once installed; inclusion does not imply endorsement — review the source before installing.
DSH Plugin Hub FAQ
