Extended Missions
Additional mission types for Grey Hack, packaged as modular BepInEx plugins.
模組介紹 作者原文
Extended Missions
Extended Missions is a modular BepInEx plugin suite for Grey Hack. It adds new direct mission types and provides an API that other mod authors can use to build their own mission packs.
Included Plugins
The release package includes the BepInEx host plugin, the core framework, and these mission packs:
- ExtendedMissions.BepInEx5.dll or ExtendedMissions.BepInEx6.dll - target-version BepInEx host plugin.
- ExtendedMissions.dll - shared mission framework and registration patches.
- ExtendedMissions.SendMoney.dll - transfer money from one bank account to another.
- ExtendedMissions.UploadFile.dll - upload a supplied file to a target machine.
- ExtendedMissions.CompromisedMail.dll - send mail from a compromised mailbox.
- ExtendedMissions.ChangePassword.dll - change a target user's password.
- ExtendedMissions.WebsiteDefacement.dll - replace or modify target website content.
Each mission pack is a separate BepInEx plugin and depends on the core ExtendedMissions plugin.
Installation
Use the package output from ExtendedMissions_BepInEx5_. It contains:
- manifest.json
- README.md
- CHANGELOG.md
- icon.png
- BepInEx/plugins/ExtendedMissions/*.dll
Install it like a normal BepInEx 5 package.
Manual BepInEx 5
Build ExtendedMissions_BepInEx5, then copy the generated BepInEx/plugins/ExtendedMissions folder into your Grey Hack install.
Expected layout:
Grey Hack/
BepInEx/
plugins/
ExtendedMissions/
ExtendedMissions.BepInEx5.dll
ExtendedMissions.dll
ExtendedMissions.SendMoney.dll
ExtendedMissions.UploadFile.dll
ExtendedMissions.CompromisedMail.dll
ExtendedMissions.ChangePassword.dll
ExtendedMissions.WebsiteDefacement.dll
Manual BepInEx 6
Build ExtendedMissions_BepInEx6, then copy the generated BepInEx/plugins/ExtendedMissions folder into your Grey Hack install.
Building From Source
Build the core framework:
dotnet build ExtendedMissions\ExtendedMissions.csproj
Build a package layout:
dotnet build ExtendedMissions_BepInEx5\ExtendedMissions_BepInEx5.csproj
dotnet build ExtendedMissions_BepInEx6\ExtendedMissions_BepInEx6.csproj
dotnet build ExtendedMissions_BepInEx5_\ExtendedMissions_BepInEx5_.csproj
The packaging projects compile the target-version BepInEx host plugin from the target folder's Plugin.cs, using that folder's lib references, then copy the host and mission DLLs into the expected BepInEx/plugins/ExtendedMissions structure.
For Mission Developers
Extended Missions exposes base classes for direct, world, hidden, karma, and procedural missions. External mission packs should reference the built ExtendedMissions.dll and depend on the core BepInEx plugin:
[BepInDependency(ExtendedMissions.Plugin.PluginGuid)]
See docs/CreatingMissionMods.md for the full developer guide and the current example mission packs under CustomMissions.
Notes
- Mission and condition ids are reserved through registry files so ids remain stable as mission packs change.
- The built-in mission packs currently focus on direct board missions.
- The core framework also contains procedural and world mission extension points for external mission packs.
- Krafs.Publicizer is used at build time because Grey Hack exposes many useful game members as non-public API.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: