Developer resources
Three tools power the platform ecosystem: the SDK for building games, the MudRelay for bridging telnet to the web client, and the MudLink agent that connects an existing MUD with no server config. Download and run instructions below.
- External MUD listing: maintain your own listing record (name, website, Discord, art, rules). Admin approves your listing and any later edits.
- Maintainer: submit and update your own game's code via the SDK + submission pipeline.
- Owner: full self-service control of your own games, unified in our stack.
EMP SDK
Scaffold, simulate, and bundle a minigame entirely in your own sandbox: no
access to our servers required. Declare achievements and daily quests in
emp.toml; the platform sets the rewards on approval.
emp-sdk new mygame --category board emp-sdk play . # local simulator emp-sdk validate . # checks your manifest (achievements, quests, ...) emp-sdk bundle mygame --version 1.0.0 emp-sdk publish-update --kind release --version 1.0.0 # devblog post emp-sdk achievements sync # upload [[achievements]] from emp.toml emp-sdk achievements unlock alice first_win # test an unlock emp-sdk contrib list # Evennia contribs (worldbuilder, ...) emp-sdk contrib add worldbuilder ./mygame # prints the steps, asks, applies
Achievements (SDK 0.6.0): you declare id, name,
description, icon and hidden, and your game decides when one
unlocks (POST /api/projects/<slug>/achievements/unlock with your
project key, body {"player": "alice", "id": "first_win"}; repeat calls are
no-ops). MUDHub sets each achievement's value (bronze 10 · silver 25 · gold 50 ·
platinum 100, or a custom value) and caps the points a player can earn from
your game; unlocks past the cap still show on profiles but award 0. Full guide
in the SDK README.
Evennia contribs (SDK 0.7.0): emp-sdk contrib list shows the
contribs in the MH Repository; emp-sdk contrib add worldbuilder <gamedir>
prints the pip, settings, urls and cmdset steps, asks, then applies them (skips steps
already done; --dry-run only prints). See
Evennia Contribs.
Asset kit (SDK 0.8.0): an optional assets/ folder next to
plugin.py. emp-sdk validate . checks it and only warns; MUDHub resizes
what you ship once, at submission, and generates anything you leave out.
| File | Size | Use |
|---|---|---|
cover.png | 1280x720 | listing card, landing hero |
banner.png | 1600x400 | landing banner |
icon.png | 512x512 | app / logo icon |
pulse-icon.svg | 64x64 | Pulse channel icon (24x24 viewBox, currentColor) |
screenshots/01.png | 1280x720, up to 6 | landing gallery |
store/<code>.png | 256x256 | store item art |
achievements/<code>.png | 128x128 | achievement icons |
plugins/ | 2 MB per file | external client plugins (Mudlet, TinTin++) |
PNG, JPEG or WebP (SVG for cover, banner, icons), 4 MB max. You may suggest store prices
([[store_items]] suggested_price) and achievement rewards
(suggested_reward); MUDHub decides the final values.
MudRelay
A WebSocket relay that lets the web client reach telnet MUDs. Run it on your
own infrastructure. Direct mode proxies TCP straight through
(/connect?host=H&port=P); Linked mode pairs with
a MudLink agent (/play/<name>). Exposes /muds,
/status, /health.
npm install node mudrelay.js --port=443 --tls --cert=/path/cert.pem --key=/path/key.pem
MudLink
A drop-in agent your MUD runs. It dials out to a relay (port 443, no inbound ports or certs needed), handling full telnet negotiation, MCCP2, and GMCP. It can also send a status heartbeat to the platform so your listing shows as online, even for a telnet-only game.
npm install node mudlink.js --relay=wss://mudhub.club/relay --name=mymud --mud-port=4000 \ --status-url=https://mudhub.club/emc2/mudlink/heartbeat \ --listing-token=YOUR_LISTING_TOKEN
External MUD listings show a
live online/offline badge driven by the MudLink heartbeat (or the
relay's /muds feed). The platform marks a listing offline if no
heartbeat arrives within the TTL.