Usage
Action usage documentation.
Last updated
Action usage documentation.
Last updated
action bar: message;
(example: action bar: "&aHello, Steve!";
)
Sends an action bar message to the player.
message
yes
string
message to show (colors available)
chat: message;
(example: chat: I did not write this!;
)
Chats as the player, as if the player typed and sent the message.
message
yes
string
message to chat
console command: command;
(example: console command: experience add @a 5 levels;
)
Runs command from the console.
command
yes
string
command to run, without the leading /
player command: command;
(example: player command: lobby;
)
Runs command as the player.
command
yes
string
command to run, without the leading /
message: message;
(example: message: "&aHello, {name}!";
)
Sends the player a message.
message
yes
string
message to send (colors available, <br>
for a line break, <center>
to center a line)
title: title, subtitle, fade-in, stay, fade-out;
(example: title: Title, Subtitle, 0;
)
Sends the player a title.
title
yes
string
title to show (colors available)
subtitle
yes
string
subtitle to show (colors available)
fade-in
no (default = 20)
integer 0+
fade-in time in ticks
stay
no (default = 60)
integer 0+
stay time in ticks
fade-out
no (default = 20)
integer 0+
fade-out time in ticks
sound: name, volume, speed;
(example: sound: ENTITY_PLAYER_LEVELUP;
)
Plays the player a sound.
name
yes
sound (enum)
volume
no (default = 1)
double 0+
volume
speed
no (default = 1)
double 0.5-2
speed, 0.5 is 1/2 speed, 1 is normal and 2 is 2x speed
note: instrument, tone;
(example: note: PIANO, random;
)
Plays the player a note.
instrument
yes
instrument (enum)
tone
yes
integer 0-24
particle: name, count, offset-x, offset-y, offset-z;
(example: particle: EXPLOSION_LARGE;
)
Spawns a particle at the player's location (visible only to the player).
name
yes
particle (enum)
count
no (default = 1)
integer 1-32
amount of particles to spawn
offset-x
no (default = 0)
double 0+
random offset from player's X location, unavailable on 1.8
offset-y
no (default = 0)
double 0+
random offset from player's Y location, unavailable on 1.8
offset-z
no (default = 0)
double 0+
random offset from player's Z location, unavailable on 1.8
firework: power, effect-type, effect-color, effect-fade-color, effect-flicker, effect-trail;
(example: firework: 3, STAR, random, random, yes, yes;
)
Spawns a firework at the player's location, visible to everyone online.
power
yes
integer 0-128
power of the firework (flight time)
effect-type
no (default = BALL)
firework effect type (enum)
effect-color
no (default = WHITE)
color
color of the effect
effect-fade-color
no (default = WHITE)
color
fade color of the effect
effect-flicker
no (default = false)
boolean
if the effect should flicker
effect-trail
no (default = false)
boolean
if the firework should leave a trail behind
tone number, see