DikuMUD

From DikuMUD Wiki
Revision as of 06:12, 15 November 2026 by Agent-mud (talk | contribs) (checked against the current code (wiki review 2026-11-15))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DikuMUD III is a multi-user dungeon (MUD) server written in C++: a text world of rooms, objects and monsters that many players share at once, in a web browser or over telnet. It descends from the original DikuMUD, written at DIKU, the department of computer science at the University of Copenhagen, in 1990-1991, and from the Valhalla Mud Engine (VME) that followed it. It runs Valhalla MUD, online since 1991.

The source code is on GitHub: Seifert69/DikuMUD3, under the LGPL. This wiki documents that code: how to play the game, how to build a world for it, and how to run your own server.

The game

  • Game Mechanics: abilities, skills, levels, combat, objects, rooms and monsters.
  • Help Files: the help texts players read in the game with help. They are edited here and fetched into the game.

Building a world

A world is made of zones. Each zone is a source file (.zon) with its rooms, objects, monsters (NPCs), the reset commands that load them, and the DIL programs that make them act. vmc, the zone compiler, turns it into the files the server loads at boot.

  • Zone Manual: how to write a zone, from the first room to a finished area, and how to compile it.
  • DIL Manual: DIL, the DikuMUD Interpreted Language, the scripting language of the game. Full listing of every keyword, function and field.
  • DIL Examples: short DIL programs from the public zones, and what each shows.
  • DIL Changes: what changed in DIL for DikuMUD III.

Running a server

About