Skip to content

Releases: vytskalt/scoreboard-library

2.7.4

09 Apr 17:59

Choose a tag to compare

  • Mark 26.1.2 as supported

See 2.7.1 release notes for recent breaking change!

2.7.3

08 Apr 10:06

Choose a tag to compare

  • Fixed support for Paper 26.1.1 (#132)

See 2.7.1 release notes for recent breaking change!

2.7.2

04 Apr 21:57

Choose a tag to compare

  • Added support for Spigot 26.1.1

See 2.7.1 release notes for recent breaking change!

2.7.1

25 Mar 18:25

Choose a tag to compare

  • Added support for Paper/Spigot 26.1

BREAKING CHANGE

The following obsolete modules were deleted:

  • scoreboard-library-modern
  • scoreboard-library-legacy
  • scoreboard-library-packetevents
  • scoreboard-library-v1_8_R3
  • scoreboard-library-commons
  • scoreboard-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

27 Feb 18:29

Choose a tag to compare

  • 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 ViaVersion to softdepend or depend of your plugin.yml. This feature will be expanded to cover other cases in the future.

  • Added TeamDisplay#addEntries and TeamDisplay#removeEntries APIs for bulk entry list changes (by @huanmeng-qwq, #128)

  • Added TeamManager#removePlayerFuture and ObjectiveManager#removePlayerFuture APIs 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 if gson was 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

14 Feb 10:44

Choose a tag to compare

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

06 Feb 21:10

Choose a tag to compare

  • The modern adapter now supports both Spigot and Mojang mapped servers at the same time. The mojmap variant 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

10 Dec 16:41
f8fb6c2

Choose a tag to compare

Marked Minecraft 1.21.11 as supported

2.4.3

09 Oct 20:56
9e37c3e

Choose a tag to compare

  • 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.

2.4.2

30 Sep 16:29
6fe6200

Choose a tag to compare

Added support for Minecraft 1.21.9