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

UltimateUI guide

Action tool

This guide shows how the Action tool works.

The Action Tool allows you to add interactions to elements.

To add a new interaction, select the Action Tool and then choose an element.

Once you do that, you will notice that the Properties category on the right sidebar changes into Actions. This is where you can add actions.

After opening the Actions category, click the New button and then choose the interaction you want from the dropdown menu. At the time of writing this tutorial, the following interactions are available:

ActionResult
CommandA command executed by the player
ConsoleA command executed by the console
MessageA message sent to the player
RedirectRedirects to another UI page
TeleportTeleports the player to specific coordinates
SoundPlays a sound for player
DelayA delay between the 1st and 2nd operation
CloseCloses the current UI
AnimationPlays an animation on the element when clicked

After selecting the interaction you want, you can set its value by double-clicking it and typing the new value in chat.


Examples of Actions#

Here is a list of example actions you can add to an element on a page.


Teleport#

This action will teleport the player to another world at specific coordinates

ini
world_nether 0 64 0

Sound#

This action will play a sound for the player with a specific volume and pitch

ini
entity.player.level_up 1,2

Parameters are SOUND VOLUME,PITCH


Message#

This action will send a message to the player with gradient text that can be clicked to open a link

ini
<#33ff3d>Welcome %player%!</#5ea9ff> <tooltip:&aClick me!><link:https://xqedii.dev>&eClick here to open!</reset>