The Content Editor
The Content Editor
Section titled “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.
Accessing the Editor
Section titled “Accessing the Editor”- Start the TalesMUD server
- Navigate to
http://localhost:8010/admin - Log in with your admin credentials
- The Creator UI sidebar shows all content categories
Content Categories
Section titled “Content Categories”The sidebar provides access to all entity types:
| Category | What You Edit |
|---|---|
| Rooms | Room descriptions, exits, actions, spawners, scripts |
| NPCs | NPC templates with enemy/merchant/dialog traits |
| Items | Item templates with types, qualities, attributes |
| Quests | Quest definitions with objectives and rewards |
| Dialogs | Dialog tree nodes and options |
| Skills | Class skill definitions |
| Scripts | Lua script editor with syntax highlighting |
| Loot Tables | Enemy drop configurations |
| World Map | Visual map of rooms with coordinates |
Common Workflow
Section titled “Common Workflow”Creating a new entity:
- Select the category in the sidebar
- Click New (top right)
- Fill in the fields
- Click Save
Editing an existing entity:
- Select the category
- Use the filter/search to find the entity
- Click the entity row to open the detail pane
- 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
World Map
Section titled “World Map”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.
Lua Script Editor
Section titled “Lua Script Editor”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
Import/Export
Section titled “Import/Export”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.
Role Requirements
Section titled “Role Requirements”| Action | Required Role |
|---|---|
| View content | MUD Creator |
| Create/edit content | MUD Creator |
| Delete content | MUD Creator |
| Manage users | MUD Admin |
| Access user list | MUD Admin |
| Ban/unban users | MUD Admin |
Next Steps
Section titled “Next Steps”- Creating Rooms — Room configuration guide
- Lua Scripting — Writing scripts for your content