How lx934/mcbotconsole works
McBotConsole is a WinForms client backed by a Node.js Minecraft bot runtime. The main workflow is configuring a batch run, sending it through the backend bridge, and receiving status and results; adjacent capabilities include diagnostics, plugin management, reports, patching, and update checks. The backend source and several UI files are represented in the index, but excerpts do not expose all runtime wiring, so uncertain links are omitted or marked unverified.
Main entry points: MainForm.cs Main window · PatchManager.cs Patch engine · NodeBackend.cs Backend bridge · index.js Bot and plugin runtime
Components 21
Desktop client
- Main window
MainForm.cs - Run settings
SettingsDialog.cs - Backend bridge
NodeBackend.cs - Message models
GuiMessage.cs
Bot runtime
- Bot and plugin runtime
backend/index.js
Operations
- Server analyzer
ServerInfoDialog.cs - Network probes
NetworkTool.cs - DNS resolution
DnsHelper.cs - Debug console
DebugConsoleDialog.cs - Plugin manager
PluginDialog.cs - Run reports
ReportDialog.cs - Report storage
ReportManager.cs
Maintenance
- Patch interface
Patching/PatchDialog.cs - Patch engine
Patching/PatchManager.cs - Patch verification
Patching/OfficialVerifier.cs - Restart updater
updater/updater.cpp - Update checker
UpdateChecker.cs - Version rules
VersionInfo.cs - Update details
UpdateDialog.cs
Other components
- Operator
- Minecraft server
Connections 19
- Operator → Main window: operates
README.md - Main window → Run settings: opens
MainForm.cs - Main window → Backend bridge: sends run
MainForm.cs - Backend bridge → Bot and plugin runtime: exchanges messages
- Bot and plugin runtime → Minecraft server: connects bots
README.md - Main window → Server analyzer: opens
MainForm.cs - Server analyzer → Network probes: runs probes
ServerInfoDialog.cs - Main window → DNS resolution: resolves host
MainForm.cs - Main window → Debug console: opens
MainForm.cs - Main window → Plugin manager: opens
MainForm.cs - Main window → Run reports: opens
MainForm.cs - Run reports → Report storage: loads and exports
ReportDialog.cs - Main window → Patch interface: opens
- Patch interface → Patch engine: applies or rolls back
README.md - Patch engine → Patch verification: verifies patch
- Patch engine → Restart updater: restarts through
- Main window → Update checker: checks updates
MainForm.cs - Update checker → Version rules: compares versions
UpdateChecker.cs - Main window → Update details: shows details
MainForm.cs