Terraria
@keeb/terrariav2026.07.18.1
Security Notice
This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.
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.05.25.1
2026.04.22.3
2026.04.22.2
2026.03.02.3
2026.03.02.2
2026.03.02.1
2026.02.27.1
05Stats
A
100 / 100
Downloads
16
Archive size
11.4 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/keeb/swamp-terraria06Platforms
07Labels