Initial seed for an autonomous, self-extending Minecraft player powered by Pi (pi.dev) and Mineflayer. Includes README, AGENTS.md mandate, .env.example, MIT LICENSE, package.json with mineflayer + dotenv, and empty skills/ extensions/ prompts/ dirs for the agent to grow into. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
41 lines
1.7 KiB
Bash
41 lines
1.7 KiB
Bash
# --- Minecraft connection -----------------------------------------------------
|
|
# The pepa server. Cracked mode — any nickname works.
|
|
MC_HOST=play.xmatic.team
|
|
MC_PORT=25565
|
|
MC_USERNAME=pepa_pi_bot
|
|
MC_VERSION=auto # 'auto' lets mineflayer detect the server's version
|
|
|
|
# --- AuthMe (in-game login) ---------------------------------------------------
|
|
# Used for /register on first join and /login on subsequent joins.
|
|
# Min length is set on the pepa server — keep it ≥ 8 chars.
|
|
# NEVER commit a real value; .env is gitignored.
|
|
MC_AUTHME_PASSWORD=change-me-to-a-long-password
|
|
|
|
# --- LLM provider -------------------------------------------------------------
|
|
# Set ONE of the following. Pi auto-detects from env.
|
|
# OAuth subscriptions (ChatGPT Pro, Claude Max) — leave keys empty and run `pi /login`.
|
|
OPENAI_API_KEY=
|
|
ANTHROPIC_API_KEY=
|
|
GOOGLE_API_KEY=
|
|
|
|
# Default model & provider for autonomous ticks.
|
|
# Cheap default; override per-session with `pi --model ...`.
|
|
PI_DEFAULT_PROVIDER=openai
|
|
PI_DEFAULT_MODEL=gpt-5-mini
|
|
|
|
# --- Bot behaviour ------------------------------------------------------------
|
|
# How often (seconds) the autonomous tick prompt fires. Set to 0 to disable.
|
|
TICK_INTERVAL_SECONDS=60
|
|
|
|
# Chat rate limit (messages per minute). Paper's spam kicker triggers around 20/min.
|
|
CHAT_RATE_LIMIT_PER_MIN=15
|
|
|
|
# --- Operator -----------------------------------------------------------------
|
|
# In-game nick of the human operator. The bot treats their chat messages as
|
|
# higher-priority than other players.
|
|
OPERATOR_USERNAME=halofourteen
|
|
|
|
# --- Optional: Telegram bridge (future skill, not wired yet) ------------------
|
|
# TELEGRAM_BOT_TOKEN=
|
|
# TELEGRAM_OPERATOR_CHAT_ID=
|