Placeholders
OreAnnouncer use own and PlaceholderAPI placeholders. These are divided into 2 categories: inside and outside the plugin.
#Inside OreAnnouncer
Inside OreAnnouncer configurations, placeholders are called 'tags'.
Every time there is a special tag, there is an explanation too, just scroll your configuration file to catch up every tag 😉.
These are the tags that you can use everywhere:
Tag | Description |
---|---|
%top_player_by_destroy_<NUMBER>% | Get player <NUMBER> placed in top by destroy list |
%top_player_by_destroy_<NUMBER>_<PLACEHOLDER>% | Get player <NUMBER> placed in top by destroy list and parse it as <PLACEHOLDER> |
%top_player_by_destroy_<BLOCK>_<NUMBER>% | Get player <NUMBER> placed in top by destroy of <BLOCK> list |
%top_player_by_destroy_<BLOCK>_<NUMBER>_<PLACEHOLDER>% | Get player <NUMBER> placed in top by destroy of <BLOCK> list and parse it as <PLACEHOLDER> |
%top_player_by_found_<NUMBER>% | Get player <NUMBER> placed in top by found list |
%top_player_by_found_<NUMBER>_<PLACEHOLDER>% | Get player <NUMBER> placed in top by found list and parse it as <PLACEHOLDER> |
%top_player_by_found_<BLOCK>_<NUMBER>% | Get player <NUMBER> placed in top by found of <BLOCK> list |
%top_player_by_found_<BLOCK>_<NUMBER>_<PLACEHOLDER>% | Get player <NUMBER> placed in top by found of <BLOCK> list and parse it as <PLACEHOLDER> |
%top_players_total_by_destroy% | Get total number of players in top by destroy |
%top_players_total_<BLOCK>_by_destroy% | Get total number of players in top by destroy of <BLOCK> |
%top_players_total_by_found% | Get total number of players in top by found |
%top_players_total_<BLOCK>_by_found% | Get total number of players in top by found of <BLOCK> |
%total_by_destroy% | Total number of destroyed blocks by every player |
%total_<BLOCK>_by_destroy% | Total number of destroyed <BLOCK> by every player |
%total_by_found% | Total number of found blocks by every player |
%total_<BLOCK>_by_found% | Total number of found <BLOCK> by every player |
%player_destroy% | Total player destroyed blocks |
%player_destroy_<BLOCK>% | Total player destroyed <BLOCK> |
%player_found% | Total player found blocks |
%player_found_<BLOCK>% | Total player found <BLOCK> |
%player_foundin_<RANGE>% | Total player found blocks in time <RANGE> |
%player_foundin_<RANGE>_<BLOCK>% | Total player found <BLOCK> in time <RANGE> |
%player_id% | Player UUID |
%player_name% | Player name |
%player_top_by_destroy% | Player position in top by destroy |
%player_top_by_destroy_<BLOCK>% | Player position in top by destroy of <BLOCK> |
%player_top_by_found% | Player position in top by found |
%player_top_by_found_<BLOCK>% | Player position in top by found of <BLOCK> |
%server_name% | Current server name |
%server_id% | Current server id |
You can use PlaceholderAPI placeholders inside OreAnnouncer! Just remember that OreAnnouncer tags are considered first.
#Outside OreAnnouncer
Outside OreAnnouncer you can use PlaceholderAPI to print OreAnnouncer tags wherever you want! It supports EssentialsChat too.
PlaceholderAPI | EssentialsChat | Description |
---|---|---|
%oreannouncer_top_player_by_destroy_<NUMBER>% | {OREANNOUNCER_TOP_PLAYER_BY_DESTROY_<NUMBER>} | Get player <NUMBER> placed in top by destroy list |
%oreannouncer_top_player_by_destroy_<NUMBER>_<PLACEHOLDER>% | {OREANNOUNCER_TOP_PLAYER_BY_DESTROY_<NUMBER>_<PLACEHOLDER>} | Get player <NUMBER> placed in top by destroy list and parse it as <PLACEHOLDER> |
%oreannouncer_top_player_by_destroy_<BLOCK>_<NUMBER>% | {OREANNOUNCER_TOP_PLAYER_BY_DESTROY_<BLOCK>_<NUMBER>} | Get player <NUMBER> placed in top by destroy of <BLOCK> list |
%oreannouncer_top_player_by_destroy_<BLOCK>_<NUMBER>_<PLACEHOLDER>% | {OREANNOUNCER_TOP_PLAYER_BY_DESTROY_<BLOCK>_<NUMBER>_<PLACEHOLDER>} | Get player <NUMBER> placed in top by destroy of <BLOCK> list and parse it as <PLACEHOLDER> |
%oreannouncer_top_player_by_found_<NUMBER>% | {OREANNOUNCER_TOP_PLAYER_BY_FOUND_<NUMBER>} | Get player <NUMBER> placed in top by found list |
%oreannouncer_top_player_by_found_<NUMBER>_<PLACEHOLDER>% | {OREANNOUNCER_TOP_PLAYER_BY_FOUND_<NUMBER>_<PLACEHOLDER>} | Get player <NUMBER> placed in top by found list and parse it as <PLACEHOLDER> |
%oreannouncer_top_player_by_found_<BLOCK>_<NUMBER>% | {OREANNOUNCER_TOP_PLAYER_BY_FOUND_<BLOCK>_<NUMBER>} | Get player <NUMBER> placed in top by found of <BLOCK> list |
%oreannouncer_top_player_by_found_<BLOCK>_<NUMBER>_<PLACEHOLDER>% | {OREANNOUNCER_TOP_PLAYER_BY_FOUND_<BLOCK>_<NUMBER>_<PLACEHOLDER>} | Get player <NUMBER> placed in top by found of <BLOCK> list and parse it as <PLACEHOLDER> |
%oreannouncer_top_players_total_by_destroy% | {OREANNOUNCER_TOP_PLAYERS_TOTAL_BY_DESTROY} | Get total number of players in top by destroy |
%oreannouncer_top_players_total_<BLOCK>_by_destroy% | {OREANNOUNCER_TOP_PLAYERS_TOTAL_<BLOCK>_BY_DESTROY} | Get total number of players in top by destroy of <BLOCK> |
%oreannouncer_top_players_total_by_found% | {OREANNOUNCER_TOP_PLAYERS_TOTAL_BY_FOUND} | Get total number of players in top by found |
%oreannouncer_top_players_total_<BLOCK>_by_found% | {OREANNOUNCER_TOP_PLAYERS_TOTAL_<BLOCK>_BY_FOUND} | Get total number of players in top by found of <BLOCK> |
%oreannouncer_total_by_destroy% | {OREANNOUNCER_TOTAL_BY_DESTROY} | Total number of destroyed blocks |
%oreannouncer_total_<BLOCK>_by_destroy% | {OREANNOUNCER_TOTAL_<BLOCK>_BY_DESTROY} | Total number of destroyed <BLOCK> |
%oreannouncer_total_by_found% | {OREANNOUNCER_TOTAL_BY_FOUND} | Total number of found blocks |
%oreannouncer_total_<BLOCK>_by_found% | {OREANNOUNCER_TOTAL_<BLOCK>_BY_FOUND} | Total number of found <BLOCK> |
%oreannouncer_player_destroy% | {OREANNOUNCER_PLAYER_DESTROY} | Total player destroyed blocks |
%oreannouncer_player_destroy_<BLOCK>% | {OREANNOUNCER_PLAYER_DESTROY_<BLOCK>} | Total player destroyed <BLOCK> |
%oreannouncer_player_found% | {OREANNOUNCER_PLAYER_FOUND} | Total player found blocks |
%oreannouncer_player_found_<BLOCK>% | {OREANNOUNCER_PLAYER_FOUND_<BLOCK>} | Total player found <BLOCK> |
%oreannouncer_player_foundin_<RANGE>% | {OREANNOUNCER_PLAYER_FOUNDIN_<RANGE>} | Total player found blocks since <RANGE> seconds ago |
%oreannouncer_player_foundin_<RANGE>_<BLOCK>% | {OREANNOUNCER_PLAYER_FOUNDIN_<RANGE>_<BLOCK>} | Total player found <BLOCK> since <RANGE> seconds ago |
%oreannouncer_player_id% | {OREANNOUNCER_PLAYER_ID} | Player UUID |
%oreannouncer_player_name% | {OREANNOUNCER_PLAYER_NAME} | Player name |
%oreannouncer_player_top_by_destroy% | {OREANNOUNCER_PLAYER_TOP_BY_DESTROY} | Player position in top by destroy |
%oreannouncer_player_top_by_destroy_<BLOCK>% | {OREANNOUNCER_PLAYER_TOP_BY_DESTROY_<BLOCK>} | Player position in top by destroy of <BLOCK> |
%oreannouncer_player_top_by_found% | {OREANNOUNCER_PLAYER_TOP_BY_FOUND} | Player position in top by found |
%oreannouncer_player_top_by_found_<BLOCK>% | {OREANNOUNCER_PLAYER_TOP_BY_FOUND_<BLOCK>} | Player position in top by found of <BLOCK> |
%oreannouncer_server_name% | {OREANNOUNCER_SERVER_NAME} | Current server name |
%oreannouncer_server_id% | {OREANNOUNCER_SERVER_ID} | Current server id |
If you are using MvdW PlaceholderAPI, you need to use
{placeholderapi_oreannouncer_TAG}
.