CyberWorldReset

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 CyberWorldReset's lang.yml strings is possible.

CyberWorldReset 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 (world)%cwr_reset_status_<world>%Specific world reset status.
Reset Status%cwr_reset_status%Next world reset status.
Chunk Radius%cwr_chunk_radius%Radius of chunk loading as set in config.
Chunk Diameter%cwr_chunk_diameter%Diameter of chunk loading as set in config.
Chunk Area%cwr_chunk_area%Area of chunk loading as set in config.
TPS%cwr_tps%Instantaneous TPS of the server.
Remaining Time (world)%cwr_remaining_time_<world>%Remaining time until next reset.
Remaining Seconds (world)%cwr_remaining_seconds_<world>%Remaining seconds until next reset.
Remaining Chunks (world)%cwr_remaining_chunks_<world>%Remaining chunks to load.
Loaded Chunks (world)%cwr_loaded_chunks_<world>%Amount of chunks already loaded.
Reset Percent (world)%cwr_reset_percent_<world>%Percent of loading completed.

Internal placeholders

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

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.
World{world}The world being reset.

Last updated on