Releases: vytskalt/scoreboard-library
2.7.4
2.7.3
2.7.2
- Added support for Spigot 26.1.1
See 2.7.1 release notes for recent breaking change!
2.7.1
- Added support for Paper/Spigot 26.1
BREAKING CHANGE
The following obsolete modules were deleted:
scoreboard-library-modernscoreboard-library-legacyscoreboard-library-packeteventsscoreboard-library-v1_8_R3scoreboard-library-commonsscoreboard-library-packet-adapter-base
Delete them from your build.gradle/pom.xml.
As of 2.6.0, you only need scoreboard-library-api and scoreboard-library-implementation. Packetevents can also be removed if you were only using it for 1.13-1.16.5 support. Read more
Also, shadowjar minimize() exclusions are no longer needed and can be removed if you had them
2.7.0
-
ViaVersion awareness: 1.12.2- clients connected to 1.13+ servers are now automatically detected using the ViaVersion API and optimal packets are sent to increase sidebar lengths for them from 16 characters to 42. For this feature to be enabled, make sure to add
ViaVersiontosoftdependordependof yourplugin.yml. This feature will be expanded to cover other cases in the future. -
Added
TeamDisplay#addEntriesandTeamDisplay#removeEntriesAPIs for bulk entry list changes (by @huanmeng-qwq, #128) -
Added
TeamManager#removePlayerFutureandObjectiveManager#removePlayerFutureAPIs that return Futures so you can know when it's safe to add the player to, e.g. a Bukkit scoreboard that uses same team or objective names -
Added support for using relocated
gson. Previously ifgsonwas relocated to a custom package in your plugin it would crash scoreboard-library during initialization -
Fixed team display name length being capped to 16 characters instead of the actual 32 limit for 1.12.2- servers
-
Fixed scoreboard teams in no-op implementation not being registered properly
Note: if upgrading from 2.5.0 or below, make sure to read 2.6.0 release notes as well
2.6.0
The concept of packet adapters is gone. All server versions from 1.7.10 to 1.21.11 are now natively supported (both Mojang and Spigot mapped). Packetevents usage has been removed.
You can simplify your dependencies now:
dependencies {
val scoreboardLibraryVersion = "2.6.0"
implementation("net.megavex:scoreboard-library-api:$scoreboardLibraryVersion")
runtimeOnly("net.megavex:scoreboard-library-implementation:$scoreboardLibraryVersion")
- runtimeOnly("net.megavex:scoreboard-library-modern:$scoreboardLibraryVersion")
- runtimeOnly("net.megavex:scoreboard-library-legacy:$scoreboardLibraryVersion")
- runtimeOnly("net.megavex:scoreboard-library-packetevents:$scoreboardLibraryVersion")
- implementation("com.github.retrooper:packetevents-spigot:2.7.0")
}If you use packetevents somewhere else in your plugin then obviously keep it. But it will no longer be used by this library since it doesn't need to anymore.
2.5.0
- The
modernadapter now supports both Spigot and Mojang mapped servers at the same time. Themojmapvariant is now redundant, but still kept for compatibility - Fixed duplicate objective packet being sent in a specific case causing client disconnects
- Fixed rare NPE in sidebar related to score formats
2.4.4
2.4.3
- Marked Minecraft 1.21.10 as supported
As a reminder, when minor Minecraft releases come out you can always try to force enable the modern adapter which will work whenever there are no changes in the scoreboard code by setting the net.megavex.scoreboardlibrary.forceModern property:
System.setProperty("net.megavex.scoreboardlibrary.forceModern", "true")
This avoids the need to wait for a new release of scoreboard-library.