ChatCommands
Implements a few chat commands.
About this mod Author’s original text
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
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: