MegaBonkPlus

版本 v0.9.4·更新於 2025-12-15

This is a BepInEx mod for Megabonk that adds a powerful web dashboard to control, analyze, and modify the game in real-time.

模組介紹 作者原文

MegaBonkPlus

MegaBonkPlus is a BepInEx mod for Megabonk that adds a powerful web dashboard to control, analyze, and modify the game in real-time.

Monitor your character, spawn items, teleport across the map, and manage your inventory—all from a modern web interface running in your browser.

✨ Features

  • Web Dashboard: A full-featured frontend application (HTML/CSS/JS) served by a local server.
  • Live Game Stats: Track your character's stats (gold, level, etc.) in real-time.
  • Inventory Management: Add, remove, or equip weapons and tomes.
  • Action System: Execute a wide variety of in-game actions:
  • Gameplay: Add gold/levels, kill all enemies, absorb all XP, auto-restart runs.
  • Teleportation: Teleport to specific coordinates or to the nearest object of interest.
  • Item Spawner: Spawn any in-game item.
  • Interactive Minimap: A live minimap in the web dashboard showing your position, enemies, and key objects.
  • Hotkey Manager: Configure in-game hotkeys for your favorite actions directly from the web UI.

🚀 Installation

Ensure BepInExPack_IL2CPP (Version 6) is installed for your game.

  • Compile this project or download the latest release.
  • Place both MegaBonkPlusMod.dll and its required dependency BonkersLib.dll into your BepInEx/plugins folder.
  • Start the game once to allow the mod to generate its configuration files.

🎮 Usage

  • Start your game with the mod installed.
  • The mod will automatically start a local web server in the background.
  • Open your preferred web browser (e.g., Chrome, Firefox).
  • Navigate to the following address:
  • The web dashboard should load and connect to your game.

Note: The port 8080 is the default. This can be changed in the mod's configuration file.

🛠️ Technical Overview

This mod consists of the following components:

  • Infrastructure: Starts an HttpServer (using HttpListener) to handle web requests.
  • Controllers: Defines API endpoints (e.g., /api/action..., /api/gamestate) to receive requests from the frontend.
  • Actions: Contains the specific logic for all executable cheats/actions (e.g., GoldAction, TeleportAction).
  • GameLogic: Contains "Trackers" that poll the game state (player position, enemies, etc.) and provide this data to the frontend.
  • Frontend: Contains all the static web files (index.html, js/app.js, css...) that are served by the HttpServer.

❗ Dependencies

  • BonkersLib: This mod relies on BonkersLib.dll, which provides the core API for interacting with the game.

🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

📄 License

MIT LICENSE

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_IL2CPPkss-BonkersLib

檔案與校驗

檔案名稱
MegaBonkPlus-0.9.4.zip
檔案大小
413.8 KiB