Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.54 KB

File metadata and controls

60 lines (47 loc) · 1.54 KB

Installation

Latest version: 2.7.4

Gradle

repositories {
  mavenCentral()
}

dependencies {
  implementation("net.megavex:scoreboard-library-api:2.7.4")
  runtimeOnly("net.megavex:scoreboard-library-implementation:2.7.4")

  // If targeting a server version without native Adventure support, add it as well:
  implementation("net.kyori:adventure-platform-bukkit:4.4.1")
}

You will need to shade these dependencies and relocate them with something like Shadow.

Maven

<dependencies>
  <dependency>
    <groupId>net.megavex</groupId>
    <artifactId>scoreboard-library-api</artifactId>
    <version>2.7.4</version>
  </dependency>
  <dependency>
    <groupId>net.megavex</groupId>
    <artifactId>scoreboard-library-implementation</artifactId>
    <version>2.7.4</version>
    <scope>runtime</scope>
  </dependency>

  <!-- If targeting a server version without native Adventure support, add it as well: -->
  <dependency>
    <groupId>net.kyori</groupId>
    <artifactId>adventure-platform-bukkit</artifactId>
    <version>4.4.1</version>
  </dependency>
</dependencies>

You will need to shade these dependencies and relocate them with maven-shade-plugin.

ViaVersion awareness

For ViaVersion awareness to be enabled, make sure to add ViaVersion to softdepend or depend of your plugin.yml:

softdepend: ["ViaVersion"]
# or
depend: ["ViaVersion"]