ExtractionGoalSetter
【Host Only MOD】Change the current extraction goal instantly with chat commands.現在開いている納品所の目標金額をチャットコマンドで即変更
By REPO_JP
| Last updated | a day ago |
| Total downloads | 122 |
| Total rating | 1 |
| Categories | Mods Server-side |
| Dependency string | REPO_JP-ExtractionGoalSetter-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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
現在の目標金額をログ表示
動作概要
このMODはホストのチャット入力を監視し、対象コマンドだった場合に現在開いている納品所へ変更を適用します。
目標金額の更新にはゲーム内既存の同期処理を利用するため、納品所本体の表示とプレイヤー側の必要金額表示がずれにくい構成です。
設定が有効なら、目標金額変更後に即時達成判定も行います。 そのため、すでに納品済み金額を下回る値へ変更した場合は、その場で納品所が達成状態になることがあります。
注意事項
このMODはホスト専用です。 参加者側への導入は不要です。
コマンドはホスト本人のローカルチャット入力でのみ動作します。
変更対象は現在アクティブな納品所のみです。 ラウンド全体の総目標額ロジックを恒久的に書き換えるものではありません。
現在の納品所が編集可能なアクティブ状態でない場合、コマンドは適用されずログのみ出力されます。
設定項目
A General
EnableMod
- 設定内容: このMODの有効無効
- 初期値: true
- 設定可能最小値: false
- 設定可能最大値: true
EnableImmediateSuccessCheck
- 設定内容: 変更後に既に達成済みなら即時達成判定
- 初期値: true
- 設定可能最小値: false
- 設定可能最大値: true
B Goal
MinimumGoal
- 設定内容: 設定可能最小クリア金額
- 初期値: 0
- 設定可能最小値: 0
- 設定可能最大値: 999999
MaximumGoal
- 設定内容: 設定可能最大クリア金額
- 初期値: 999999
- 設定可能最小値: 0
- 設定可能最大値: 999999
技術概要
このMODはホストのチャット送信処理をフックし、通常チャットとして送信される前に対象コマンドを判定します。
変更対象は現在開いている納品所のみです。
実装は独自の納品処理へ置き換えるのではなく、既存の納品所目標金額同期メソッドを利用しています。 そのため、納品所本体の表示、現在納品額UIの目標値、達成判定の整合性を保ちやすい構成です。
互換性
このMODはホスト側から現在アクティブな納品所の目標金額を操作する用途向けです。
納品所の目標金額更新、納品所の状態遷移、ホストチャットコマンド処理を同時に変更する他MODとは、パッチ順や実装内容次第で競合する可能性があります。