Initial commit — Minecraft AI God plugin
- mc_aigod.py: main watcher script (log tail, RCON, two-call LLM) - Two-call LLM split: qwen3-coder:30b for commands, gemma3:12b for messages - Divine intervention timer (Poisson process, configurable avg/day) - Prayer memory (persistent, last 10 exchanges) - Rolling server log context (last 20 min events) - Live player context (inventory with rarity, health, food, pos, XP) - /pray and bible chat detection (no slash — vanilla 1.21 compatible) - Login notice, bible help system - debug_commands toggle (in-game command display via tellraw) - Auto-fix for transposed give command syntax - JSON repair fallback for truncated LLM responses - Sentence-aware message chunking for long responses - mc-aigod.service systemd unit - mc_aigod_shrink.json example config - README.md full implementation guide - Minecraft_Ai_God.md full design document
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"server_name": "shrink-world",
|
||||
"log_path": "/opt/mcsmanager/daemon/data/InstanceData/shrinkborder1234567890abcdef12345/logs/latest.log",
|
||||
"rcon_host": "127.0.0.1",
|
||||
"rcon_port": 25576,
|
||||
"rcon_password": "REDACTED_RCON",
|
||||
"ollama_url": "http://192.168.0.141:11434",
|
||||
"model": "gemma3:12b",
|
||||
"command_model": "qwen3-coder:30b",
|
||||
"temperature": 0.85,
|
||||
"max_tokens": 600,
|
||||
"cooldown_seconds": 20,
|
||||
"max_commands_per_response": 6,
|
||||
"interventions_per_day": 4,
|
||||
"god_chat_prefix": "[§6§lGOD§r]",
|
||||
"debug_commands": true,
|
||||
"memory_path": "/opt/mcsmanager/daemon/data/InstanceData/shrinkborder1234567890abcdef12345/aigod_memory.json"
|
||||
}
|
||||
Reference in New Issue
Block a user