CombatLevelDisplay

public class CombatLevelDisplay implements Listener

Manages combat level text displays above players using packet-based FakeText.

The display shows the player's combat level calculated from their skills. Uses client-positioned passengers when available, with following text for occupied players.

Constructors

Link copied to clipboard
public void CombatLevelDisplay()

Functions

Link copied to clipboard
public static void createDisplay(Player player)
Creates a combat level display for a player.
Link copied to clipboard
public static void initialize()
Initializes displays for all online players.
Link copied to clipboard
public void onPlayerBedEnter(PlayerBedEnterEvent event)
Link copied to clipboard
public void onPlayerChangedWorld(PlayerChangedWorldEvent event)
Link copied to clipboard
public void onPlayerQuit(PlayerQuitEvent event)
Link copied to clipboard
public void onPlayerRespawn(PlayerRespawnEvent event)
Link copied to clipboard
public static void removeDisplay(Player player)
Removes the combat level display from a player.
Link copied to clipboard
public static void setCombatState(PlayerCombatState state)
Link copied to clipboard
public static void shutdown()
Cleans up all displays.
Link copied to clipboard
public static void updateDisplay(UUID playerUUID)
Updates the display for a player by UUID.
public static void updateDisplay(Player player)
Updates the combat level display text for a player.