30 lines
472 B
Java
30 lines
472 B
Java
package xyz.inlineyt.stamper.tablist;
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
public class Tablist {
|
|
|
|
public static void updatePlayerDisplay(Player player , String Display) {
|
|
|
|
|
|
player.setPlayerListName(Display);
|
|
player.setDisplayName(Display);
|
|
|
|
|
|
|
|
}
|
|
public static void updatePlayerTabHeaderFooter(Player player ,String DisplayHeader , String DisplayFooter) {
|
|
|
|
|
|
player.setPlayerListHeaderFooter(DisplayHeader , DisplayFooter);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|