Welcome to the Dungeon
This is the development server for the Dungeon Heart MUD game. The game rooms are available via WebSocket connections.
Available Party Rooms:
Note: Direct HTTP connections to party rooms will show connection information. For actual gameplay, connect using WebSockets from the game client.
Developer Connection Information
To connect to a room using WebSockets, use the following endpoints:
ws://localhost:1999/party/dungeon- For the main dungeonws://localhost:1999/party/marketplace- For the trading marketplace
Authentication
Remember that connections require authentication via JWT tokens in the Authorization header.
// Connect with authentication
const socket = new WebSocket("ws://localhost:1999/party/dungeon");
socket.addEventListener("open", () => {
const authMessage = { type: "auth", token: "your-jwt-token" };
socket.send(JSON.stringify(authMessage));
});
const socket = new WebSocket("ws://localhost:1999/party/dungeon");
socket.addEventListener("open", () => {
const authMessage = { type: "auth", token: "your-jwt-token" };
socket.send(JSON.stringify(authMessage));
});