UNPKG

ursamu-mud

Version:

Ursamu - Modular MUD Engine with sandboxed scripting and plugin system

56 lines (55 loc) 1.38 kB
/** * Ursamu - Modular MUD Engine * * Main entry point for the Ursamu MUD engine framework. * This package provides the core architecture and tools for building * modern Multi-User Dungeon games with modular plugins and hot-reload. */ export declare const version = "1.0.0"; /** * Main MUD Engine class * This is a placeholder implementation for the initial release. * The full implementation will be available in future versions. */ export declare class MUDEngine { private config; constructor(config?: any); start(): Promise<void>; stop(): Promise<void>; getVersion(): string; } export interface Plugin { readonly name: string; readonly version: string; readonly description?: string; readonly author?: string; readonly dependencies?: string[]; } export interface Command { name: string; aliases?: string[]; description: string; usage: string; category?: string; handler: Function; } export interface Player { readonly id: string; readonly name: string; } export interface CommandContext { player: Player; engine: MUDEngine; room?: any; world?: any; } export interface CommandResult { success: boolean; message: string; } export interface PluginContext { engine: MUDEngine; registry?: any; config?: any; } export { version as VERSION } from './version.js';