Last updated
Last updated
In this case we have 2 configurations (the general one and the individual one for each warp).
When creating a warp (/setwarp
) a dedicated file is created in the data/warps
folder. In this file you can configure actions and conditions for that specific warp (actions and conditions from the general configuration are also taken into account).
Example of a warp:
Below I will introduce you to each feature of the Warps configuration. This configuration is available in the configs/warps.yml
file, where you can make adjustments.
This option determines whether the feature is enabled. If set to
false
, players will receive a message indicating that this feature is disabled.Setting this option to
true
will disable the feature completely, as if it didn't exist in the plugin. This is useful if you have another plugin that handles this functionality. If not, do not enable this option. Please note that a server restart is required for the changes to take effect.
You can set this to true if there is another plugin interfering with the commands for this DeluxeTeleport feature and it will try to pass them through, the only problem with this is that the tab (chat autocomplete) may not work correctly according to DeluxeTeleport and you will have to fix this with the plugin that is causing the interference.
Alias āāfor the
/warp
commandAlias āāfor the
/warps
command
Enables or disables teleportation delay.
Determines whether the teleport should be cancelled if the player moves during the cooldown.
Enables or disables the timeout between each use of the
/warp
command. If set totrue
, the cooldown will be enabled.Enables or disables the ranged cooldown functionality.
For example,
vip
has a 5 minute cooldown.Setting to automatically assign permissions based on player rank.
If enabled (
true
), cooldowns will be automatically assigned to users with a compatible permissions plugin.Specifies the permissions plugin to use for automatic assignment. Currently only
LuckPerms
is available.Indicates whether the longer or shorter time should be used if a user has more than one cooldown time assigned.
Available options are LONGEST or SHORTEST.
If set to
true
, cooldown data will be saved to a local database (data/sql/cooldowns.db
), meaning it will not be lost when the server is shut down.
In this section you can define conditions to be met before teleporting, you can perform actions if a condition is met or even if it is not met.
In this section, you can define actions that will be executed before, during, or after the player teleports. These actions allow you to further customize the teleportation process.
You can consult the documentation on the actions .
You can consult the documentation on conditions .
Defines how much delay time will be applied (you can see what time formats to use ).
Sets the cooldown time between each use of the command (you can see what time formats to use ).
Each range is defined with a name and a time format (you can see what time formats to use ).
You can see how to use the conditions .
You can learn how to configure actions in detail in the corresponding section of this documentation .