Files
Minecraft-Server/.gitignore
Paul Kloppers cab5337e3f stream Redstone replies via sendMessageDraft + fix self-killing server_down
Two related changes to how Redstone behaves in chat.

Streaming: replies now animate word-by-word into Telegram using the new
sendMessageDraft endpoint (Bot API 9.5, March 2026) via the @grammyjs/stream
plugin, with @grammyjs/auto-retry on the API layer to swallow 429s
transparently. The previous editMessageText-based approach is gone —
sendMessageDraft is designed for this and animates natively on the client
without hitting the 1/sec-per-chat edit limit. Pace lives in
STREAM_WORD_DELAY_MS=50; tunable in one spot.

server_down footgun: the MCP tool was running `compose down` with no
service arg, which tore down the whole project — including the bot
container running the tool call, which then got SIGTERM mid-conversation
and didn't come back (unless-stopped doesn't restart on a clean compose
down). Behaviour now matches the existing /stop slash command:
compose stop minecraft autossh, leaving the bot up. Pass an explicit
service to stop just that one.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 08:47:35 +02:00

42 lines
580 B
Plaintext

# Runtime / generated data
data/world/
data/libraries/
data/versions/
data/logs/
data/.cache/
data/minecraft_server.*.jar
# Secrets
data/.rcon-cli.env
data/.rcon-cli.yaml
# Backup snapshots
data.*.bak/
*.bak/
backups/
# Port-forward runtime state
portforward.log
portforward.pid
# Local Claude Code state
.claude/settings.local.json
# Telegram bot
bot.token
bot/node_modules/
bot/bun.lockb
bot/bun.lock
bot/data/
# Google Generative Language API key
google_key.txt
# MCP server
mcp/node_modules/
mcp/bun.lock
# autossh service key material
ssh/spotbot_key
ssh/known_hosts