ChatCommands
Implements a few chat commands.
模組介紹 作者原文
ChatCommands
Server Only Mod
This Mod will probably crash your Client if you try to install it.\
I am by far not the best programmer so the code might be a little spaghetti here and there. I'm trying my best to get everything as polished as I currently can though.:)
I set up a Patreon for anyone who wants to support me.\
Any amount is greatly appreciated!\
My Patreon Page
Config
- Prefix [default?]: The prefix use for chat commands.
- DisabledCommands [default Empty]: Enter command names to disable them. Seperated by commas. Ex.: health,speed
Permissions
You can only decide whether a command is admin only or not at this time.\
The permissions are saved in BepInEx/config/ChatCommands/permissions.json and look like this:
{
"blood": true,
"bloodpotion": true,
"give": true,
"health": true,
"help": false,
"kit": false,
"spawnnpc": true,
"speed": true,
"sunimmunity": true,
"waypoint": false
}
Removing a command from the list will automatically set it's value to false.
Chat Commands
help: Shows a list of all commands.\
kit: Gives you a previously specified set of items.
How does kit work?
  You will get a new config file located in BepInEx/config/ChatCommands/kits.json
[
{
"Name": "Example1",
"PrefabGUIDs": {
"820932258": 50,
blood: Sets your Blood type to the specified Type, Quality and Value.\
  Example: blood Scholar 100 100
bloodpotion: Creates a Potion with specified Blood Type, Quality and Value.\
  Example: bloodpotion Scholar 100
waypoint [global]: Teleports you to previously created waypoints.\
  Example: waypoint set home `: Adds the specified Item to your Inventory.\
  Example: give Stone Brick 17
spawnnpc: Spawns a NPC. Optional: To a previously created waypoint.\
  Example: spawnatwp CHAR_Cursed_MountainBeast_VBlood arena
health: Sets your health to the specified amount.\
speed: Sets your movement speed to the specified amount.\
sunimmunity: Toggles sun immunity. (mind blown)\
There used to be a command that toggles the blood hunger view without the ugly effects but that needs some bug fixing. SoonTM
More Information
Changelog
1.3.0
- Added new command: spawnnpc
- Added rather whacky "permissions"
- Added a Waypoint Limit per User
- Added waypoint list option
- Added a reset function to speed
- Fixed health command
- Having no set parameters on?health restores max health
1.2.0
- Added new command: waypoint
- Added new command: kit
- Added new config: DisabledCommands
- Fixed console spam when using give
1.1.1
- Tiny fix
1.1.0
- Added new command: bloodpotion
- Reworked give command (Send items directly into the inventory now)
1.0.0
- Initial release
Planned Features
- Chat Permission Roles
- Kits Option: Limited Uses
- Teleport Command: Teleport to other Users
- Bring back the Blood HUD Command
- Anything fun that'll distract me from my initial goals
- Few smaller things changes and improvements
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: