Scan content/commands/ for .toml files at startup and register them as commands alongside Python-defined ones. Two flavors: handler-based (points to a Python callable via module:function) and message-based (auto-generates a handler from inline text). Includes example MOTD command, type validation, error logging, and full test coverage. |
||
|---|---|---|
| .. | ||
| combat | ||
| commands | ||
| render | ||
| store | ||
| world | ||
| __init__.py | ||
| __main__.py | ||
| content.py | ||
| effects.py | ||
| player.py | ||
| server.py | ||