Command line style chat application and MUD. Built on MongoDB and Socket.io.
cd lounge
npm install
gulp babelify
npm test
cp config.example.js config.js
Edit config.js
to change site title, banner and email client configuration.
Bootstrap an environment with a few example rooms.
node tools/bootstrap
Point your browser to localhost:3000. The bootstrap script will have created an admin user with an email address [email protected] and a password admin. To log in as the admin user enter the following command into the prompt.
/signin -email [email protected] -password admin
New users can sign up by using the /signup command and supplying an email address, username and password. Nodemailer is used to send an email verification link to the supplied email address.
(Not available from user facing help menu)
createenvironment
Creates a new environment
Example: /createenvironment -name Entrance -description Entrance to an old dusty dungeon
createitem
Creates a new item which can be picked up and dropped by users
Example: /createitem -name Sceptre -description A magical relic
addrequirement
Require an item to enter a room.
Example: /addrequirement -environment Entrance -item Sceptre
connectenvironments
Connect two environments. This will allow users to move from place to place.
Example: /connectenvironments -name1 Entrance -name2 Tomb