Wiki

Clone wiki

ArenaGames / Placeholders

Home

Placeholders

Leaderboard Placeholders:

  # <stat> = The stat to check (options are: wins, deaths, kills or games)
  # <number> = The spot in the leader board (ex: 1 = top)
- arenagames_lb_<stat>_p_<number>
  # Will show the player names for the corresponding stat and spot
- arenagames_lb_<stat>_s_<number>
  # Will show the score for the corresponding stat and spot
- arenagames_lb_<stat>_c_<number>
  # Will show a combined player name & score for the corresponding stat and spot
- arenagames_lb_<stat>_player
  # Will show a score for the corresponding stat for a specific player

Example usage in a scoreboard plugin

This example is from a scoreboard plugin, this would show as (player : score):

ShaneBee : 10
BobFlob : 25
ShaneBee : 31
1:
  interval: 100
  liner:
  - '&b%arenagames_lb_wins_p_1% &7: &a%arenagames_lb_wins_s_1%'
2:
  interval: 100
  liner:
  - '&b%arenagames_lb_kills_p_1% &7: &a%arenagames_lb_kills_s_1%'
3:
  interval: 100
  liner:
  - '&b%arenagames_lb_deaths_p_1% &7: &a%arenagames_lb_deaths_s_1%'

Another Example

This example would show scores based on one specific player:

arena Games:
  - Wins: 10
  - Kills: 5
  - Deaths: 3
  - Games: 18
1:
  interval: 100
  liner:
  - 'arena Games:'
2:
  interval: 100
  liner:
  - ' - Wins: %arenagames_lb_wins_player%'
3:
  interval: 100
  liner:
  - ' - Kills: %arenagames_lb_kills_player%'
4:
  interval: 100
  liner:
  - ' - Deaths: %arenagames_lb_deaths_player%'
5:
  interval: 100
  liner:
  - ' - Deaths: %arenagames_lb_games_player%'

Deprecated Leaderboard Placeholders

These will still work, but should not be used, use the new ones as seen above.

- arenagames_lb_score_<number>
  # <number> = The spot in the leader board (ex: 1 = top)
  # Will show the wins for the corresponding spot

- arenagames_lb_player_<number>
  # <number> = The spot in the leader board (ex: 1 = top)
  # Will show the player for the corresponding spot

- arenagames_lb_combined_<number>
  # <number> = The spot in the leader board (ex: 1 = top)
  # Will show the player and score combined (ex: "ShaneBee : 12")

- arenagames_lb_player
  # Will show a player's individual score, useful on player scoreboards

Updated