Links
Tags
Creators
Details
Licensed AGPL-3.0-only
Published last year
Updated last year
All versions
0.2
Beta
PermPacks 0.2last year 84
Compatibility
Minecraft: Java Edition
1.21–1.21.8
Platform
Paper
Changes
新增
- 英文介绍文档
README-en.md与两种尺寸的项目 Logo。 - 在
Iterable<Pack>#toRequest()中对资源包去重,避免重复发送同一包。 - S3 文件上传服务(
amazon_s3),支持可配置的 endpoint、region、bucket、目录等。 - 上传服务启动清理逻辑,支持自托管/ S3 中清理未被引用的对象。
- 多个函数的必要注释与文档化内容。
.gitignore中对run/目录的忽略。
优化
UploadService#upload()支持传入预先计算的哈希以避免重复计算。paper-plugin.yml的版本变量替换与build.gradle.kts的任务结构。PackItem系列结构,将hash上移到父类统一管理;toResourcePackInfo()的异常抛出与结构更清晰。- 资源包清理流程、若干函数命名与注释本地化;
Options字段命名与冗余接口移除。 BinaryCache#set()支持传入null即删除;整体代码结构与日志工具函数。- 与 CommandAPI 的对接与
PermPacks中部分函数顺序。
修复
FilePackItem在初始化后未触发上传的问题。- URI 序列化问题与 S3
endpoint缺失 schema 的问题。 - 部分字符串格式化中误用原始
toString()的问题。 cleanup()同步修改遗漏导致的逻辑问题。BinaryCache#get()潜在未处理异常;移除未使用的BinaryCache#remove()。- 移除未使用的
Logger#error()扩展方法。
文档
README.md调整表格与内容;补充项目概览与多语言说明。
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:4JJte3V9:NaWbz30K"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:4JJte3V9:NaWbz30K"
}

