Conditions
You can set conditions before performing certain actions.
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.
Minimum requirements
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
.
Has permission
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"
).
Has money
Checks if the player has the specified amount of money (Vault is required).
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:
.
Has Exp
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"
).
Is Near
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"
).
String Equals
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:
String Equals Ignore Case
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:
String Contains
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:
Comparators
Compares input:
with output:
.
Now both the input and the output support floating point values.
Available options
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:
Last updated
Was this helpful?