Appearance
Trigger Button Trigger
Starts when a player clicks a text button in chat.
Inputs: 0 · Outputs: Dynamic, one output per button action plus default
Settings
| Setting | Type | Required | Default | Description |
|---|---|---|---|---|
| Button Actions | Button Actions Editor | Yes | [] | Add one row for each button ID you use in messages, then choose what the click should do. |
How It Works
Create clickable buttons inside a Send Message field with:
text
%text.button(<text>)(<tooltip text>)[<button id>]%In Button Actions, use the same button ID and choose one of these behaviors:
- Trigger Flow: Continue the flow from that button's output handle.
- Run Command: Run a command when the player clicks.
- Suggest Command: Put a command in the player's chat box.
- Open URL: Open a website prompt for the player.
- Copy to Clipboard: Copy text for the player.
Inside a button-triggered branch, %button.id% returns the clicked button ID.
Example
Ask a player to confirm an action:
- Send Message:
%text.button([Accept])(&aClick to accept)[accept]% - Button Trigger: add a button action with ID
accept - Set the click action to Trigger Flow
- Connect the
acceptoutput to the nodes that should run after the click
