-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
private void createScoreBoard(Player p, List<String> lines, String displayName) {
Scoreboard scoreboard = ScoreboardLib.createScoreboard(p).setHandler(new ScoreboardHandler() {
@Override
public String getTitle(Player player) {
return displayName;
}
@Override
public List<Entry> getEntries(Player player) {
EntryBuilder builder = new EntryBuilder();
for(String l: lines) {
if(l == null || l.isEmpty()) builder.blank();
else builder.next(Utils.setDisplayString(p, l));
}
return builder.build();
}
}).setUpdateInterval(5);
scoreboard.activate();
}This is my code... in Utils i replace my placeholders & placeholders of PlaceHolderAPI...
I shade the library into my plugin
now i see my name in tab, bruh
what happend?
images:
https://cdn.discordapp.com/attachments/1118607519057715250/1147370694087290910/image.png
https://cdn.discordapp.com/attachments/1118607519057715250/1147370694334750720/image.png
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels