Use this file to discover all available pages before exploring further.
Universe exposes every management operation through a unified command system. The exact same commands work whether you type them into the interactive TTY console, attach to a running Docker container, or send them over the REST API. There is no separate “API-only” operation set — the console and the HTTP endpoint share the same command dispatcher.
If Universe runs in a Docker container with stdin_open: true and tty: true, attach to the container’s stdin:
docker attach universe-master
Then type commands directly. Press Ctrl+P, Ctrl+Q to detach without stopping the container.
cluster statusinstance liststop
Your docker-compose.yml must include stdin_open: true and tty: true for the attach to work. These are required for JLine to function correctly inside a container.
Send any command to POST /api/commands/execute with a JSON body. The response contains the command’s output as a string.
The endpoint accepts a single command field and returns the captured output synchronously, making it suitable for scripting and automation pipelines.
All commands shown in this reference work identically via the interactive console and via POST /api/commands/execute. There is no distinction between console-only and API-only commands.
Instance commands create, inspect, control, and communicate with running application instances.
Command
Description
instance list
List all instances: ID, config name, runtime, host, port, and state
instance create <config>
Create one instance from the named configuration
instance create <config> <amount>
Create multiple instances; each is placed on a resource-eligible node
instance stop <id>
Gracefully stop an instance by its 6-character ID
instance kill <id>
Force-stop an instance and immediately mark it STOPPED
instance restart <id>
Stop then recreate an instance from the same configuration
instance info <id>
Full details: state, host, port, PID, wrapper node, working directory, last heartbeat
instance logs <id>
Print the last 25 lines of the instance’s stdout.log to the console
instance execute <id> <cmd>
Write a command string to the instance’s stdin (e.g., Minecraft server commands)
# Create one instance from the "default" configurationinstance create default# Create three instances at onceinstance create default 3
instance execute is designed for processes that accept commands on stdin, such as Minecraft servers. For arbitrary shell commands inside a container runtime, use the Docker or Kubernetes runtime’s exec facilities instead.
Configuration commands manage the .json files that define how instances are created.
Command
Description
config list
List all loaded configurations with runtime and port range
config show <name>
Print all fields of a named configuration
config create <name> <runtime> <command>
Create a new configuration in-memory
config reload
Re-read all files in ./configuration/ and update the cluster state
# See all configurationsconfig list# Inspect the "default" configuration in fullconfig show default# Reload after editing a .json file on diskconfig reload
The pattern argument to template sync supports three forms:
Pattern
Effect
server/base
Sync only the single template server/base
server/*
Sync every template whose group is server
*
Sync all templates in all groups
# Sync a single template to node-2template sync server/base node-2# Sync every template in the "server" grouptemplate sync server/* node-2# Sync the entire template librarytemplate sync * node-2
API keys are managed through their own key sub-command group. These commands interact with the configured database backend and take effect immediately.
Command
Description
key list
List all registered keys: ID, permission level, and masked token
key create <keyId> <permission>
Create a new key; prints the full token once — it cannot be retrieved later
key delete <keyId>
Permanently delete a key by its human-readable ID
# Create an admin key for CI/CD automationkey create ci-deploy ALL# Create a read-only key for a monitoring dashboardkey create grafana-reader PUBLIC# List all keys (tokens are masked as "abcd...wxyz")key list# Remove a key that is no longer neededkey delete ci-deploy
The full token is only displayed once at creation time. If it is lost, delete the key and create a new one — there is no token recovery mechanism.
Valid permission values are ALL (full admin access) and PUBLIC (read-only, rate-limited). See Security for a detailed explanation of each level.