01README
Control a Terraria (tModLoader) server running in a Docker container with tmux over SSH, including shutdown warnings, player status, and Prometheus metrics.
02Models
@keeb/terraria/serverv2026.02.14.1terraria_server.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| sshHost? | string | SSH hostname/IP (set via CEL from lookup model) |
| sshUser | string | SSH user (default 'root') |
| containerName | string | Docker container name running tModLoader |
| serverName | string | Resource instance name for writeResource |
fn warnShutdown()
Broadcast a shutdown warning to Terraria players and wait 30 seconds
fn status()
Query Terraria server status: player count and names
fn collectMetrics()
Collect player metrics and write Prometheus textfile + JSON log
Resources
server(infinite)— Terraria server operation result
metrics(infinite)— Terraria player metrics collection result
03Skills
terraria1 file
04Previous Versions
2026.04.22.2Apr 22, 2026
2026.03.02.3Mar 3, 2026
2026.03.02.2Mar 3, 2026
2026.03.02.1Mar 3, 2026
2026.02.27.1Feb 27, 2026
05Stats
A
100 / 100
Downloads
12
Archive size
9.9 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/keeb/swamp-terraria06Security Notice
This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.
07Platforms
08Labels