No description
  • TypeScript 100%
Find a file
keeb ca28b27711 Publish @keeb-namespaced types (rename @user→@keeb); bump to 2026.05.25.1
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 16:56:56 -07:00
.claude/skills/minecraft feat: add embedded minecraft skill for AI agents 2026-04-06 18:33:56 -07:00
.swamp/workflows Publish @keeb-namespaced types (rename @user→@keeb); bump to 2026.05.25.1 2026-05-25 16:56:56 -07:00
extensions/models Publish @keeb-namespaced types (rename @user→@keeb); bump to 2026.05.25.1 2026-05-25 16:56:56 -07:00
workflows Initial commit: @keeb/$NAME swamp extension 2026-02-27 12:30:56 -08:00
.gitignore Initial commit: @keeb/$NAME swamp extension 2026-02-27 12:30:56 -08:00
.swamp.yaml Initial commit: @keeb/$NAME swamp extension 2026-02-27 12:30:56 -08:00
CLAUDE.md Add repository and tags to manifest 2026-03-02 22:01:51 -08:00
manifest.yaml Publish @keeb-namespaced types (rename @user→@keeb); bump to 2026.05.25.1 2026-05-25 16:56:56 -07:00
README.md Publish @keeb-namespaced types (rename @user→@keeb); bump to 2026.05.25.1 2026-05-25 16:56:56 -07:00

@keeb/minecraft

Swamp extension for Minecraft server control, installation, and metrics collection.

Models

minecraft/server

Control a Minecraft server running in a tmux session over SSH.

Method Description
warnShutdown Send in-game countdown warnings before shutdown
startMinecraftServer Start the server in a tmux session and wait for readiness
stopMinecraftServer Gracefully stop the server
status Query player count and server status
say Send an in-game chat message
op Grant operator privileges to a player
deop Revoke operator privileges from a player
collectMetrics Collect player count and write Prometheus textfile metrics

minecraft/installer

Install a Minecraft server from a modpack zip on a remote host.

Method Description
installDeps Install Java and dependencies
upload Upload server pack zip to the VM
extract Extract and configure the server pack
configure Set EULA, JVM flags, and server properties

Workflows

Workflow Description
start-minecraft Start a Minecraft VM + server
stop-minecraft Stop a Minecraft server + VM
reboot-minecraft Stop + start a Minecraft server
status-minecraft Query Minecraft player count
minecraft-install Install a Minecraft server pack on a VM
collect-game-metrics Collect player metrics from all game servers

Dependencies

Install

swamp extension pull @keeb/minecraft

Example

Warn players, then gracefully stop a running server before VM shutdown:

models:
  - name: mc
    type: "@keeb/minecraft/server"
    globalArguments:
      sshHost: "10.0.0.50"
      sshUser: "root"
      tmuxSession: "mons"
      serverDir: "~/mons"
      startScript: "./startserver.sh"
      logPath: "~/mons/logs/latest.log"
      serverName: "mons"

jobs:
  - name: graceful-stop
    steps:
      - model: mc
        method: warnShutdown
      - model: mc
        method: stopMinecraftServer
      - model: mc
        method: status

License

MIT