All versions
v1.0.1
Beta
Fabric7 months ago 87
Compatibility
Minecraft: Java Edition
1.21.1–1.21.11
Platform
Fabric
Supported environments
Client-side
Changes
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を削減
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:p9XtPjrF:Ze8UUJ8j"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:p9XtPjrF:Ze8UUJ8j"
}

