Skip to content
ellyseumPublic

About

Modern Multi-User Dungeon in TypeScript. Telnet, WebSocket, React admin with drag-and-drop world builder, MCP server, JSON/SQLite/PostgreSQL storage.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

440 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EllyMUD

License: AGPL-3.0 Node.js TypeScript

A modern Multi-User Dungeon written in Node.js and TypeScript. Connect over Telnet, WebSocket, or the bundled web client. Inspired by classic MUDs like MajorMUD, rebuilt on a contemporary stack.

Quick start

git clone https://github.com/ellyseum/ellymud.git
cd ellymud
npm run bootstrap
npm start

Then connect:

First boot prompts for an admin password.

Game

  • Real-time, turn-based combat with NPCs and PvP
  • Abilities and spellcasting with mana, cooldowns, and resource management
  • Room-based world with safe zones, shops, banks, and combat areas
  • 12-slot equipment system, inventory, vendor economy, banking
  • Character progression: levels, stat training, experience
  • Status effects: poisons, stuns, roots, buffs, debuffs, heals
  • Rest and meditate to recover
  • Multi-user chat (say, yell, social emotes)
  • Snake mini-game (type snake and you'll see)

See docs/commands.md for the full command reference.

Stack

  • Connections: Telnet (8023), WebSocket (8080), bundled xterm.js web client
  • Admin API: REST + React dashboard with a drag-and-drop World Builder (port 3000)
  • MCP server: Model Context Protocol on port 3100 for AI integration and headless testing
  • Storage: pluggable JSON / SQLite / PostgreSQL via a repository factory — switch with one env var
  • Auth: bcrypt password hashing, RBAC, JWT for the admin panel, API keys for MCP
  • Logging: per-user, per-session, daily-rotated, with separate system/error/MCP streams
  • Tests: Jest unit + integration + E2E (3,500+ tests)

Storage backends

Set STORAGE_BACKEND to switch. Migrate data with npm run data:export / data:import.

Backend Use case Setup
json Dev, fast iteration None — default
sqlite Single-server prod STORAGE_BACKEND=sqlite
postgres Cluster / HA STORAGE_BACKEND=postgres + DATABASE_URL

Details in docs/storage-backends.md.

MCP server

EllyMUD exposes a Model Context Protocol server on port 3100 with API-key auth, suitable for AI agents to connect, control test mode, drive virtual game sessions, or query game state. See docs/api-reference.md.

Documentation

Topic Path
Getting started docs/getting-started.md
Configuration docs/configuration.md
Docker docs/docker.md
Deployment docs/deployment.md
Commands docs/commands.md
Admin guide docs/admin-guide.md
API reference docs/api-reference.md
Architecture docs/architecture.md
Storage backends docs/storage-backends.md
Performance docs/performance.md
Development docs/development.md
Troubleshooting docs/troubleshooting.md

For contributor conventions, build commands, and architecture in detail, read AGENTS.md.

Development

npm run dev      # hot-reload server
npm test         # full test suite
npm run build    # tsc + vite build
npm run          # list all scripts

License

AGPL-3.0-or-later — see LICENSE.

Commercial licensing available on request via https://github.com/ellyseum.

Issues & discussion

About

Modern Multi-User Dungeon in TypeScript. Telnet, WebSocket, React admin with drag-and-drop world builder, MCP server, JSON/SQLite/PostgreSQL storage.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages