Creators
Details
Licensed MIT
Published last year
Updated 4 months ago
All versions
1.2.8
Release
ShopTools 1.2.88 months ago 20
Compatibility
Minecraft: Java Edition
1.20.x
Platforms
Paper
Purpur
Changes
更新日志
v1.2.8 (2026-03-07)
🔧 技术改进
- 移除库存检查模块:停用依赖区块加载的库存检测逻辑,彻底消除服务器启动时主线程被阻塞(Watchdog 10秒超时)的根本原因
- 区块加载机制分析:经技术验证,QuickShop 的
getRemainingStock()实时读取箱子方块实体,必须在区块已加载的前提下执行;在启动阶段强制加载大量区块不可行
🐛 问题修复
- 修复启动卡顿:解决 v1.2.7 中因商店所在区块未加载导致
getRemainingStock()触发同步区块加载、主线程阻塞超过 10 秒的严重问题 - 修复售罄误报:移除库存检查后,普通商店不再因启动时库存值为
0(区块未加载的默认值)而错误显示"售罄"标识
📌 功能调整
isOutOfStock()始终返回false:保留接口以维持 API 兼容性,但不再进行实际库存判断getStockStatusText()始终返回空串:商店列表不再显示"售罄"标识- 无限商店(系统商店)状态保持不变:
isUnlimited检测与[无限]标识显示功能完全正常
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:7SrEX5Ff:3imP2qNS"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:7SrEX5Ff:3imP2qNS"
}

