AllPlayerCommands
By REPO_JP
| Last updated | 6 hours ago |
| Total downloads | 56 |
| Total rating | 2 |
| Categories | Mods Server-side |
| Dependency string | REPO_JP-AllPlayerCommands-0.1.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.2304README
AllPlayerCommands
- Host-only chat commands to apply actions to all players (kill / revive / heal / summon / return to truck)
Overview
-
What this mod does
- Adds chat commands that the Master Client (host) can use to affect all players at once
-
Who it is for
- Hosts who want quick admin/testing actions via in-game chat
-
What changes after installation
- When the host sends specific
/commands in chat, the mod executes actions for every detectedPlayerAvatar
- When the host sends specific
Features
-
Chat commands (host-only)
- Kill all players
- Revive all players (only players that are currently dead)
- Heal all players (heal to max health)
- Summon all players to the host’s position
- Return all players to the truck safety spawn point
-
Command matching behavior
- Case-insensitive (message is normalized to
Trim().ToLowerInvariant()) - Supports aliases for each action
- Accepts extra text after the command (still triggers)
- Case-insensitive (message is normalized to
-
Logging
- Writes logs to both Unity console and BepInEx log with
[AllPlayerCommands]prefix - Prints a player list whenever it resolves targets
- Writes logs to both Unity console and BepInEx log with
Usage
-
Minimal steps
- Host (Master Client) opens chat and sends one of the supported commands
- The mod runs the action for all detected players
-
Notes
- Only the Master Client (host) can execute the commands
- If a non-host types these commands, they may be sent as normal chat
Command List (aliases)
Kill All:
/ka
/killall
/killallplayers
/killplayerall
Revive All:
/ra
/reviveall
/reviveallplayers
/reviveplayerall
Heal All:
/ha
/healall
/healallplayers
/healplayerall
Summon All to Host:
/sa
/summonall
/summonallplayers
/summonplayerall
Return All to Truck:
/ta
/truckall
/truckallplayers
/returntotruckall
Contact
AllPlayerCommands
- ホスト専用のチャットコマンドで全プレイヤーへ一括アクション(キル / 蘇生 / 回復 / 召喚 / トラック帰還)
概要
-
このMODが何をするか
- ホスト(マスタークライアント)がチャットで使える一括操作コマンドを追加
-
どんな人向けか
- ゲーム内チャットで管理系やテスト用の操作を素早く行いたいホスト向け
-
導入で何が変わるか
- ホストが特定の
/コマンドを送信すると検出された全PlayerAvatarに対して処理が実行される
- ホストが特定の
特徴
-
チャットコマンド(ホスト専用)
- 全員キル
- 全員蘇生(死亡中プレイヤーのみ)
- 全員回復(最大HPまで)
- 全員をホスト位置へ召喚
- 全員をトラック安全スポーン地点へ帰還
-
コマンド判定の挙動
- 大文字小文字を区別しない(
Trim().ToLowerInvariant()で正規化) - 各アクションに複数の別名を用意
- コマンド後ろに文字があっても判定される
- 大文字小文字を区別しない(
-
ログ
- UnityコンソールとBepInExログに
[AllPlayerCommands]付きで出力 - 対象取得時にプレイヤー一覧を出力
- UnityコンソールとBepInExログに
使い方
-
最短手順
- ホスト(マスタークライアント)がチャットを開いて対応コマンドを送信
- 検出された全プレイヤーへ処理が実行される
-
注意点
- 実行できるのはホストのみ
- 非ホストがこれらのコマンドを入力した場合通常チャットとして送信される可能性がある
コマンド一覧
全員キル:
/ka
/killall
/killallplayers
/killplayerall
全員蘇生:
/ra
/reviveall
/reviveallplayers
/reviveplayerall
全員回復:
/ha
/healall
/healallplayers
/healplayerall
全員召喚(ホスト位置へ):
/sa
/summonall
/summonallplayers
/summonplayerall
全員トラック帰還:
/ta
/truckall
/truckallplayers
/returntotruckall