Skip to content

Placeholders

Shane Bee edited this page Mar 11, 2026 · 10 revisions

Home

Placeholders

Leaderboard Placeholders:
# <stat> = The stat to check (options are: wins, deaths, kills or games)
# <number> = The spot in the leader board (ex: 0 = top, 10 = bottom(ish))

  # Will show the player names for the corresponding stat and spot
- hungergames_lb_<stat>_p_<number>
  # Will show the score for the corresponding stat and spot
- hungergames_lb_<stat>_s_<number>
  # Will show a combined player name & score for the corresponding stat and spot
- hungergames_lb_<stat>_c_<number>
  # Will show a score for the corresponding stat for a specific player
- hungergames_lb_<stat>_player
Other Placeholders:
# <arena> = The name of the arena

  # Will show the current status of this arena
- hungergames_status_<arena>
  # Will show the current status of the player
- hungergames_playerstatus
  # Will show the cost to enter this arena
- hungergames_cost_<arena>
  # Will show the current number of player playing in this arena
- hungergames_playerscurrent_<arena>
  # Will show the max amount of players that can join this arena
- hungergames_playersmax_<arena>
  # Will show the min amount of players required to start this arena
- hungergames_playersmin_<arena>

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%hungergames_lb_wins_p_0% &7: &a%hungergames_lb_wins_s_0%'
2:
  interval: 100
  liner:
  - '&b%hungergames_lb_kills_p_0% &7: &a%hungergames_lb_kills_s_0%'
3:
  interval: 100
  liner:
  - '&b%hungergames_lb_deaths_p_0% &7: &a%hungergames_lb_deaths_s_0%'

Another Example

This example would show scores based on one specific player:

Hunger Games:
  - Wins: 10
  - Kills: 5
  - Deaths: 3
  - Games: 18
1:
  interval: 100
  liner:
  - 'Hunger Games:'
2:
  interval: 100
  liner:
  - ' - Wins: %hungergames_lb_wins_player%'
3:
  interval: 100
  liner:
  - ' - Kills: %hungergames_lb_kills_player%'
4:
  interval: 100
  liner:
  - ' - Deaths: %hungergames_lb_deaths_player%'
5:
  interval: 100
  liner:
  - ' - Games: %hungergames_lb_games_player%'

Clone this wiki locally