AllPlayerCommands
【Host Only MOD】Host chat commands that execute actions on all participants.ホストが全參加者へ一括実行するチャットコマンドMOD
模組介紹 作者原文
COMPATIBLE WITH COSMETICS UPDATE V0.4.0.
AllPlayerCommands
This mod is a host-only mod that lets the host execute chat commands against all participants from in-game chat.
No config is required.
Everything is controlled through chat commands.
Overview
AllPlayerCommands hooks the chat send flow and allows the host to run bulk commands against detected PlayerAvatar targets.
It is intended for testing, event play, quick party control, recovery, and debugging.
Version 4.0.0 updates the mod for REPO Cosmetics Update v0.4.0.
It fixes slash commands being sent as normal chat, restores chained short commands, improves large-lobby handling for /sa and /ta, and adds /kill for partial-name targeted kills.
Host-only Behavior
This mod executes commands only when all conditions below are met.
- The sender is the local player
- The local player is the host, Master Client, or singleplayer host
- The chat message starts with /
If a non-host enters the same commands, the mod does not execute them.
Depending on game state, the message may be sent as normal chat.
Installation
- Place AllPlayerCommands.dll into your BepInEx plugins folder
- Start the game
- Host a lobby or start singleplayer
- Open chat and enter a command
Quick Start
/ra
/ha
/sa
/ta
/kill playername
/kba 10
/dga 25
/hga 50
/exa 4
/ttsa Hello everyone
/tumbleall 3
/hpmaxall 200
/flickerall 2
/animspeedall 0.5 0.05 0.2 3
/pupilall 1.8 10 25 0.8 12 0.8 3
/tumblewingsall pink
/raha
/kara
/karaha
/sata
Full Command Reference
- Kill All
Kills all detected players.
Aliases.
- /ka
- /killall
- /killallplayers
- /killplayerall
Behavior.
- Sends an immediate forced death call to every detected player
- Intended for host-side event control, testing, or quick resets
- Kill by Partial Name
Kills players whose display name partially matches the text after /kill.
Syntax.
/kill [name]
Examples.
/kill repo
/kill player
Behavior.
- Targets every matching player, not only the first match
- Matching is partial and case-insensitive
- Empty /kill does nothing
- Revive All
Revives all dead players.
Aliases.
- /ra
- /reviveall
- /reviveallplayers
- /reviveplayerall
Behavior.
- Only dead players are affected
- Uses the death-head based revive path so the revive is forced cleanly
- Heal Full All
Fully heals all players.
Aliases.
- /ha
- /healall
- /healallplayers
- /healplayerall
Behavior.
- Applies a very large heal amount internally
- Intended to bring all players back to full health quickly
- Summon All
Teleports all players to the host or the valid host-side destination.
Aliases.
- /sa
- /summonall
- /summonallplayers
- /summonplayerall
Behavior.
- Living players are prepared before teleport
- Preparation includes tumble clear, stand-up request, and movement stabilization
- Dead players are moved through the death-head / corpse object when possible
- Execution is batched so large lobbies do not process every target in a single frame
Purpose.
- Gather everyone to the host quickly
- Useful for events, regrouping, debugging, and custom game modes
- Truck All
Teleports all players to the truck safety spawn point.
Aliases.
- /ta
- /truckall
- /truckallplayers
- /returntotruckall
Behavior.
- Living players are prepared before teleport just like Summon All
- Dead players are moved through the death-head / corpse object when possible
- Execution is batched for large lobbies
Purpose.
- Force regroup at the truck
- Reset party position quickly after combat or events
- Knockback All
Applies knockback to all players.
Aliases.
- /kba
- /knockbackall
- /knockall
- /impulseall
Syntax.
/kba [strength]
Parameters.
- strength (int, optional, default 5)
Examples.
/kba
/kba 15
- Damage All
Deals damage to all players.
Aliases.
- /dga
- /damageall
- /hurtall
- /hitall
Syntax.
/dga [damage]
Parameters.
- damage (int, optional, default 10)
Examples.
/dga
/dga 30
- Heal Amount All
Heals all players by a specified amount.
Aliases.
- /hga
- /healamountal
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: