JacobG5-SimpleCommands icon

SimpleCommands

Easy to use host commands for Lethal Company

Last updated a week ago
Total downloads 2663
Total rating 1 
Categories Mods Client-side Server-side Tweaks & Quality Of Life
Dependency string JacobG5-SimpleCommands-1.2.2
Dependants 4 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
JacobG5-JLL-1.5.0 icon
JacobG5-JLL

Jacob's Lethal Libraries - For Jacob's Mods

Preferred version: 1.5.0
Evaisa-LethalLib-0.16.1 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 0.16.1

README

Simple Commands

The general idea for this mod is to add some basic game manipulation stuff for hosts to use if needed. For example, if you purchase items, leave the game, and reload your save your money will be gone, but the items will never arrive. With a mod like this, you can run a command to refund your lost money.

This is not a host-only mod. Every player requires it to join.

I did this so it hopefully won't be used as just a host cheat. It also allows things like syncing weather changes to apply properly.

It's simple for a reason

I designed this to be very basic for debugging and stuff. If you want or need more advanced functionality other mods would suit you better like Imperium. There's also some basic API functionality for other commands to register their own simple commands if they want.

How to use Simple Commands

The basic structure goes as follows:

/(cmd name) (parameter) (parameter)

Type a command into the in-game chat. By default, only the host can run commands, but this can be changed in the mod's configs. Also, command parameters aren't case sensitive so don't worry!

You can also add flags to the end of a command by adding "|" followed by the flags you want. One example of a flag is the "hide" keyword which stops the command from sending a chat message upon completion.

Here's an example of a command with a parameter:

/pay 700 | hide

This command would add 700 credits to the terminal and not announce it to chat.

Lastly, you can run multiple commands in a single message. It just works!

Here's an example of two commands in one message:

/stamina | hide /god

This command would give you infinite stamina and invulnerability. It would also hide the stamina message but still display the invulnerability message to chat for all players to see.

Command Prefix CAN be changed in mod configs to prevent conflicts with similar mods.

List of Commands (Will probably add more in the future)

/help Lists all registered Commands & how to use them.

Use Cases:

/help

/help [page]

/help [cmd] Shows info about specified command.

/help [cmd] [page]

/help [cmd] (flags) Shows valid flags for command.

/help [cmd] (flags) [page]

/clear Clears all messages from chat & clears the Display Tip queue.

Use Cases:

/clear

/list Lists all players currently in the lobby.

Use Cases:

/list

/list [page]

/pay Add or remove money from your terminal.

Use Cases:

/pay Gives 100 credits.

/pay [value] Can be negative.

/weather Changes the weather of the selected moon when inside the ship.

Note: Only works between games not in the middle of games as of now.

Use Cases:

/weather (clear | dusty | foggy | rainy | stormy | eclipsed) Sets moon weather to whatever you want.

/heal Heals specified player either to full or up a specified amount.

Use Cases:

/heal Fully heals self.

/heal [target] Fully heals target.

/heal [target] [value]

/god Toggles invulnerability.

Use Cases:

/god Toggles self invulnerability.

/god [target] toggles target invulnerability.

/stamina Toggles infinite sprint.

Use Cases:

/stamina Toggles self infinite sprint.

/stamina [target] toggles target infinite sprint.

/charge Fully charges target's held equipment.

Use Cases:

/charge Charges the item you are holding.

/charge [target] Charges the item the target is holding.

/extend (Experimental) Extends days until quota.

Note: Increasing this beyond 3 days can break the game in many ways.

Use Cases:

/extend Extends quota 1 day.

/extend [days]

/items Lists ids of all the available items in the game.

Use Cases:

/items

/list [page]

Tags:

store Filters to only show buyable items.

scrap Filters to only show scrap items.

/item Spawns the specified item at the target's feet.

Use Cases:

/item [item] Spawns item at your feet.

/item [target] [item]

/tp Teleports player to specified location.

Note: as of right now teleporting in/out of the facility will not change the skybox and may cause some minor problems. If you run into issues try teleporting to main using /tp main and going in and out of the facility. This should usually resolve those problems.

Use Cases:

/tp [destinationPlayer]

/tp (ship | main | exit{#}) 'Ship' teleports player to the autopilot ship, main teleports player to the main entrance.

/tp [targetPlayer] [destinationPlayer]

/tp [targetPlayer] (ship | main | exit{#})

/tp [x] [y] [z] You can use '~' to signify a relative position similar to a minecraft command.

/tp [targetPlayer] [x] [y] [z]

Tags:

animate Teleports after playing the ship teleport animation.

/terminal Sends Object Codes to the Terminal. Useful for opening doors / disabling hazards from within the facility.

Use Cases:

/terminal [code]

/prefabs Lists spawnable prefab objects.

Use Cases:

/prefabs

/prefabs [page]

/prefab Spawns a registered prefab object.

Use Cases:

/prefabs [name] - Spawns object above the player.

/prefabs [name] [x] [y] [z] - Spawns object at position.

Mod Support

WeatherRegistry /weather now works when WeatherRegistry is installed.

When WeatherRegistry is detected a new command is registered called: /weatherregistry

/weatherregistry lists the ids of all weathers registered through WeatherRegistry which can be used in /weather

Credits

Programming by JacobG5 (Me)

ko-fi