Resource icon
  1. Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Hip9l7j.png

    Did you ever have troubles while installing multiple scoreboard plugins to have different features such as health-bar, colored tags, scoreboards? KustomBoard has built in multiple features so you only need 1 plugin to have maximum compatibility.


    m2FZQxl.png
    • Great Performance without flickering.
    • Scoreboard
    • HealthBar
    • Countdown display system (Only visible when needed)
    • Faction Colored Tags
    • PlaceholderAPI Support
    • Custom support for other plugins (explained below)
    • Strong developer API.
    • 32 Char limit.
    yMg0JHG.png

    Code (Text):
    /Kustomboard toggle >> KustomBoard.toggle
    /kustomboard reload >> KustomBoard.reload
    /kustomboard version >> KustomBoard.version

    Aliases: Scoreboard, sb, kb

    XrbElmr.png
    • PlaceholderAPI
    Highly recommended to have a lot of placeholders available.
    • KoTH (by subside)
    Placeholders of this plugin will only be shown in the scoreboard if the koth is running.
    • %kustom_kothname%
    • %kustom_kothcapper%
    • %kustom_kothlocation%
    • %kustom_kothtime%
    • Factions (Normal or UUID)
    KustomBoard has the colored names for factions. This means that players will see the name with diferent colores depending of their relation. Example if two players are enemy their names will be red for them.
    Pictures:
    • GoldenAppleControl
    Placeholders of this plugin will only be shown in the scoreboard if they have data to show. If you create more items in the config .yml of the GoldenAppleControl plugin, they will be created in my plugin too.
    • %kustom_enchantedgapple%
    • %kustom_gapple%
    • HealthBar
    You can show the health of the player under their names, you can configure the symbol and the color through the config.

    Do you have a plugin and need support for it? MD me and lets see if I can give support to it.


    CjFjvzB.png

    You have two ways to create placeholders:
    • With the update event:
    The event "ScoreboardUpdateEvent" is fired all the time that the scoreboard is being updated.

    With the methods of the event you can replace your your placeholders. You'll have to check yourself if the text contains your placeholders and if so replace them.

    Example:
    Code (Text):

    @EventHandler
    public void onSbTextUpdateEvent(ScoreboardUpdateEvent event) {
    if ((event.getText() != null) && ((event.getText().contains("%kustom_player_rank%")) || (event.getText().contains("%kustom_player_status%")))) {

    String rank;
    if (event.getPlayer().getName().equalsIgnoreCase("ByteMagic")){
    rank = "OWNER";
    }else{
    rank = "MEMBER";
    }


    String text = event.getText();
    if (text.contains("%kustom_player_rank%")) {
    text = text.replace("%kustom_player_rank%", rank);
    }
    if (text.contains("%kustom_player_status%")) {
    text = text.replace("%kustom_player_status%", event.getPlayer().isDead() ? "DEAD" : "ALIVE");
    }

    event.setText(text);
    }
    }

    • With classes that extend "PlaceHolderReplacer":
    When you extend this class, you can create custom placeholders that will be applied automatically. You only have to code your stuff in the method
    Code (Text):
    public String apply(String target, Player player) {}

    The placeholders will always have the format: %kustom_{yourplaceholdername}%

    Example:
    Code (Text):
    public class TestPlaceholder extends PlaceHolderReplacer{

    public TestPlaceholder(){
    super("playername");
    }

    @Override
    public String apply(String target, Player player) {
    return ChatColor.RED + player.getName();
    }
    }
    the placeholder created here will be:
    Code (Text):
    %kustom_playername%
    Then in your onEnable method you create the instance like this:
    Code (Text):
    @Override
    public void onEnable() {
    new TestPlaceholder();
    }
    In any case, if you return null the line wont be added to the scoreboard, you can use this if you only want to show things for a limited time. You can get information of the User with the class
    Code (Text):
    KustomBoardAPI
    If you don't have the plugin bought, don't worry, you still can use the api with this jar that contains shared classes.
    https://drive.google.com/open?id=1IygCfD7SFt6Q-mAfem0IXusPXM1XmSDp
Author
kpooli
Downloads
185
Views
1,019
Extention type
jar
File size
140.7 KB
Hash
db20d725cc67d5b5615fa661843c8210
First release
Last update
Rating
0.00 star(s) 0 ratings

Share this resource

Top