Class WorldEventPanelPage

Direct Known Subclasses:
WorldEventActivePage, WorldEventAssetsPage, WorldEventConfigPage, WorldEventGlobalPage, WorldEventInspectorPage, WorldEventStoragePage

public abstract class WorldEventPanelPage extends InteractiveCustomUIPage<WorldEventPanelPage.PageData>
Shared shell for the world-event admin panel. Subclasses fill the content pane for one tab.

The panel is read-mostly. It reads the world-event state of the world the player is in, and it runs the same operations as the /worldevent commands. All page callbacks run on the world thread of that world, so direct ECS access is safe.

Text values. A Text or TooltipText property is a plain string on the client. Only two forms decode into it:

Message.raw(String) and a Message used as a parameter do not decode. The first disconnects the client, the second drops the parameter. Pass a String for raw data, and give each variant of a sentence its own message id.