tylerhasman / HikariBoard

The fastest, most lightweight scoreboard api for Spigot 1.10.2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# HikariBoard The fastest, most lightweight scoreboard api for Spigot 1.10.2

Why the name?

Hikari is Japanese for Light! Light is fast and so is HikariBoard.

Examples

@EventHandler
public void onScoreboardUpdate(ScoreboardEvent event){
  Player player = event.getPlayer();
  
  //Set the scoreboards title (objective display name) (optional but recommended)
  event.setScoreboardName("Test Scoreboard");
  
  //Set a line to always be at the top of the scoreboard (optional)
  event.setHeader("---------");
  
  //Set a line to always be at the bottom of the scoreboard (optional)
  event.setFooter("---------");
  
  //Write some lines to the scoreboard
  //Note: No 'id' is necessary, unlike many scoreboad plugins HikariBoard operates a little differently
  event.writeLine("Your Name");
  event.writeLine(player.getName());
  
}

About

The fastest, most lightweight scoreboard api for Spigot 1.10.2


Languages

Language:Java 100.0%