This guide covers setting up and running LuminariMUD from source code.
- Linux/Unix system (Ubuntu, Debian, CentOS, WSL, macOS)
- Git installed
- Internet connection for dependency installation
The recommended approach for most users:
# Clone the repository
git clone https://github.com/LuminariMUD/Luminari-Source.git
cd Luminari-Source
# Run deployment script (handles everything: database, world data, build)
# Note: You'll be prompted for MySQL root password during setup
./scripts/deploy.sh
# Start the server
./bin/circle -d libThat's it! Connect to localhost:4000 with any MUD client.
What it does: The script automatically sets up the database, initializes world data, copies config files, and builds the MUD. World initialization is enabled by default (required for the server to start).
For more control over the deployment:
# Clone repository
git clone https://github.com/LuminariMUD/Luminari-Source.git
cd Luminari-Source
# Run deployment with custom options
./scripts/deploy.sh --dev # Development build with debug symbols
# Or
./scripts/deploy.sh --auto # Skip prompts where possible
# Start the server
./bin/circle -d libThe deploy script automatically:
- Installs missing dependencies and builds the game (Autotools preferred)
- Provisions the
luminaridatabase and user, runs the in-codedb_init_systemroutines so every table exists (wilderness, vessels, PubSub, help, etc.) - Initializes minimal world data (zones, rooms, mobs, objects) - enabled by default
- Writes generated credentials to
lib/mysql_config(mode 600)
Note: Database and world data are both required. The script handles both automatically. You can safely re-run the script to refresh credentials and migrate the schema.
See the Full Deployment Guide for detailed manual setup instructions.
You can connect using any MUD client:
Popular Clients:
- Mudlet - Feature-rich, cross-platform (recommended)
- MUSHclient - Windows, powerful scripting
- TinTin++ - Terminal-based, Unix/Linux
- SimpleMU - Windows, beginner-friendly
- Blowtorch - Android mobile client
- MUDRammer - iOS mobile client
Basic Connection:
- Host:
localhostor127.0.0.1 - Port:
4000(default)
- Create your first character (automatically gets admin privileges)
- Choose name, password, race, and class
- Complete character creation
- You'll start in the default starting room
look / l - Examine your surroundings
north/south/etc - Movement (or n/s/e/w/u/d)
get <item> - Pick up an item
drop <item> - Drop an item
inventory / i - Check your inventory
equipment / eq - View equipped items
who - List online players
say <message> - Talk to others in the room
tell <player> <msg>- Send private message
help <topic> - Access help system
kill <target> - Attack a mobile/player
flee - Escape from combat
rescue <player> - Rescue someone from combat
bash - Attempt to knock down opponent
cast '<spell>' - Cast a spell
score - View character statistics
affects / aff - List active affects
practice - See/improve skills
train - Spend training points
levelup - Advance when ready
save - Force save character
quit - Exit the game
As the first created character, you have access to builder commands:
redit - Room editor
oedit - Object editor
medit - Mobile (NPC) editor
zedit - Zone editor
sedit - Shop editor
trigedit - Trigger editor
zreset - Reset your current zone
saveall - Save all OLC changes
show zones - List all zones
goto <room#> - Teleport to room
advance <player> <level> - Set player level
wizhelp - List immortal commands
shutdown - Shutdown server
copyover - Reboot without disconnecting players
- Create a Zone:
zedit new 100 - Create zone 100
zedit 100 name <Zone Name>
zedit 100 top 199 - Set room range (100-199)
zedit save
- Create Rooms:
redit 100 - Create/edit room 100
redit name <Room Name>
redit desc - Enter room description
redit exit north 101 - Link north to room 101
redit save
- Create Objects:
oedit 100 - Create/edit object 100
oedit name sword
oedit short a steel sword
oedit long A sharp steel sword lies here.
oedit save
- Create Mobiles (NPCs):
medit 100 - Create/edit mobile 100
medit name guard
medit short a city guard
medit long A guard watches the area carefully.
medit level 10
medit save
- Save Everything:
saveall - Save all OLC work
src/campaign.h- Core game settingssrc/mud_options.h- Server optionssrc/vnums.h- Virtual number assignmentslib/etc/config- Runtime configuration
Edit startup command:
./bin/circle -q 5000 -d lib # Run on port 5000See Deployment Guide for MySQL/MariaDB setup details.
Can't connect:
- Verify server is running:
ps aux | grep circle - Check firewall settings
- Try
telnet localhost 4000to test
Build errors:
- Ensure all dependencies installed
- Run
autoreconf -fviif Makefile missing - Check
log/syslogfor errors
Missing files:
- Run
./scripts/deploy.sh --auto --init-worldto create all required files - Check symlinks exist:
ls -la world text etc
- In-game help: Type
help <topic> - Immortal help: Type
wizhelp(as admin) - Documentation: Browse the
docs/directory - Logs: Check
log/syslogfor errors - GitHub: Report issues
- Explore the codebase: Review source files in
src/ - Read documentation:
- Developer Guide - Code development
- Builder Manual - World building
- Start building: Create your own zones and content
- Join the community: Connect with other MUD developers
For complete deployment details, see the Deployment Guide