Skip to content

The Content Editor

The Creator UI is TalesMUD’s built-in web editor for creating and managing all game content. It’s accessible at http://localhost:8010/admin for users with the MUD Creator or MUD Admin role.

  1. Start the TalesMUD server
  2. Navigate to http://localhost:8010/admin
  3. Log in with your admin credentials
  4. The Creator UI sidebar shows all content categories

The sidebar provides access to all entity types:

CategoryWhat You Edit
RoomsRoom descriptions, exits, actions, spawners, scripts
NPCsNPC templates with enemy/merchant/dialog traits
ItemsItem templates with types, qualities, attributes
QuestsQuest definitions with objectives and rewards
DialogsDialog tree nodes and options
SkillsClass skill definitions
ScriptsLua script editor with syntax highlighting
Loot TablesEnemy drop configurations
World MapVisual map of rooms with coordinates

Creating a new entity:

  1. Select the category in the sidebar
  2. Click New (top right)
  3. Fill in the fields
  4. Click Save

Editing an existing entity:

  1. Select the category
  2. Use the filter/search to find the entity
  3. Click the entity row to open the detail pane
  4. Edit and save

Linking entities:

  • Rooms → Exits: select target room from dropdown
  • Rooms → On Enter Script: select script from dropdown
  • NPCs → Dialog: select dialog tree from dropdown
  • Quests → Source NPC: select NPC from dropdown

The World Map view shows all rooms that have coordinates set. Rooms appear as nodes on a 2D grid:

  • Pan and zoom to navigate
  • Click a room node to jump to its editor
  • Unconnected rooms (no coordinates) don’t appear on the map

Set coordinates on rooms to build out your visual map.

The script editor in the Scripts section provides:

  • Syntax highlighting for Lua
  • A code editor with line numbers
  • Script type selection (room, item, npc, quest, custom)
  • Run script button for testing

The Creator UI supports exporting world content to YAML files for version control, and importing YAML files to bulk-load content.

Access via the Export and Import buttons in the top menu.

ActionRequired Role
View contentMUD Creator
Create/edit contentMUD Creator
Delete contentMUD Creator
Manage usersMUD Admin
Access user listMUD Admin
Ban/unban usersMUD Admin