Skip to content

jdkeke142/SternalBoard-Folia

 
 

Repository files navigation

SternalBoard

image

Lightweight & Async scoreboard based on FastBoard, implementing animations, packet based & supporting all versions.

Official Downloads

Maintainers

Features

  • Fully bedrock support - Other plugins have's strange view problems.
  • Animated scoreboard - With all tasks running asynchronous
  • Per world scoreboard - Optimal for multi-games
  • Gradient scoreboard support - 1.16 up
  • Multi-version scoreboard - Supports 1.7 to lastest
  • Mini-games support, such as "koths, skywars, bedwars"
  • Simple to use, for people who are relatively new to the industry
  • Ready to run on large servers, with no animation limits

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.0.1</version>
            <scope>compile</scope>
        </dependency>

Gradle

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

repositories {
    mavenCentral()
}

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

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.0.2")
}

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

About

A fork of SternalBoard (packet based scoreboard) that works on Folia

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.4%
  • Kotlin 1.6%