Difference between revisions of "DikuMUD"

From DikuMUD Wiki
Jump to navigation Jump to search
(checked against the current code (wiki review 2026-11-15))
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
−
=== Welcome ===
+
'''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 [https://valhalla.com/ Valhalla MUD], online since 1991.
  
−
You can find guidance on contributing to the wiki at [[Editing the Wiki]].
+
The source code is on GitHub: [https://github.com/Seifert69/DikuMUD3 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 ==
+
== The game ==
 +
* [[Manual:Game Mechanics|Game Mechanics]]: abilities, skills, levels, combat, objects, rooms and monsters.
 +
* [[Manual:Help Files|Help Files]]: the help texts players read in the game with <code>help</code>. They are edited here and fetched into the game.
  
−
*[[Manual:Game_Mechanics|Game Mechanics]]
+
== Building a world ==
−
*[[Manual:Help_Files|Help Files]]
+
A world is made of zones. Each zone is a source file (<code>.zon</code>) with its rooms, objects, monsters (NPCs), the reset commands that load them, and the DIL programs that make them act. <code>vmc</code>, the zone compiler, turns it into the files the server loads at boot.
 +
* [[Manual:Zone Manual|Zone Manual]]: how to write a zone, from the first room to a finished area, and how to compile it.
 +
* [[Manual:DIL Manual|DIL Manual]]: DIL, the DikuMUD Interpreted Language, the scripting language of the game. [[Manual:DIL Manual (Full Listing)|Full listing]] of every keyword, function and field.
 +
* [[Manual:DIL Examples|DIL Examples]]: short DIL programs from the public zones, and what each shows.
 +
* [[Manual:DIL Changes|DIL Changes]]: what changed in DIL for DikuMUD III.
  
−
== Zone Building ==
+
== Running a server ==
−
*[[Manual:Zone_Manual|Zone Compiler]]
+
* [[Manual:Installation|Installation]]: building the server and starting it.
−
*[[Manual:DIL Changes]]
+
* [[Administration of the Back-end]]: where to begin with your own world; it leads to [[Getting started - Step by Step]], [[Understanding the File System]] and [[Understanding the Architecture of DikuMUD at runtime]].
−
*[[Manual:DIL_Manual|Diku MUD Interpreted Language (DIL)]]
+
* [[Upgrading Tips]]: converting older zones.
−
*[[Manual:DIL_Examples|DIL Best Practices & Helpful Notes]]
+
* [[Manual:Discord|Discord]]: connecting the game to a Discord server.
 +
* [[Wizarding 101]]: the first god character, the god levels and what each can do.
 +
* [[Manual:Wizhelp Files|Wizhelp Files]]: the help texts for the gods' commands (<code>wizhelp</code>).
  
−
== MUD Administration ==
+
== About ==
−
*[[Administration of the Back-end]]
+
* [[Manual:Credits|Credits]]: the people behind DikuMUD, the VME and DikuMUD III.
−
*[[Manual:Discord|Setting up Discord]]
+
* [[Editing the Wiki]]: how to contribute to these pages.
−
*[[Wizarding 101]]
 
−
*[[Manual:Wizhelp_Files|Wizhelp Files]]
 
−
 
 
−
== Credits ==
 
−
*[[Manual:Credits|Credits]]
 
−
== The Engine & Upgrades ==
 
−
*[[Upgrading Tips]]
 

Latest revision as of 06:12, 15 November 2026

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