Actions
Last updated
Was this helpful?
Last updated
Was this helpful?
Starting with v2.0.0 the format for actions was changed to the following {
} [
] args
.
A set of key=value
options separated by space. Read more about properties on their own page. 👇
Each action has its own unique identifier. The id is also case-insensitive, meaning that [CONSOLE]
is the same as [console]
.
Commands
Economy
Message
Other
Crates
<command>: String, the command to execute
<command>: String, the command to execute (the slash is not required, unless the command has two or more)
<amount>(L): Integer, amount of exp to add. By appending an L
after, levels of exp will be given instead of points
A format similar to EssentialsX's is used.
Required
amount: Integer, the amount of the item
Optional
name: String, the name of the item, use _
for space
lore: String, the lore of the item, use _
for space and |
for a new line
unbreakable: make the item unbreakable, this argument doesn't require a value
model: Integer, the custom model data of this item (1.14.4+)
nbt: String, a JSON string representing item's NBT, some escaping should be done, mostly for quotes. This argument must be the last one since it takes everything that's after nbt:
as value
For enchantments simply use Enchantment:level
For name
and lore
, if you want to use _
and |
you will have to escape them by adding a \
before.
Required
name: String, the name of a voucher
Optional
amount: Integer, the amount of vouchers to give (default: 1)
message: String, the message that will be displayed
message: String, the message that will be sent
message: String, the message that will be sent.
key: String, the key of the value, must not contain spaces
value: Anything, the value
Required:
duration: Ticks, the duration of the effect
Optional:
amplifier: Integer, the amplifier of the effect (default: 1)
sound: NamespacedKey, the key of the sound
An economy plugin is required to use this action.
amount: Double, the amount of money to give
A permissions plugin is required to use this action.
Required:
action: String, the name of the action to perform, ADD
or REMOVE
permission: String, the permission node
Optional:
world: String, the name of the world where the permission will be added / removed (default: player's world)
material(:damage): String, name of a . To specify its damage, add :damage
after (INK_SACK:4
for lapiz lazuli on < 1.13)
color: , the color of the item, used for leather armor
flags: List, a comma separated list of names
args: String, similar to the
color: String, the name of a (default: )
flags: List, comma separated list of names (default: empty)
overlay: String, the name of an (default: )
progress: Float, the progress of the bar (default: )
broadcast: see (default: none)
effect: String, the name of a
color: , the color of the particles (default: none)
broadcast: see (default: none)
source: String, the name of a (default: )