Remove legacy modules, add language & scoreboard

Large refactor removing many legacy subsystems (abilities, kit system, database repos, recraft, world manager, extensive config classes, lunar/luckperms integrations and various listeners/commands). Introduces a lightweight LanguageManager, AntiRunningManager, ScoreboardManager, ConnectListener and a SoupListener; simplifies the main SpeedHG plugin to initialize these components and register the connection listener. Build changes: update Gradle wrapper to 8.10, remove paperweight and several external dependencies, add fr.mrmicky:fastboard and simplify shadowJar/build task configuration. Adds default language resource (languages/en_US.yml) and updates plugin/config resources. Purpose: simplify and decouple the plugin, reduce dependency surface and prepare for a leaner, modular rewrite.
This commit is contained in:
TDSTOS
2026-03-25 00:55:20 +01:00
parent b4db8dbfeb
commit e411879b20
57 changed files with 1172 additions and 5165 deletions

View File

@@ -2,7 +2,6 @@ plugins {
id("java")
id("maven-publish")
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.papermc.paperweight.userdev") version "1.7.1"
kotlin("jvm") version libs.versions.kotlin
kotlin("kapt") version libs.versions.kotlin
}
@@ -18,36 +17,11 @@ repositories {
maven("https://libraries.minecraft.net/")
maven("https://repo.codemc.io/repository/maven-public/")
maven("https://repo.lunarclient.dev")
maven {
url = uri("https://maven.pkg.github.com/McScrims-Network/Main-CoreSystem")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
implementation("org.mongodb:mongodb-driver-kotlin-coroutine:4.11.1")
implementation("org.mongodb:bson-kotlinx:4.11.1")
implementation("net.kyori:adventure-api:4.14.0")
implementation("net.kyori:adventure-text-minimessage:4.14.0")
implementation("net.kyori:adventure-platform-bukkit:4.3.2")
compileOnly("net.luckperms:api:5.4")
compileOnly("com.lunarclient:apollo-api:1.2.0")
compileOnly("com.lunarclient:apollo-extra-adventure4:1.2.0")
compileOnly("org.popcraft:chunky-common:1.3.38")
implementation("club.mcscrims:core:1.4.3.2")
implementation("club.mcscrims:spigot:1.4.3.2")
implementation("fr.mrmicky:fastboard:2.1.3")
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.21.1-R0.1-SNAPSHOT")
}
tasks {
@@ -65,10 +39,6 @@ tasks {
archiveVersion.set(project.version.toString())
}
assemble {
dependsOn( reobfJar )
}
build {
dependsOn( shadowJar )
}