Class StatusScreenEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.statusscreen.StatusScreenEvent
Direct Known Subclasses:
NationStatusScreenEvent, ResidentStatusScreenEvent, TownBlockStatusScreenEvent, TownStatusScreenEvent

public class StatusScreenEvent extends org.bukkit.event.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds the line to the status screen, with a unique key.
    void
    addLine(String key, String line)
    Adds the line to the status screen, with a unique key.
    void
    addLine(String key, net.kyori.adventure.text.Component line)
    Adds the line to the status screen, with the specified key
    Lines added via this event are added on new lines, in order to add components on the same line use StatusScreen.addComponentOf(String, Component).
    void
    addLine(net.kyori.adventure.text.Component line)
    Adds the line to the status screen, with a unique key.
    void
    addLines(Collection<net.kyori.adventure.text.Component> lines)
    Adds all lines to the status screen, with unique keys.
    void
    Adds all lines to the status screen, with unique keys.
    org.bukkit.command.CommandSender
     
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     
     

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait