Attention, this action will give all the permissions to the player while they execute the command. Please be careful when using this action.
message
Sends a message to the player. You can use placeholders, color codes, and format codes. The MiniMessage format is enabled by default if your server supports it.
broadcast
Sends a message to all online players. You can use placeholders, color codes, and format codes. The MiniMessage format is enabled by default if your server supports it.
%sender% is the name of the player sending the broadcast
%receiver% is the name of the player who will receive the message.
You can set a list of requirements to send a message to certain players.
chat
Sends messages on behalf of the player. You can use placeholders, color codes, and format codes. MiniMessage format is enabled by default if your server supports it.
close
Closes the player's inventory.
inventory
Opens an inventory.
connect
Allows sending the player to another server, only works with BungeeCord and Velocity.
sound
Send a sound to a player, you must use XSound for sound.
broadcast sound
Send a sound to the online players, you must use XSound for sound.
Opens a book for the player. You can specify the title, author, and pages of the book.
actionbar
Allows you to send a message in the action bar of the player. You can use placeholders and color/format codes here. MiniMessage format is enabled by default if your server supports it.
- type: player command as op
commands:
- <command>
- type: message
messages:
- "my message"
- "my second messages"
mini-message: true # true by default
- type: broadcast
messages:
- "my name %receiver%"
- "my second message send by %sender%"
mini-message: true # true by default
requirements:
- type: permission
permission: "admin.use"
- type: sound
sound: <xsound>
pitch: <sound pitch> # 1.0f by default
volume: <sound volume> # 1.0f by default
- type: broadcast_sound
sound: <xsound>
pitch: <sound pitch> # 1.0f by default
volume: <sound volume> # 1.0f by default
- type: data
action: <SET/REMOVE/ADD/SUBTRACT>
key: <data key>
value: <data value>
seconds: <expire seconds> # 0 by default
math: <true/false>
- type: refresh
- type: refresh inventory
- type: back
- type: shopkeeper
name: <shopkeeper name>
- type: book
author: "Maxlego08" # Book author
title: "&cTest" # Book title
lines: # Book pages
1: # First page
- ' #34ebe8zMenu'
- ''
- ''
- '<hover:show_text:"#34eba8Open an url !"><click:open_url:"https://minecraft-inventory-builder.com/">#f0af24Open URL<reset>'
- type: actionbar
message: "my message"
minimessage: true # true by default
- type: withdraw
amount: <amount>
currency: <currency name>
economy: <economy name> # Only the zEssentials, CoinsEngine and EcoBits plugins need this
- type: deposit
amount: <amount>
currency: <currency name>
economy: <economy name> # Only the zEssentials, CoinsEngine and EcoBits plugins need this
- type: title
title: <title>
subtitle: <sub title>
start: <start in milliseconds>
duration: <duration in milliseconds>
end: <end in milliseconds>
- type: teleport
world: <world> # default world is "world"
x: <x>
y: <y>
z: <z>
yaw: <yaw>
pitch: <pitch>
- type: discord component
webhook: "https://discord.com/api/webhooks/<url>"
username: "GroupeZ" #Optional
avatar_url: "" #Optional
component: [
{
"type": 10,
"content": "Never trust a alien with a giant spaghetti."
},
{
"type": 14,
"divider": true,
"spacing": 2
},
{
"type": 10,
"content": "If life gives you invisible unicorn, make invisible unicorn soup."
},
{
"type": 17,
"accent_color": 14951974,
"spoiler": true,
"components": [
{
"type": 10,
"content": "Never trust a grandma with a giant spaghetti."
}
]
}
]
- type: permission set
permission: <permission>
value: <true/false>
- type: toast
toast-type: <TASK/GOAL/CHALLENGE>
message: <your message>
material: <material>
model-id: <material model id> # Default is 0 #Can be a float value or string for itemModel "<namespace>:<model name>"
glowing: <true/false>