

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.
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.
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.
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.
/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!
/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.
There are several commands that may allow you to input coordinates [x] [y] [z] to do something at that position. You can use the /pos command to retrieve the player's position at any time.
Otherwise, I have some useful operators you can use to make a position relative to a location.
You can use '~' at the start of a number to signify a relative position similar to a Minecraft command.
Ex: ~ ~5 ~
Otherwise, you can use '^' at the start of a number to signify the position is relative to where the player is looking. When a command is executed a raycast is fired to determine the position the player is looking.
Ex: ^ ^5 ^
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]
Use Cases:
/clear
Use Cases:
/list
/list [page]
Use Cases:
/pay Gives 100 credits.
/pay [value] Can be negative.
Note: Only works between games not in the middle of games as of now.
Use Cases:
/weather (clear | dusty | foggy | rainy | stormy | flooded | eclipsed) Sets moon weather to whatever you want.
Use Cases:
/heal Fully heals self.
/heal [value]
/heal [target] Fully heals target.
/heal [target] [value]
Use Cases:
/damage Removes 10 HP
/damage [value]
/damage [value] [damageType]
/damage [target] Removes 10 HP from target.
/damage [target] [value]
/damage [target] [value] [damageType]
Use Cases:
/cheats Enables cheats on for self.
/cheats [target] enables cheats on for target.
/cheats (on | off) sets cheats on for self.
/cheats [target] (on | off) sets cheats on for target.
Use Cases:
/god Toggles self invulnerability.
/god [target] toggles target invulnerability.
Use Cases:
/stamina Toggles self infinite sprint.
/stamina [target] toggles target infinite sprint.
Use Cases:
/fly Toggles flight.
/fly [target] toggles flight for target.
Use Cases:
/speed Shows player's current speed value in chat.
/speed [value] Sets the player's movement speed to a given value.
/speed reset Resets player's movement speed back to it's default value.
/speed [target] Shows target's current speed value in chat.
/speed [target] [value] Sets the target's movement speed to a given value.
/speed [target] reset Resets target's movement speed back to it's default value.
Use Cases:
/charge Charges the item you are holding.
/charge [target] Charges the item the target is holding.
Note: Increasing this beyond 3 days can break the game in many ways.
Use Cases:
/extend Extends quota 1 day.
/extend [days]
Use Cases:
/items
/items [page]
Flags:
store Filters to only show buyable items.
scrap Filters to only show scrap items.
Use Cases:
/item [item] Spawns item where you are looking.
/item [item] [count]
/item [item] [target]
/item [item] [target] [count]
/item [item] [x] [y] [z]
/item [item] [x] [y] [z] [count]
Flags:
store Filters to only search store items.
scrap Filters to only search scrap items.
snap Snaps the spawn location to the closest navmesh position.
uncapped Removes spawn count limits.
Note: teleporting the player inside/outside the facility should set the player as inside or outside the facility correctly, however using custom coordinates or JPOI locations may not. To get around this you can add the tags inside or outside respectively to override the player's state.
Use Cases:
/tp [destinationPlayer]
/tp (ship | breaker | apparatus | main | exit{#} | {JPOI}{#})
/tp [targetPlayer] [destinationPlayer]
/tp [targetPlayer] (ship | breaker | apparatus | main | exit{#} | {JPOI}{#})
/tp [x] [y] [z]
/tp [targetPlayer] [x] [y] [z]
Flags:
animate Teleports after playing the ship teleport animation.
inside Sets the teleported player inside the facility.
outside Sets the teleported player outside the facility.
Use Cases:
/terminal [code]
Use Cases:
/prefabs
/prefabs [page]
Flags:
custom Filters to only show custom prefabs.
vehicle Filters to only show vehicle prefabs.
hazard Filters to only show hazard prefabs.
Use Cases:
/prefab [name] - Spawns object where you are looking.
/prefab [name] [count]
/prefab [name] [target] - Spawns object at the target's position.
/prefab [name] [target] [count]
/prefab [name] [x] [y] [z] - Spawns object at position.
/prefab [name] [x] [y] [z] [count]
Flags:
custom Filters to only search custom prefabs.
vehicle Filters to only search vehicle prefabs.
hazard Filters to only search hazard prefabs.
snap Snaps the spawn location to the closest navmesh position.
uncapped Removes spawn count limits.
Use Cases:
/pos - Displays player position and rotation data.
Use Cases:
/explode Explodes self.
/explode [damage]
/explode [target] Explodes target.
/explode [target] [damage]
Use Cases:
/enemies
/enemies [page]
Flags:
indoor Filters to only show indoor enemies.
outdoor Filters to only show outdoor enemies.
Use Cases:
/spawn [enemy] Spawns enemy at your feet.
/spawn [enemy] [count]
/spawn [enemy] [target]
/spawn [enemy] [target] [count]
/spawn [enemy] [x] [y] [z]
/spawn [enemy] [x] [y] [z] [count]
Flags:
indoor Filters to only search indoor enemies.
outdoor Filters to only search outdoor enemies.
ignore Ignores navmesh spawn requirement for enemies. This will cause the enemy to throw errors if they can't find a navmesh and is only meant for debugging.
uncapped Removes spawn count limits.
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
When LLL is detected a new command is registered called: /levels
/levels lists the numberless planet names of all registered levels usable with /route
Programming by JacobG5 (Me)