@user/terraria/server
Model type — v2026.02.14.1
Details
- Type
- @user/terraria/server
- Normalized
- @user/terraria/server
- Version
- v2026.02.14.1
- Methods
- 3
- Resources
- 2
- Files
- 0
- Definitions
- 1
Global Arguments
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"sshHost": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "SSH hostname/IP (set via CEL from lookup model)"
},
"sshUser": {
"default": "root",
"description": "SSH user (default 'root')",
"type": "string"
},
"containerName": {
"default": "tmodloader",
"description": "Docker container name running tModLoader",
"type": "string"
}
},
"required": [
"sshHost",
"sshUser",
"containerName"
],
"additionalProperties": false
}Methods (3)
warnShutdown
Broadcast a shutdown warning to Terraria players and wait 30 seconds
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}status
Query Terraria server status: player count and names
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}collectMetrics
Collect player metrics and write Prometheus textfile + JSON log
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}Resources (2)
server
Terraria server operation result
- Lifetime
- infinite
- Garbage Collection
- 10
metrics
Terraria player metrics collection result
- Lifetime
- infinite
- Garbage Collection
- 10
Definitions (1)
| Name | Version | Tags | ID |
|---|---|---|---|
| calamityTerraria | v1 | 2d558082 |