Scripting Overview
Initialization
To manage your own CosmosConsole instance without using the existing utility scripts, you just need a few lines of code.
If you want to create a console with networking features, use CosmosConsole.CreateNetworked.
CosmosConsole myConsole = CosmosConsole.CreateNetworked(config, new LiteNetServerOnlyNetworkFactory());
For a simple local-only console you can use CosmosConsole.CreateLocal.
CosmosConsole myConsole = CosmosConsole.CreateLocal(config);
You can create and maintain multiple console instances if this is useful for your use case. Note that if these are networked, you should make sure they each console uses an unique and unused remote network port.
Calling a command
Refer to the Calling Commands section.