Skip to main content

Action List

Reference of all 11 typed actions supported in action: and actions: blocks.


Action Summary Table

Action Type (type)ParametersDescription
commandcommand, executorExecutes a command as player or console.
player-commandcommandExecutes a command as the clicking player.
console-commandcommandExecutes a command with elevated server console privileges.
open-menumenuTransitions to the specified menu ID (waits for render).
close-menuNoneSafely closes the original UI session.
messagemessageSends a formatted chat message to the player.
soundsound, volume, pitchPlays a sound effect to the player.
titletitle, subtitle, fade-in, stay, fade-outShows an on-screen title banner.
teleportworld, x, y, z, yaw, pitch, safe, reset-velocity, no-fall-ticksTeleports player to world and coordinates.
delaydurationAsynchronously delays subsequent action execution without thread blocking.
potion-effecteffect, duration, amplifier, ambient, particlesApplies a status effect or buff to the player.
inputprompt, input-type, min, max, timeout-seconds, command, actionsPrompts player for chat input before proceeding.

Action Examples

command

type: command
command: "spawn"
executor: player # player or console

player-command

type: player-command
command: "warp survival"

console-command

type: console-command
command: "eco give {player} 1000"

open-menu

type: open-menu
menu: "shop"

close-menu

type: close-menu

message

type: message
message: "&aItem purchased successfully!"

sound

type: sound
sound: "ENTITY_PLAYER_LEVELUP"
volume: 1.0
pitch: 1.2

title

type: title
title: "&6&lQUEST COMPLETED"
subtitle: "&aReward granted"
fade-in: 10
stay: 70
fade-out: 20

teleport

type: teleport
world: "world"
x: 100.5
y: 64.0
z: -200.5
yaw: 0.0
pitch: 0.0
safe: true
reset-velocity: true
no-fall-ticks: 40

delay

type: delay
duration: 2s # 500ms, 2s, 1m

potion-effect

type: potion-effect
effect: "SPEED"
duration: 30s
amplifier: 1
ambient: true
particles: true

input

type: input
prompt: "&eEnter withdrawal amount:"
input-type: integer
min: 1
max: 50000
timeout-seconds: 30
command: "bank withdraw {player} {input}"