XenoWorldReset

Placeholders

Use plugin's placeholders in other plugins or within the plugin's config files.

PlaceholderAPI is a plugin for Spigot and Paper servers that allows server owners to display data from various plugins with a standardized format. The format, which is called an external placeholder, is an identifier surrounded by percent signs % and will be replaced with the provided data from the plugin.

The ability to add external placeholders to XWR’s lang.yml strings is possible.

XWR contains it’s own external placeholders that can be used in other plugins. See the table below for a list of available placeholders. Before adding a placeholder to another plugin, ensure the plugin supports PlaceholderAPI.

Available placeholders

External placeholders

These placeholders can be used in any plugin that supports PlaceholderAPI.

Placeholder nameUseDescription
Reset Status%xwr_reset_status%Reset status of next resetting world.
Reset Status (world)%xwr_reset_status_<world>%Reset status of specific world.
Reset Percent (world)%xwr_reset_percent_<world>%Reset percentage of specific world.
Reset Processes Total (world)%xwr_reset_processes_total_<world>%Total reset processes of a specific world.
Reset Processes Completed (world)%xwr_reset_processes_completed_<world>%Completed reset process of a specific world.
Teleport Cooldown Global%xwr_teleport_cooldown_global%Player’s global teleport cooldown.
Teleport Cooldown World (world)%xwr_teleport_cooldown_world_<world>%Player’s world teleport cooldown.

Internal placeholders

Additionally, XWR has internal placeholders, which can only be used within XWR’s config files. An internal placeholder is a an identifier surrounded by curly brackets {} and will be replaced with data from XWR.

These can be placed anywhere within a message in lang.yml.

Placeholder nameUseDescription
Player{player}Player’s username.
Player Display Name{playerDisplayName}Player’s display name.
Player UUID{playerUUID}Player’s unique ID.
Player World{playerWorld}Player’s world.
Player Gamemode{playerGamemode}Player’s gamemode.
Player X{playerX}Player’s X-coordinate.
Player Y{playerY}Player’s Y-coordinate.
Player Z{playerZ}Player’s Z-coordinate.
Player Yaw{playerYaw}Player’s yaw.
Player Pitch{playerPitch}Player’s pitch.

Last updated on