9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

refactor: drop protocollib, swap remaining packets to nms

This commit is contained in:
Boy
2025-05-01 11:15:26 +02:00
committed by Boy0000
parent 0f0baaf474
commit eaa1228708
11 changed files with 244 additions and 187 deletions

View File

@@ -33,7 +33,7 @@ allprojects {
maven("https://repo.nexomc.com/snapshots/")
maven("https://repo.nexomc.com/releases/")
// Geary & Backup ProtocolLib repo
// Geary repo
maven("https://repo.mineinabyss.com/releases/")
maven("https://repo.mineinabyss.com/snapshots/")
@@ -55,9 +55,6 @@ allprojects {
// PlaceholderAPI
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
// ProtocolLib
maven("https://repo.dmulloy2.net/repository/public/")
// Oraxen
maven("https://repo.oraxen.com/releases")
@@ -83,7 +80,7 @@ allprojects {
compileOnly("com.mojang:authlib:3.13.56")
compileOnly("org.jetbrains:annotations:26.0.1")
compileOnly("io.th0rgal:oraxen:1.182.0")
compileOnly("com.nexomc:nexo:1.0.0")
compileOnly("com.nexomc:nexo:1.4.0")
compileOnly("com.github.LoneDev6:API-ItemsAdder:3.6.3-beta-14")
compileOnly("com.mineinabyss:geary-papermc:0.31.0-dev.4")
compileOnly("it.unimi.dsi:fastutil:8.5.15")
@@ -98,7 +95,6 @@ allprojects {
}
compileOnly("com.github.Xiao-MoMi:Custom-Fishing:2.3.3")
compileOnly("com.ticxo.modelengine:ModelEngine:R4.0.2")
compileOnly("com.comphenix.protocol:ProtocolLib:5.3.0")
compileOnly("org.joml:joml:1.10.8")
compileOnly("com.google.guava:guava:33.4.0-jre") // Sometimes just not included in compile time???
compileOnly("com.github.Gecolay.GSit:core:2.0.0")
@@ -151,7 +147,6 @@ tasks {
downloadPlugins {
hangar("PlaceholderAPI", "2.11.6")
url("https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/build/libs/ProtocolLib.jar")
url("https://download.luckperms.net/1567/bukkit/loader/LuckPerms-Bukkit-5.4.150.jar")
}
}
@@ -203,7 +198,6 @@ bukkit {
main = "me.lojosho.hibiscuscommons.HibiscusCommonsPlugin"
apiVersion = "1.20"
authors = listOf("LoJoSho")
depend = listOf("ProtocolLib")
softDepend = listOf(
"ModelEngine",
"Oraxen",
@@ -250,12 +244,6 @@ hangarPublish {
val versions: List<String> = listOf("1.18.2-1.20.4")
platformVersions.set(versions)
dependencies {
hangar("ProtocolLib") {
required.set(true)
}
}
}
}
}