About this project
MegaMOO is a from-scratch, multiplayer, persistent text virtual world engine modeled on LambdaMOO. It requires Python 3.10+ and uses only the standard library. A world is created with `megamoo init` and run with `megamoo --dev`, serving Telnet on port 6770 and printing a browser URL. In-world programming uses Python itself: each verb such as `verbs/17/jump.py` is a Python file with injected context (`pobj`, `args`, `dobj`, `iobj`, `pmatch`, `call_verb`, etc.), and edits are picked up live without restart. The engine includes an asyncio server core with Telnet/WebSocket and MUD protocols (MXP, GMCP, MSDP, MSSP), SQLite WAL persistence with lazy object cache, LambdaMOO-style single-parent inheritance, a natural-language matcher supporting articles/ordinals/adjective-noun/prepositions, timed effects, managed tasks with suspend/fork protection, and a gender-aware emit substitution engine. `@import` reads LambdaMOO database formats 1 through 4, preserving objects/hierarchy/properties and storing old verb code inert for porting. The README documents 312 starter verbs, 228 of them typeable. Security boundary is explicit: creating verbs/eval is gated at gm3, and gm3 holders can run arbitrary Python as the server process. The project also ships an MCP bridge (`tools/megamoo_mcp.py`) exposing 17 tools for game commands, object/verb/property inspection and editing, eval, search, logs, and server status. Accessibility is built in, including per-player screenreader mode, ANSI-aware wrapping, and optionally disabled wrapping. The project is MIT licensed and under active development; the README states it has not yet had a public multiplayer deployment.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.