ExtractionGoalSetter
【Host Only MOD】Change the current extraction goal instantly with chat commands.現在開いている納品所の目標金額をチャットコマンドで即変更
模組介紹 作者原文
ExtractionGoalSetter
ExtractionGoalSetter is a host-only mod that lets the host instantly change the goal amount of the currently active extraction point with chat commands.
This mod updates the active extraction goal during a run and reflects the new value in the extraction point and player UI.
It is useful for live difficulty tuning, challenge events, testing, and custom host-controlled rule changes.
The mod uses the game's existing extraction goal sync flow so players in the room see the updated goal amount as well.
Features
- Change the current extraction goal to any value with a chat command
- Add or subtract an amount from the current goal
- Double the current goal instantly
- Reset the current extraction goal back to its vanilla value
- Show the current extraction goal in the log
- Optional immediate success check if the current haul already meets the new goal
Commands
/goal 8000
Set the current extraction goal to 8000
/gadd 1000
Add 1000 to the current extraction goal
/gadd -1000
Subtract 1000 from the current extraction goal
/gsub 1000
Subtract 1000 from the current extraction goal
/gsub -1000
Add 1000 to the current extraction goal
/gdouble
Double the current extraction goal
/greset
Reset the current extraction goal to its vanilla value
/gnow
Show the current extraction goal in the log
How it works
The mod intercepts the host's chat commands and applies the change to the currently active extraction point.
It updates the extraction point goal using the game's existing goal update flow, so the extraction point display and the player haul UI stay in sync.
If enabled, the mod also performs an immediate success check after changing the goal.
This means lowering the goal below the already delivered amount can immediately complete the current extraction point.
Notes
This is a host-only mod.
Clients do not need to install it.
The commands only work for the host's local chat input.
The mod only edits the currently active extraction point.
It does not permanently rewrite the entire round's global haul goal logic.
The current extraction point must be in an editable active state.
If there is no active extraction point, the command is ignored and a log message is written.
Configuration
A General
EnableMod
- Description: Enable or disable this mod
- Default: true
- Min: false
- Max: true
EnableImmediateSuccessCheck
- Description: Immediately trigger success check when the new goal is already met
- Default: true
- Min: false
- Max: true
B Goal
MinimumGoal
- Description: Minimum allowed extraction goal
- Default: 0
- Min: 0
- Max: 999999
MaximumGoal
- Description: Maximum allowed extraction goal
- Default: 999999
- Min: 0
- Max: 999999
Technical details
The mod patches the host chat send flow and parses commands before they are sent as normal chat.
Goal changes are applied to the currently active extraction point only.
The implementation uses the existing extraction point goal sync method instead of replacing the extraction system with a custom one.
This keeps the extraction point display, current haul UI target value, and completion logic aligned.
Compatibility
This mod is designed for host-side control of the active extraction point goal.
Mods that also patch extraction goal updates, extraction point state flow, or host chat command handling may conflict depending on patch order and implementation details.
ExtractionGoalSetter
ExtractionGoalSetter は、ホストがチャットコマンドで現在開いている納品所の目標金額をその場で変更できるホスト専用MODです。
プレイ中に現在の納品所の必要金額を変更し、その値を納品所本體の表示やプレイヤー側UIにも反映します。
難易度の微調整、イベント進行、検証プレイ、ホスト裁量ルールの導入に向いています。
このMODはゲーム內の既存同期処理を利用して目標金額を変更するため、同じ部屋の參加者にも更新後の目標金額が反映されます。
主な機能
- チャットコマンドで現在の納品所目標金額を任意の値に変更
- 現在の目標金額に対して加算や減算
- 現在の目標金額を即座に2倍化
- 現在の納品所目標金額をバニラ値へ復元
- 現在の目標金額をログ表示
- 変更後に既に納品額が達成済みなら即時達成判定を実行可能
コマンド
/goal 8000
現在の納品所の目標金額を 8000 に設定
/gadd 1000
現在の目標金額に 1000 加算
/gadd -1000
現在の目標金額から 1000 減算
/gsub 1000
現在の目標金額から 1000 減算
/gsub -1000
現在の目標金額に 1000 加算
/gdouble
現在の目標金額を2倍
/greset
現在の納品所目標金額をバニラ値に戻す
/gnow
現在の目標金額をロ
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: