Wiki
Clone wikiHungerGames / Placeholders
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) - hungergames_lb_<stat>_p_<number> # Will show the player names for the corresponding stat and spot - hungergames_lb_<stat>_s_<number> # Will show the score for the corresponding stat and spot - hungergames_lb_<stat>_c_<number> # Will show a combined player name & score for the corresponding stat and spot - hungergames_lb_<stat>_player # Will show a score for the corresponding stat for a specific player
Other Placeholders: # <arena> = The name of the arena - hungergames_status_<arena> # Will show the current status of this arena - hungergames_cost_<arena> # Will show the cost to enter this arena - hungergames_playerscurrent_<arena> # Will show the current number of player playing in this arena - hungergames_playersmax_<arena> # Will show the max amount of players that can join this arena - hungergames_playersmin_<arena> # Will show the min amount of players required to start this 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_1% &7: &a%hungergames_lb_wins_s_1%' 2: interval: 100 liner: - '&b%hungergames_lb_kills_p_1% &7: &a%hungergames_lb_kills_s_1%' 3: interval: 100 liner: - '&b%hungergames_lb_deaths_p_1% &7: &a%hungergames_lb_deaths_s_1%'
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: - ' - Deaths: %hungergames_lb_games_player%'
Deprecated Leaderboard Placeholders
These will still work, but should not be used, use the new ones as seen above.
- hungergames_lb_score_<number> # <number> = The spot in the leader board (ex: 1 = top) # Will show the wins for the corresponding spot - hungergames_lb_player_<number> # <number> = The spot in the leader board (ex: 1 = top) # Will show the player for the corresponding spot - hungergames_lb_combined_<number> # <number> = The spot in the leader board (ex: 1 = top) # Will show the player and score combined (ex: "ShaneBee : 12") - hungergames_lb_player # Will show a player's individual score, useful on player scoreboards
Updated