Last updated
Last updated
You can set actions to run on certain DeluxeTeleport events. See each feature's settings to learn how you can use them.
You can also set up conditions within actions so that they are executed only if a certain condition is met. See the documentation on conditions .
These values āāapply to all actions and some are required for it to work.
when
Esto indica cuĆ”ndo se ejecuta la acciĆ³n.
You can use multiple values āāin the same action, just separate them by ,
.
Example:
whom
This indicates who the actions are executed on (for tpa only).
Sends a command as if it were executed by the player.
Example:
Send a command from the console.
Example:
Sends a sound to the player.
Example:
Send a message to the player in chat.
Example:
Send a chat centered message to the player.
Example:
Send a message to all online players.
Example:
Sends a title to the player's screen.
Example:
Switches the player to game mode (gamemode:
SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR).
Example:
Grants a potion effect to the player.
Example:
Sends a message in the player's action bar.
Example:
type
The type of action to perform.
enabled
Yes, this action will be enabled (default true
)
when
When is this action performed?
whom
This indicates who the actions are executed on (for tpa only).
conditions
Conditions for executing the action. See the documentation [HERE].
none
Plays when the player is teleported, whether or not they have delay.
before_delay
It is executed when the delay starts.
during_delay
It runs every second during the delay.
after_delay
It is executed when the delay ends (when the player is teleported).
cancel_delay
It is executed when the teleport has been cancelled (usually by movement).
player
This is the player who sends the teleport request.
target_player
This is the player who receives the teleport request.
both
This indicates both players.
On this page you will learn how to create and configure actions that will be executed upon certain events, such as a player teleporting.