Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
You are viewing a potentially older version of this package.
View all versions.
AllPlayerCommands
By REPO_JP
| Date uploaded | 9 months ago |
| Version | 0.1.0 |
| Download link | REPO_JP-AllPlayerCommands-0.1.0.zip |
| Downloads | 2262 |
| Dependency string | REPO_JP-AllPlayerCommands-0.1.0 |
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
連絡先
CHANGELOG
Changelog
[4.0.0] - Cosmetics Update v0.4.0 Compatibility
Added
- Added support for REPO Cosmetics Update v0.4.0
- Added partial-name kill command
/kill <name>kills every player whose display name partially matches the given text
- Added expanded chained short command support
ra= Revive Allha= Heal Full Allka= Kill Allsa= Summon Allta= Truck All
- Added support for chained commands such as
/raha,/kara,/karaha,/rata, and/sata
Changed
- Reworked chat command patching so slash commands are correctly recognized instead of being sent as normal chat
- Reworked Summon All (
/sa) and Truck All (/ta) to use batched execution for large lobbies - Improved player collection by using ActorNumber-based de-duplication when available
- Improved teleport handling for living and dead players
- Updated command execution to keep processing even when one target fails
- Updated the mod version to
4.0.0
Fixed
- Fixed
/saand/tanot working correctly in REPO v0.4.0 - Fixed chained short commands not executing in order
- Fixed
/commands being sent as normal chat instead of being handled as commands - Fixed build compatibility issues caused by method signature differences in the referenced game DLL
- Fixed Harmony patch warnings caused by non-ref patch parameter mutation
Notes
- This mod remains host-only
- No config entries are required in this version