Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Placeholders

GoodestEnglish edited this page Jul 22, 2023 · 15 revisions

Placeholders

There's three types of placeholders in Eden: Scoreboard placeholder, PlaceholderAPI's placeholder and message placeholder. Here's how they works:

Scoreboard placeholder

As the name said, scoreboard placeholders are placeholder which are for scoreboard only. Here's all the placeholders:

  • {event-information} - The current event's information. Event's information message is editable via language.yml (event.tournament.scoreboard)
  • {party-leader}
  • {party-members}
  • {party-max}
  • {event-uncolored-name}
  • {event-total-players}
  • {event-max-players}
  • {event-countdown}
  • {queue-kit}
  • {queue-time}
  • {queue-ranked-min}
  • {queue-ranked-max}
  • {ping-range}
  • {match-kit}
  • {match-duration}
  • {match-build-limit}
  • {match-build-limit-difference}
  • {match-team<team number>-logo}
  • {match-team<team number>-bed-status}
  • {match-team<team number>-points}
  • {match-solo-opponent}
  • {match-solo-winner}
  • {match-solo-loser}
  • {match-solo-boxing-difference-text}
  • {match-solo-boxing-difference}
  • {match-solo-boxing-difference-number}
  • {match-solo-boxing-difference-symbol}
  • {match-solo-boxing-difference-color}
  • {match-solo-boxing-self-hit}
  • {match-solo-boxing-opponent-hit}
  • {match-solo-boxing-combo}
  • {match-solo-self-ping}
  • {match-solo-opponent-ping}
  • {match-team-self-alive}
  • {match-team-self-size}
  • {match-team-opponent-alive}
  • {match-team-opponent-size}
  • {match-team-winner}
  • {match-team-loser}
  • {match-team-boxing-difference-text}
  • {match-team-boxing-difference}
  • {match-team-boxing-difference-symbol}
  • {match-team-boxing-difference-color}
  • {match-team-boxing-self-hit}
  • {match-team-boxing-opponent-hit}
  • {match-team-boxing-combo}
  • {match-ffa-alive}
  • {match-ffa-player-size}
  • {match-ffa-winner}
  • {match-ffa-loser}
  • {spectate-kit}
  • {spectate-duration}
  • {spectate-build-limit}
  • {spectate-build-limit-difference}
  • {spectate-team<team number>-logo}
  • {spectate-team<team number>-bed-status}
  • {spectate-team<team number>-points}
  • {spectate-solo-player1}
  • {spectate-solo-player2}
  • {spectate-solo-winner}
  • {spectate-solo-loser}
  • {spectate-solo-boxing-player1-hit}
  • {spectate-solo-boxing-player2-hit}
  • {spectate-solo-boxing-player1-combo}
  • {spectate-solo-boxing-player2-combo}
  • {spectate-solo-player1-ping}
  • {spectate-solo-player2-ping}
  • {spectate-team1-leader}
  • {spectate-team2-leader}
  • {spectate-team1-alive}
  • {spectate-team2-alive}
  • {spectate-team1-size}
  • {spectate-team2-size}
  • {spectate-team-winner}
  • {spectate-team-loser}
  • {spectate-team1-boxing-hit}
  • {spectate-team2-boxing-hit}
  • {spectate-team1-boxing-combo}
  • {spectate-team2-boxing-combo}
  • {spectate-ffa-alive}
  • {spectate-ffa-player-size}
  • {spectate-ffa-winner}
  • {spectate-ffa-loser}
  • {online-players}
  • {queue-players}
  • {match-players}

PlaceholderAPI's placeholder

PlaceholderAPI's placeholder are placeholders which handles by PlaceholderAPI plugin. Which means these placeholder can be access by any plugins which supports PlaceholderAPI. Note that language.yml supports PlaceholderAPI too. You can use external placeholders in language.yml. Here's the placeholders:

  • %eden_queue_unranked_<kit name>% - Return the unranked queue size of kit
  • %eden_queue_ranked_<kit_name>% - Return the ranked queue size of kit
  • %eden_match_unranked_<kit name>% - Return the unranked match size of kit
  • %eden_match_ranked_<kit name>% - Return the ranked match size of kit
  • %eden_match_match_type% - Return the match type of the current match (Solo, Teams, Split, etc.)
  • %eden_match_queue_type% - Return the queue type of the current match (Unranked, Ranked)
  • %eden_match_player_team_color% - Return the color of the player team (Example: &c)
  • %eden_match_player_team_name% - Return the name of the player team (Example: Red)
  • %eden_match_player_team_logo% - Return the logo of the player team (Example: [R])
  • %eden_match_arena_name% - Return the arena display name of the playing match
  • %eden_match_kit_name% - Return the kit display name of the playing match
  • %eden_kit_status_<kit name>% - Return if the kit is enabled or not
  • %eden_party_privacy% - Return the privacy in the current party. Will return nothing if the player has no party.
  • %eden_party_leader% - Return the leader in the current party. Will return nothing if the player has no party.
  • %eden_player_status%
  • %eden_player_ranked_win%
  • %eden_player_ranked_loss%
  • %eden_player_unranked_win%
  • %eden_player_unranked_loss%
  • %eden_player_overall_win%
  • %eden_player_overall_loss%
  • %eden_player_total_elo% - Return the total elo of the player
  • %eden_player_global_elo% - Return the average elo of the player (total elo / kits amount which is enabled and has ranked mode)
  • %eden_player_elo_<kit name>%
  • %eden_player_peakElo_<kit name>%
  • %eden_player_unrankedWon_<kit name>%
  • %eden_player_unrankedLost_<kit name>%
  • %eden_player_rankedWon_<kit name>%
  • %eden_player_rankedLost_<kit name>%
  • %eden_player_bestWinstreak_<kit name>%
  • %eden_player_winstreak_<kit name>%
  • %eden_leaderboard_bestWinstreak_player_<kit name>_<position>% - Return the player's name of best winstreak leaderboard with and (limit to top 10)
  • %eden_leaderboard_bestWinstreak_winstreak_<kit name>_<position>% - Return the amount of winstreak of best winstreak leaderboard with and (limit to top 10)
  • %eden_leaderboard_elo_player_<kit name>_<position>% - Return the player's name of elo leaderboard with and (limit to top 10)
  • %eden_leaderboard_elo_elo_<kit name>_<position>% - Return the elo of elo leaderboard with and (limit to top 10)
  • %eden_leaderboard_wins_player_<kit name>_<position>% - Return the player's name of wins leaderboard with and (limit to top 10)
  • %eden_leaderboard_wins_win_<kit name>_<position>% - Return the amount of wins of wins leaderboard with and (limit to top 10)
  • %eden_leaderboard_winstreak_player_<kit name>_<position>% - Return the player's name of winstreak leaderboard with and (limit to top 10)
  • %eden_leaderboard_winstreak_winstreak_<kit name>_<position>% - Return the amount of winstreak of winstreak leaderboard with and (limit to top 10)

Message placeholder

Message placeholder works differently. It cannot be accessed anywhere, and it has no fixed definition because the same placeholder can represent different things. The placeholder will look like {0}, {1}, {2}, etc. If you want to lookup for a specific meaning of messaged placeholder. You can ask in github discussions.

Clone this wiki locally