Cosmos Console is an in-game command console that allows developers to execute actions in-game or remotely from a client console running in-editor or as a standalone app. It provides a versatile command console that can be used directly from within your game, or remotely over the network via a client console. This package is inspired by Source engine games and its RCON protocol, and is designed to be easy to use and highly customizable.
Example use cases for developers include:
- Debug tools
- Trigger scripted actions
- Debug mobile builds over the local network
- Retrieve runtime application or device info
Example use cases for players include:
- Changing game settings
- Inputting cheat codes
- Remote game server management
The package includes a range of features, including:
- Send commands over the network
- Design-centric approach to command setup
- Powerful autocomplete
- Remote login flow
- LAN discovery
- Command execution types
- Command privileges
- Parameter validation
- Easy to extend with new commands and custom parameter validation
- Highly customizable UI
- Full source code included
A sample scene is also included, showcasing a range of commands and a Unity UI implementation of a console interface.
The in-game console UI requires the TextMeshPro package. Networked console communication makes use of reliable UDP network transport provided by LiteNetLib.
Cosmos Console: In-Game Command Console with Network Support - Asset Store





