Skip to main content

Placeholders

These placeholders are for outputting leaderboards. Do not try to use them in the ajLeaderboards add command!

If you don't know how to use them, check out the example on holograms on the setup page.

Notes before using placeholders

Do not try to use these without first setting up the plugin!

If you do not set up the plugin first, none of these will work. The setup guide will also give you a better understanding of how to use the plugin.

Do not forget to fill in the <arguments>

Do not forget to fill in <board>, <number>, etc in the placeholders! They will not work without those.

What are the arguments?

<board> is the board name (for example, statistic_player_kills),
<number> is the position you want to display (1 for 1st, 2 for 2nd, etc), and
<type> is the timed type (e.g. alltime, hourly, daily, weekly, monthly)

Do not try to randomly combine placeholders.

For example, do not to this: %ajlb_lb_statistic_time_played_1_alltime_prefix_name%.
Instead, use the placeholders separately:

%ajlb_lb_statistic_time_played_1_alltime_prefix% %ajlb_lb_statistic_time_played_1_alltime_name%



Note that this list only applies to the latest version of ajLeaderboards. Older versions may be missing some (or all) or these placeholders.

Leaderboard placeholders

Placeholders that are used for displaying a leaderboard

PlaceholderDescription
%ajlb_lb_<board>_<number>_<type>_name%Shows the name of the player in <number> place on leaderboard <board>
%ajlb_lb_<board>_<number>_<type>_displayname%Shows the display name of the player in <number> place on leaderboard <board>
%ajlb_lb_<board>_<number>_<type>_value%Shows the score of the player in <number> place on leaderboard <board>
%ajlb_lb_<board>_<number>_<type>_rawvalue%Shows the score of the player in <number> place on leaderboard <board>, but without commas
%ajlb_lb_<board>_<number>_<type>_value_formatted%Shows the formatted score of the player in <number> place on leaderboard <board>. Example: 10000 shows as 10k
%ajlb_lb_<board>_<number>_<type>_prefix%Shows the vault prefix of the player in <number> place on leaderboard <board>
%ajlb_lb_<board>_<number>_<type>_suffix%Shows the vault suffix of the player in <number> place on leaderboard <board>
%ajlb_lb_<board>_<number>_<type>_color%Shows the color of the players name. It is basically the prefix but only the color codes.
%ajlb_lb_<board>_<number>_<type>_extra_<extra>%Shows the extra placeholder for the player at that position on the leaderboard. <extra> is the extra placeholder (without %)

Player placeholders

Placeholders that show the player that is viewing the placeholder (each player will see their own thing)

PlaceholderDescription
%ajlb_position_<board>_<type>%Shows what position the player is at in the leaderboard <board>
%ajlb_value_<board>_<type>%Shows the user's value for <board>
%ajlb_value_<board>_<type>_formatted%Shows the user's value for <board>, and formatted
%ajlb_value_<board>_<type>_raw%Show the user's raw value for <board>. No formatting at all. (including commas)
%ajlb_extra_<extra>%Show the player's output for the extra placeholder. <extra> is the extra placeholder (without %)

Other placeholders

PlaceholderDescription
%ajlb_reset_<type>%Displays the time until the specified timed type is supposed to reset.
%ajlb_size_<board>%Shows the number of players on the specified board.
%ajlb_total_<board>_<type>%Gets the total (sum) of all players' scores on the specified leaderboard.
%ajlb_total_<board>_<type>_formatted%Gets the total (sum) of all players' scores on the specified leaderboard. (formatted e.g. 1k)
%ajlb_total_<board>_<type>_raw%Gets the total (sum) of all players' scores on the specified leaderboard. (with no formatting at all)

Relative placeholders

Placeholders that are used to show players around the player viewing the placeholder

<relative> is how relative to the player's position it should be. For example, +1 would be 1 position above. -1 would be one position below.

PlaceholderDescription
%ajlb_rel_<board>_<type>_<relative>_name%Shows the name of the player in the relative position on leaderboard <board>
%ajlb_rel_<board>_<type>_<relative>_displayname%Shows the display name of the player in the relative position on leaderboard <board>
%ajlb_rel_<board>_<type>_<relative>_value%Shows the score of the player in the relative position on leaderboard <board>
%ajlb_rel_<board>_<type>_<relative>_rawvalue%Shows the score of the player in the relative position on leaderboard <board>, but without commas
%ajlb_rel_<board>_<type>_<relative>_value_formatted%Shows the formatted score of the player in the relative position on leaderboard <board>. Example: 10000 shows as 10k
%ajlb_rel_<board>_<type>_<relative>_prefix%Shows the vault prefix of the player in the relative position on leaderboard <board>
%ajlb_rel_<board>_<type>_<relative>_suffix%Shows the vault suffix of the player in the relative position on leaderboard <board>
%ajlb_rel_<board>_<type>_<relative>_color%Shows the color of the players name. It is basically the prefix but only the color codes.
%ajlb_rel_<board>_<type>_<relative>_extra_<extra>%Shows the extra placeholder for the player at the relative position on the leaderboard. <extra> is the extra placeholder (without %)
%ajlb_rel_<board>_<type>_<relative>_position%Shows the position of the relative player