Scoreboard-Library 2.6.0

This commit is contained in:
NotAlexNoyle committed 2026-04-27 15:41:38 -04:00
1 parent 52ebddcad5
commit d1de3a950e
2 files changed
+4 -11

No files matched your search

+1 -7
View File
@@ -34,7 +34,7 @@ version = "1.0" // Declare plugin version (will be in .jar).
val apiVersion = "1.19" // Declare minecraft server target version.
val scoreboardLibraryVersion = "2.5.0"
val scoreboardLibraryVersion = "2.6.0" // Declare vytskalt/scoreboard-library version.
/* ----------------------------- Resources ----------------------------- */
tasks.named<ProcessResources>("processResources") {
@@ -79,9 +79,6 @@ dependencies {
implementation(
"net.megavex:scoreboard-library-extra-kotlin:$scoreboardLibraryVersion"
) // Kotlin specific extensions.
runtimeOnly(
"net.megavex:scoreboard-library-packetevents:$scoreboardLibraryVersion"
) // PacketEvents version supports 1.8+
}
apply(from = "eclipse.gradle.kts") // Import eclipse classpath support script.
@@ -99,12 +96,9 @@ tasks.shadowJar {
isEnableRelocation = true
relocationPrefix = "${project.group}.shadow"
minimize {
// Keep the entire scoreboard library stack so ServiceLoader can find
// the PacketEvents adapter at runtime (PacketEvents-OG on 1.8+).
exclude(dependency("net.megavex:scoreboard-library-api:.*"))
exclude(dependency("net.megavex:scoreboard-library-extra-kotlin:.*"))
exclude(dependency("net.megavex:scoreboard-library-implementation:.*"))
exclude(dependency("net.megavex:scoreboard-library-packetevents:.*"))
}
}
+3 -4
View File
@@ -8,14 +8,13 @@ main: plugin.ScoreboardOG
depend:
- DiamondBank-OG
- Utilities-OG
- PacketEvents
- LuckPerms
softdepend:
- PlaceholderAPI
- ProtocolLib
- ViaVersion
- ViaBackwards
- ViaRewind
softdepend:
- PlaceholderAPI
- ProtocolLib
commands:
togglescoreboard:
description: Toggle the sidebar scoreboard on or off.