Actions
Actions that can be performed after a requirement
With a requirement, you can define actions for both success and failure. Here are the actions that can be performed.
Example: You will need to create an action list like this:
You can add a delay, in ticks, for each item in the list below. Do it like this:
player command
player command
Executes commands as the player. You can also send the command in the player's chat.
random player command
random player command
Executes random commands as the player. You can also send the command in the player's chat.
This feature is only available with zMenu+ !
console command
console command
Executes commands as the console.
random console command
random console command
Execute random commands from the list.
This feature is only available with zMenu+ !
message
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
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.
chat
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
close
Closes the player's inventory.
inventory
inventory
Opens an inventory.
connect
connect
Allows sending the player to another server, only works with BungeeCord and Velocity.
sound
sound
Send a sound to a player, you must use XSound for sound.
broadcast sound
broadcast sound
Send a sound to the online players, you must use XSound for sound.
data
data
Update player data.
refresh
refresh
Refresh current button. Works only in click requirement.
If you update the status of a player with orders, to be sure that the inventory update is done correctly, you must put a delay of 1 tick.
back
back
Refresh current button. Works only in click requirement.
back
back
Return to previous inventory.
shopkeeper
shopkeeper
Open a Shopkeeper trading inventory
book
book
Opens a book for the player. You can specify the title, author, and pages of the book.
actionbar
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.
withdraw
withdraw
Allows you to withdraw money from the playerโs account. Works with the BeastTokens, Vault, PlayerPoints, ElementalTokens, ElementalGems, Level, Experience, zEssentials, EcoBits, CoinsEngine and VotingPlugin. CurrenciesAPI : https://github.com/Traqueur-dev/CurrenciesAPI
deposit
deposit
Allows you to deposit money from the playerโs account. Works with the BeastTokens, Vault, PlayerPoints, ElementalTokens, ElementalGems, Level, Experience, zEssentials, EcoBits, CoinsEngine and VotingPlugin. CurrenciesAPI : https://github.com/Traqueur-dev/CurrenciesAPI
title
title
Send a title. You can use placeholders and color/format codes here. MiniMessage format is enabled by default if your server supports it.
teleport
teleport
Teleport a player
Last updated