Content generated with AI — it may contain mistakes.

ExyliaTotemTrainer/ReferenceUpdated in v1.2.0

Placeholders

Every ExyliaTotemTrainer placeholder for sidebars, menus and other plugins, written in full.

Page 14 of 232 min read

Placeholders let you show a player's totem stats, their running session or a leaderboard position on a sidebar, a menu or another plugin. Click one to copy it.

How the name is written#

A placeholder is %exyliatotemtrainer_ followed by its own name. It is written the same way everywhere: in the plugin's own files (scoreboards.yml, menus/, messages.yml) and through PlaceholderAPI in other plugins. Inside the plugin's files you do not need PlaceholderAPI; other plugins do.

%exyliatotemtrainer_wins%
Renamed after 1.0.0

Up to 1.0.0 every name carried the group totem, such as %exyliatotemtrainer_totem_wins%. Those forms no longer resolve. Write %exyliatotemtrainer_<name>% and update any scoreboards.yml or menus/main.yml generated before.

Every placeholder is answered for the player looking at it. Outside a session or a duel, or before the profile has loaded, it answers a neutral value instead of showing its own name: 0 for a number, 0 - 0 for the score, none for state and match_state, and a dash for a mode, opponent or grade. The exceptions are format outside a duel, and pops, streak, best and average for a player whose profile has not loaded: those are left as written.

Duel record#

PlaceholderShowsExample
%exyliatotemtrainer_wins%Duels won.12
%exyliatotemtrainer_losses%Duels lost.7
%exyliatotemtrainer_winrate%Wins over duels played, as a percentage.63%
%exyliatotemtrainer_best_streak%Best run of duel wins in a row.5

Pops#

These four are the ones a sidebar line and a lobby lore can share: the same name means the running session while one is on and the lifetime profile otherwise.

PlaceholderShowsExample
%exyliatotemtrainer_total_pops%Lifetime pops, training and duels together.1840
%exyliatotemtrainer_pops%Pops of the running session; lifetime pops outside one.42
%exyliatotemtrainer_streak%Pops in a row of the running session; the current win streak outside one.18
%exyliatotemtrainer_best%Fastest reaction of the running session, or the lifetime best. Shows the none text when there is none.0.31s
%exyliatotemtrainer_average%Average reaction of the running session, or the lifetime average.0.52s

The running session#

Training and duels both count as a session here.

PlaceholderShowsExample
%exyliatotemtrainer_state%none, training or match.training
%exyliatotemtrainer_state_label%The same state in the words of the language file: None, Training or Duel.Training
%exyliatotemtrainer_mode%Display name of the mode being played.Chaos
%exyliatotemtrainer_ticks%The interval the player picked, in ticks.20
%exyliatotemtrainer_interval%The interval the session runs at right now; an accelerating mode keeps moving it.15
%exyliatotemtrainer_grade%Grade of the last pop. The none text before the first pop and outside a session.Perfect
%exyliatotemtrainer_session_time%How long the session has been running.1:35

The running duel#

PlaceholderShowsExample
%exyliatotemtrainer_format%Series length of the running duel.BO3
%exyliatotemtrainer_opponent%The opponent's name.Steve
%exyliatotemtrainer_opponent_pops%The opponent's pops in the current round.9
%exyliatotemtrainer_round%The round being played. A replayed draw keeps its number.2
%exyliatotemtrainer_score%Rounds won, yours first.2 - 1
%exyliatotemtrainer_match_state%waiting, starting, active, round_end, ending or finished.active

Leaderboards#

A board is about one mode, over every speed, sorted by one category. <mode> is a mode id from config.yml (normal, infinite, random, chaos, acceleration and blackout as shipped) and <n> is the position, counting from 1. The plain form answers the player's name and the one ending in _value the number that put them there.

PlaceholderShowsExample
%exyliatotemtrainer_top_<mode>_rating_<n>%Name of the player at position n of a mode's board, sorted by: best session score weighted by the speed it was set at.Steve
%exyliatotemtrainer_top_<mode>_rating_<n>_value%Their number on that board: best session score weighted by the speed it was set at.87
%exyliatotemtrainer_top_<mode>_best_pops_<n>%Name of the player at position n of a mode's board, sorted by: most pops in one session.Steve
%exyliatotemtrainer_top_<mode>_best_pops_<n>_value%Their number on that board: most pops in one session.112
%exyliatotemtrainer_top_<mode>_fastest_average_<n>%Name of the player at position n of a mode's board, sorted by: best average reaction (lowest first).Steve
%exyliatotemtrainer_top_<mode>_fastest_average_<n>_value%Their number on that board: best average reaction (lowest first).0.41s
%exyliatotemtrainer_top_<mode>_best_streak_<n>%Name of the player at position n of a mode's board, sorted by: longest run of pops without a fail.Steve
%exyliatotemtrainer_top_<mode>_best_streak_<n>_value%Their number on that board: longest run of pops without a fail.64
%exyliatotemtrainer_top_<mode>_longest_run_<n>%Name of the player at position n of a mode's board, sorted by: longest session.Steve
%exyliatotemtrainer_top_<mode>_longest_run_<n>_value%Their number on that board: longest session.95.30s

Written out with a mode and a position:

%exyliatotemtrainer_top_chaos_rating_1%
%exyliatotemtrainer_top_chaos_rating_1_value%
%exyliatotemtrainer_top_acceleration_fastest_average_3%

A mode id with underscores in it is matched whole: %exyliatotemtrainer_top_my_mode_best_pops_1% finds the mode my_mode. Until the board has been read once, both forms answer the loading text from messages.yml and start the read. A position past the end of the board, an unknown mode or an unknown category leaves the text as written. See Read profiles and leaderboards for how a board is built.

Something missing on this page? Tell us on Discord