Placeholder
This is a provider that allows you to use PlaceholderAPI placeholders as values in the Top Holder.
Format
- SpigotMC
- FabricMC
note
Requires PlaceholderAPI
holders:
<holder-name>:
# The type of the provider
type: placeholder
# The placeholder used to get the value
placeholder: <placeholder>
# Whether the placeholder should be parsed for online players only (Those who are in the server). Default is true.
# If set to false, the placeholder will be parsed for all players, even those who are offline.
#
# Setting "online" to true ONLY means the plugin would stop updating values for players who are not in the server.
# It DOES NOT mean the plugin would remove the value if the player is offline.
# It DOES NOT mean that is necessary to set it to false to make it work with offline-mode / cracked servers.
online: <true/false>
info
Setting online to true ONLY means the plugin would stop updating values for players who are not in the server.
It DOES NOT mean the plugin would remove the value if the player is offline.
It DOES NOT mean that is necessary to set it to false to make it work with offline-mode / cracked servers.
note
The placeholders are provided by Text Placeholder API
You can check its wiki for more information: Wiki
{
"holders": {
"<holder-name>": {
// The type of the provider
"type": "placeholder",
// The placeholder used to get the value
"placeholder": "<placeholder>"
}
}
}
Example
- SpigotMC
- FabricMC
holder.yml
holders:
money:
type: placeholder
placeholder: "%vault_eco_balance%"
online: true
holder.json
{
"holders": {
"level": {
"type": "placeholder",
"placeholder": "%playerex:level%"
}
}
}