Last updated
Last updated
You can set conditions to check certain DeluxeTeleport events/actions. See each feature's settings to learn how you can use them.
You can perform actions if the condition inside success_actions
and deny_actions
is met or not.
You can use minimum_requirements
to only meet a certain number of conditions and not all of them. If you don't want this, just delete this option.
The optional
option must be true
for this to work. If optional
is false
then that condition will have to be mandatory and will not count towards minimum_requirements
.
Checks if the player has the specified permission.
To invert the requirement (Check if the player doesn't have the permission) you can simply add the exclamation mark before the type name (like this type: "!has permission"
).
To invert the requirement (Check if the player doesn't have the amount of money) you can simply add the exclamation mark before the type name (like this type: "!has money"
).
To use a placeholder as a value for the amount, replace the amount:
field with placeholder:
.
Checks if the player has the exp level or points.
If the level
option does not exist, it will check for exp points by default
To invert the requirement (Check if the input doesn't match the output) you can simply add the exclamation mark before the type name (like this type: "!has exp"
).
Checks if the player is within distance
of location
.
To invert the requirement (Check if the input doesn't match the output) you can simply add the exclamation mark before the type name (like this type: "!is near"
).
Checks if input:
matches output:
(Case sensitive).
To invert the requirement (Check if the input doesn't match the output) you can simply add the exclamation mark before the type name (like this type: "!string equals"
).
Example:
Checks if input:
matches output:
(Case insensitive).
To invert the requirement (Check if the input doesn't match the output) you can simply add the exclamation mark before the type name (like this type: "!string equals ignorecase"
).
Example:
Checks if input:
contains output:
(Case sensitive).
To invert the requirement (Check if the input doesn't contain the output) you can simply add the exclamation mark before the type name (like this type: "!string contains"
).
Example:
Compares input:
with output:
.
Now both the input and the output support floating point values.
Available options
Checks if the player has the specified amount of money ( is required).
Comparator
Description
==
input:
equals to output:
>=
input:
greater than or equals to output:
<=
input:
less than or equals to output:
!=
input:
not equals to output:
>
input:
greater than output:
<
input:
less than output:
You can set conditions before performing certain actions.