ShieldCommunity / SternalBoard

Lightweight & animated scoreboard, packet-based designed for easy usage
https://www.spigotmc.org/resources/sternalboard-lightweight-animated-scoreboard.89245/
MIT License
64 stars 20 forks source link
api async bukkit minecraft paper scoreboard sideboard spigot

SternalBoard

image

Lightweight & Async packet-based scoreboard using FastBoard API, implementing animations, tab and supporting all versions.

Official Downloads

Maintainers

Features

How to integrate

If you want to integrate SternalBoard to your proyect, you can use Maven and Gradle: Before nothing, remember that you need jitpack for it (https://jitpack.io/#ShieldCommunity/SternalBoard)

Maven

        <dependency>
            <groupId>com.github.ShieldCommunity</groupId>
            <artifactId>SternalBoard</artifactId>
            <version>2.2.9</version>
            <scope>compile</scope>
        </dependency>

Gradle

plugins {
    id 'com.github.johnrengelman.shadow' version '7.1.2'
}

repositories {
    mavenCentral()
}

dependencies {
    implementation 'com.github:shieldcommunity:2.2.9'
}

shadowJar {
    relocate 'com.shieldcommunity.sternalboard', 'you.yourpackage.like'
}

Gradle DSL

plugins {
    id("com.github.johnrengelman.shadow") version("7.1.2")
}

repositories {
    mavenCentral()
}

dependencies {
    implementation("com.github:shieldcommunity:2.2.9")
}

shadowJar {
    relocate("com.shieldcommunity.sternalboard", "you.yourpackage.like")
}

Manually

If you just don't want to use a dependency-manager, you can copy our api classes to your proyect.

How to hook into it

With SternalBoard, it's really easy to set your first scoreboard!

Either you can use our method of #setBoard, or manually.

public class ExampleBoard {

    public void setYourScoreboard(Player player){
        SternalBoardHandler board = new SternalBoardHandler(player);

        board.updateTitle(ChatColor.GREEN+
                "Hypixel.net" //You can make it configurable trough strings tho
        );

        board.updateLines("Hello", //You can do lines as your version allows!
                "Bye",
                "Hello again :)"
        );
    }
}

Servers using modern SternalBoard

ResourceHolders statics