UltimateUIDocs
Archived upstream docs · Features depend on the installed plugin version; not all features have been verified.

UltimateUI guide

Updating Elements

Modify UI properties in real-time while a player has an active session.

These methods allow you to dynamically update UI components for players currently viewing a menu or HUD. Changes are pushed to the client and rendered instantly without needing to re-open the interface.

MethodReturnsDescription
setElementText(Player, String id, String text)booleanUpdates the text content of a specific element.
setElementColor(Player, String id, String color)booleanChanges the element's color (supports Hex strings).
setElementPosition(Player, String id, double x, double y)booleanMoves the element to the specified coordinates.
setElementScale(Player, String id, double w, double h)booleanResizes the element's width and height.
setElementItem(Player, String id, String itemToken)booleanChanges the icon/item using a token string.
setElementValue(Player, String id, String path, Object val)booleanSets a raw property value via a specific path.