Add first-login benevolence + sudo history context

- First-login benevolence hook on player join (once per player, persisted)
- New first-login memory file and config keys
- Benevolence command prompt enforces multi-command blessing behavior
- Limit first-login player-kill commands to at most one
- Add sudo history buffer (last 10 actions) and inject into sudo translator context
- Add effect syntax auto-fix for malformed 'effect <player> ...' outputs
This commit is contained in:
2026-03-15 20:20:33 -04:00
parent 52d288406a
commit d7d69d37af
2 changed files with 239 additions and 0 deletions
+3
View File
@@ -17,6 +17,9 @@
"sudo_enabled": true,
"sudo_user": "slingshooter08",
"sudo_max_commands": 3,
"first_login_benevolence_enabled": true,
"first_login_benevolence_max_commands": 10,
"first_login_path": "/opt/mcsmanager/daemon/data/InstanceData/shrinkborder1234567890abcdef12345/aigod_first_login_seen.json",
"god_lore": "This is the shrink-world server. The world border started at 1000x1000 and shrinks by 1 block each time a player dies, alternating N/S and E/W sides. There are more creepers than normal (5x spawn rate). The goal is survival. Players who die too often will eventually have nowhere left to go.",
"memory_path": "/opt/mcsmanager/daemon/data/InstanceData/shrinkborder1234567890abcdef12345/aigod_memory.json"
}