Placeholders
Every placeholder the plugin answers, about a mine and about the player reading it, in both the PlaceholderAPI and the in-plugin form.
Every placeholder below is written in full, and clicking one copies it.
How the name is written#
The plugin registers its placeholders through ExyliaLib as the group mine. Inside an Exylia plugin's own
files — menus, messages.yml, another Exylia plugin's scoreboard — the registered name stands on its own:
%mine_reset_coal%Through PlaceholderAPI, for any other plugin, the plugin's name goes in front of it:
%exyliamines_mine_reset_coal%This page writes the PlaceholderAPI form throughout; drop exyliamines_ for the in-plugin one. Nothing has
to be downloaded from the eCloud.
<id> is a mine's id. Ids may contain underscores — %exyliamines_mine_reset_iron_cave% reads the mine
iron_cave — and in the top placeholders the place is always the last number. The id is matched regardless of case:
%exyliamines_mine_reset_iron% reads a mine whose id is Iron.
Durations are written out in full, 4m 12s.
About a mine#
| Placeholder | Shows | Example |
|---|---|---|
%exyliamines_mine_name_<id>% | The mine's display name; empty for an unknown id. | Coal |
%exyliamines_mine_reset_<id>% | Time until a classic mine refills, or - for a realistic, disabled or unknown mine. | 4m 12s |
%exyliamines_mine_reset_seconds_<id>% | The same in seconds, -1 when there is no refill to count down to. | 252 |
%exyliamines_mine_remaining_<id>% | The share of the mine still standing, 0 to 100. | 64 |
%exyliamines_mine_blocks_<id>% | Blocks everybody has mined there. | 12840 |
%exyliamines_mine_count% | How many mines are enabled on this server. | 6 |
Top ten and boosts#
| Placeholder | Shows | Example |
|---|---|---|
%exyliamines_mine_top_name_<id>_<place>% | The player at that place of the mine's top ten, from 1, or — when empty. | Steve |
%exyliamines_mine_top_blocks_<id>_<place>% | That player's blocks, or 0. | 3210 |
| Placeholder | Shows | Example |
|---|---|---|
%exyliamines_mine_boost_<id>% | The drop multiplier of every boost running on the mine, combined; 1 when none. | 1.5 |
%exyliamines_mine_boost_name_<id>% | The name of the boost on the mine that ends last, or —. | Weekend boost |
%exyliamines_mine_boost_time_<id>% | Time left on that boost, or —. | 1h 5m |
Only classic mines have a refill to count down to: a realistic mine grows each block back on its own, so
its countdown is - rather than a number that would never arrive.
About the reader#
These answer for the player looking at them.
| Placeholder | Shows | Example |
|---|---|---|
%exyliamines_mine_current% | The display name of the mine the player stands in, or —. | Coal |
%exyliamines_mine_current_id% | The id of that mine, or —. | coal |
%exyliamines_mine_time% | Seconds the player has been inside the mine, 0 outside. | 95 |
%exyliamines_mine_player_blocks% | Blocks the player has mined in every mine. | 5402 |
%exyliamines_mine_player_blocks_<id>% | Blocks the player has mined in one mine. | 1180 |
"Standing in" means a mine they have access to: a player inside a mine whose permission they lack is in none, as far as these placeholders go.
Examples#
A leaderboard for the coal mine in a hologram plugin:
#1 %exyliamines_mine_top_name_coal_1% — %exyliamines_mine_top_blocks_coal_1%
#2 %exyliamines_mine_top_name_coal_2% — %exyliamines_mine_top_blocks_coal_2%
#3 %exyliamines_mine_top_name_coal_3% — %exyliamines_mine_top_blocks_coal_3%A scoreboard line that follows the player from mine to mine:
Mine: %exyliamines_mine_current% (%exyliamines_mine_time%s)The status hologram and the /mines menu fill their own values — %mine_name%, %remaining%,
%next_reset% — which are not placeholders and only work there. See
Holograms.
Something missing on this page? Tell us on Discord