How munique/openmu works
OpenMU is a customizable, multi-version MU Online MMORPG server. Its principal runtime path starts with server startup and client connection, then game-server player/session handling and gameplay against shared game data and persistence. Major supporting capabilities include chat, extensible plug-ins, administration, and Discord integration. The graph uses the README, source index, and sampled excerpts; several domain modules are represented at directory level because their implementation was not sampled, so those links are omitted where call ownership cannot be established.
Main entry points: Program.cs Server startup · GameServer.cs Game server · Storage.cs Inventory operations · ConnectServer.cs Connect server
Components 19
Server runtime
- Server startup
src/Startup/Program.cs - Connect server
src/ConnectServer/ConnectServer.cs - Game server
src/GameServer/GameServer.cs - Chat service
src/ChatServer/ChatServer.cs - Network protocols
src/Network
Gameplay
- Player sessions
src/GameLogic/Player.cs - Game mechanics
src/GameLogic - Inventory operations
src/GameLogic/Storage.cs - Cash shop
src/GameLogic/CashShop - Server-side bots
src/GameLogic/Bots
Game data
- Game data model
src/DataModel - Item storage records
src/DataModel/Entities/ItemStorage.cs - Persistence
src/Persistence/EntityFramework
Extensions and integrations
- Plug-in system
src/PlugIns/PlugInManager.cs - Distributed services
src/Dapr - Discord integration
src/Discord
Operations
- Admin panel
src/Web/AdminPanel - Item editor
src/Web/ItemEditor
Other components
- Game client
Connections 20
- Server startup → Connect server: starts
src/Startup/Program.cs - Server startup → Game server: starts
src/Startup/Program.cs - Server startup → Chat service: starts
src/Startup/Program.cs - Game client → Connect server: connects
README.md - Connect server → Game server: routes clients
- Game server → Player sessions: manages sessions
src/GameServer/GameServer.cs - Game server → Game mechanics: creates context
src/GameServer/GameServer.cs - Player sessions → Inventory operations: uses storage
src/GameLogic/InventoryStorage.cs - Inventory operations → Item storage records: updates items
src/GameLogic/Storage.cs - Item storage records → Game data model: models entities
src/DataModel/Entities/ItemStorage.cs - Inventory operations → Persistence: uses lists
src/GameLogic/InventoryStorage.cs - Server startup → Plug-in system: configures
src/Startup/Program.cs - Plug-in system → Persistence: uses lists
src/PlugIns/PlugInManager.cs - Server startup → Admin panel: hosts panel
src/Startup/Program.cs - Server startup → Distributed services: hosts services
- Distributed services → Discord integration: publishes events
- Item editor → Item storage records: builds views
src/Web/ItemEditor/StorageViewModelFactory.cs - Network protocols → Game client: exchanges packets
README.md - Game server → Cash shop: supports features
- Game server → Server-side bots: supports bots
README.md