Compatibility
Minecraft: Java Edition
1.21.1–1.21.11
1.20.1–1.20.6
Platforms
Supported environments
Client-side
Tags
Creators
Details
Licensed MIT
Published 2 months ago
Changelog
v1.0.1
Features
- Instance isolation: other Minecraft instances cannot stop a server they didn't start
- Multi-instance support: each instance can start its own server with its own bat/data directory
- Server reclaim on restart: lock file persists ownership across Minecraft restarts
Bug Fixes
- Fixed stale serverPid after failed start preventing re-launch
Internal
- Unified duplicated process-scanning logic into findServerProcess()
- Fixed TOCTOU race in deleteLockFile()
- Cached getEffectiveServerDir() to reduce filesystem I/O
v1.0.1
機能
- インスタンス分離: 他のMinecraftインスタンスが自分が起動していないサーバーを停止できないように保護
- マルチインスタンス対応: 各インスタンスがそれぞれ自分のbat/dataディレクトリでサーバーを起動可能
- 再起動時のサーバー復帰: ロックファイルで所有権を保持し、マイクラ再起動後も自動的にサーバーを再検知
バグ修正
- サーバー起動失敗後にserverPidがリセットされず再起動できなくなる問題を修正
内部改善
- 4箇所に重複していたプロセス検索ロジックをfindServerProcess()に統一
- deleteLockFile()のTOCTOU競合状態を修正
- getEffectiveServerDir()の結果をキャッシュしてファイルシステムI/Oを削減
Files
quick_start-1.0.1.jar(87.47 KiB) Primary
Metadata
Release channel
BetaVersion number
v1.0.1Loaders
NeoForge
Game versions
1.20.1–1.20.6Environment
Client-side only


