How juanp-g/mc-serverlauncher works
MC Server Launcher is a cross-platform desktop app for creating, running, and managing Minecraft servers. Its main workflow starts with a user creating or adding a server, then configuring and launching it; the app can prepare Java and server files, and the user can manage content, access, backups, and tunnels while it runs. The graph also preserves documented player, sleep/wake, console, and update capabilities. Some subsystem links come from README descriptions; the excerpts do not expose all runtime wiring, so uncertain calls are omitted.
Main entry points: MainWindow.axaml.cs Main window · ServerViewModel.cs Server controls · StoreBrowser.cs Mod and plugin store · ServerCreationService.cs Server creation
Components 24
Server lifecycle
- Server controls
McServerLauncher/ViewModels/ServerViewModel.cs - Server configuration
McServerLauncher/Models/ServerConfig.cs - Server registry
McServerLauncher/Services/ServerStorageService.cs - Server creation
McServerLauncher/Services/ServerCreationService.cs - Server provisioning
McServerLauncher/Services/ServerProvisioningService.cs - Server process
McServerLauncher/Services/ServerProcessManager.cs - Java runtime
McServerLauncher/Services/JavaService.cs
Server management
- Mod and plugin store
McServerLauncher/ViewModels/StoreBrowser.cs - Modrinth
- Content installation
McServerLauncher/Services/ContentInstall.cs - World backups
McServerLauncher/Services/WorldBackupService.cs - Player management
McServerLauncher/Services/PlayersService.cs - Whitelist
McServerLauncher/Services/WhitelistService.cs - Server console
McServerLauncher/Services/ConsoleLogService.cs
Online play
- Tunnel controls
McServerLauncher/ViewModels/TunnelsViewModel.cs - Playit integration
McServerLauncher/Services/PlayitManager.cs - Playit API
McServerLauncher/Services/PlayitApiService.cs - Wake on demand
McServerLauncher/ViewModels/WakeOnDemandController.cs
App experience
- Main window
McServerLauncher/Views/MainWindow.axaml.cs - App settings
McServerLauncher/Services/AppSettingsService.cs - App updates
McServerLauncher/Services/UpdateService.cs - What's new
McServerLauncher/Services/NewsFeedService.cs
Other components
- User
- Update service
Connections 22
- User → Main window: uses
README.md - Main window → Server creation: creates server
README.md - Main window → Server registry: adds server
README.md - Server creation → Server provisioning: prepares server
- Server provisioning → Java runtime: installs Java
README.md - Server controls → Server process: starts server
README.md - Server controls → Server configuration: configures
- Main window → Mod and plugin store: browses content
README.md - Mod and plugin store → Modrinth: searches
README.md - Mod and plugin store → Content installation: installs selection
- Main window → World backups: manages backups
README.md - Main window → Player management: manages players
README.md - Main window → Whitelist: manages whitelist
- Server controls → Server console: shows output
- Main window → Tunnel controls: opens tunnels
README.md - Tunnel controls → Playit integration: manages tunnel
- Playit integration → Playit API: uses API
McServerLauncher/Services/PlayitManager.cs - Server controls → Wake on demand: enables wake
- Main window → App settings: changes settings
- Main window → App updates: checks updates
README.md - App updates → Update service: checks release
- Main window → What's new: shows changes
README.md