BOMBANANA Library
The shared modding API for BOMBANANA! Demo - bomb, modules, missions, lobby, networking. If a plugin asks for it, this is the one.
模組介紹 作者原文
BOMBANANA Library
A shared Reflection API for BOMBANANA! Demo mods.
It provides typed and safe access to game systems, including bombs, modules, missions, lobbies, levels, networking, menus, emotes, and save data.
If a mod requires BOMBANANA.Library, this is the dependency it needs.
Features
- Property-first lookup with field fallback — decompiled member names work without manually handling property/field differences.
- Type resolution across assemblies — types can be resolved even when the game splits them between multiple assemblies.
- Null-safe access to null — destroyed objects and missing members return null instead of crashing your plugin.
- Unwrapped game exceptions — reflection wrappers are removed so you can see the actual game exception.
What plugins can do
| Area | Access |
| --------- | ------------------------------------------------------------------- |
| Bomb | Health, timer, sockets, and bomb events |
| Modules | Module state, steps, seeds, solving, and damage |
| Mission | Mission lifecycle and spawning |
| Report | Time, mistakes, and mission grade |
| Lobby | Players, level selection, and ready state |
| Levels | Unlock checks and campaign limits |
| Network | Server, host, listening state, configuration, and network variables |
| Menu | Current menu state and navigation |
| Emotes | Identifiers, animations, and profiles |
| Save data | Unlocking, saving, and loading |
For developers
Reference BOMBANANA.Library.csproj from your plugin project.
When referencing the compiled DLL, set:
false
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: