UltimateUI guide
Opening UIs
Open Cursor UIs or HUD overlays for players.
Control the player's visual experience by launching either full-screen interactive menus or non-intrusive overlays, supporting both single and bulk player operations.
| Method | Returns | Description |
|---|---|---|
openGui(Player, String) | boolean | Opens a full-screen menu with a cursor. |
openGui(Player, String, boolean autoClose) | boolean | Opens a menu that closes after its animation ends. |
openGuiHud(Player, String) | boolean | Opens a HUD overlay (player can still move). |
openGuiHud(Player, String, boolean autoClose) | boolean | Opens a HUD that closes after its animation ends. |
openGui(Player, String, boolean hud, boolean auto) | boolean | Generic method to specify both HUD and AutoClose flags. |
openGui(Iterable, String, ...) | int | Bulk variants of the above. Returns the count of successful opens. |