feat: major update v1.1.0 - improved documentation, configuration and compatibility

- Add comprehensive documentation in docs/ folder
- Update README.md with modern design and badges
- Improve configuration with new options (GUI, limits, notifications)
- Add support for Minecraft 1.19.2-1.21.4 and Java 17+
- Create GPL-3.0 license
- Add modrinth/ folder with project description for publishing
- Add CONTRIBUTING.md for contributors
- Update plugin.yml with aliases and better permissions
- Improve build.gradle.kts with better compatibility and encoding
- Update .gitignore for cleaner repository
This commit is contained in:
loki5512344 2026-02-03 14:01:34 +01:00
parent da356e491c
commit 55df7d97b2
14 changed files with 1582 additions and 73 deletions

View file

@ -4,11 +4,11 @@ plugins {
}
group = "dev.loki"
version = "1.0.0"
version = "1.1.0"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
languageVersion.set(JavaLanguageVersion.of(17))
}
}
@ -18,7 +18,8 @@ repositories {
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
// Используем более старую версию Paper API для совместимости с 1.19.2
compileOnly("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("com.zaxxer:HikariCP:5.1.0")
@ -28,16 +29,18 @@ dependencies {
testImplementation("net.jqwik:jqwik:1.8.4")
testImplementation("org.yaml:snakeyaml:2.2")
testImplementation("org.xerial:sqlite-jdbc:3.45.1.0")
testCompileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
testCompileOnly("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks {
shadowJar {
archiveClassifier.set("")
archiveBaseName.set("Loreport")
relocate("okhttp3", "dev.loki.lorep.libs.okhttp3")
relocate("okio", "dev.loki.lorep.libs.okio")
// Don't relocate HikariCP and PostgreSQL to avoid driver loading issues
relocate("com.zaxxer.hikari", "dev.loki.lorep.libs.hikari")
// Don't relocate PostgreSQL to avoid driver loading issues
}
build {
@ -53,4 +56,14 @@ tasks {
expand("version" to version)
}
}
compileJava {
options.encoding = "UTF-8"
options.release.set(17)
}
compileTestJava {
options.encoding = "UTF-8"
options.release.set(17)
}
}