feat: add comprehensive player statistics logging

This commit is contained in:
Michael Burgess
2026-08-17 12:13:40 -04:00
commit 180a55a72d
18 changed files with 1918 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
plugins {
java
}
group = "net.therosegarden"
version = "1.0.0"
val pluginVersion = version.toString()
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:26.2.build.+")
implementation("org.mariadb.jdbc:mariadb-java-client:3.5.3")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(25))
}
tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
options.compilerArgs.addAll(listOf("-Xlint:deprecation", "-Xlint:unchecked"))
}
tasks.processResources {
inputs.property("pluginVersion", pluginVersion)
filesMatching("plugin.yml") {
expand("version" to pluginVersion)
}
}
tasks.jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
}