Placeholders - Rumsfield/konquest GitHub Wiki

Updated for version 1.7.0

Konquest Placeholders

Konquest acts as a Placeholders Expansion with the PlaceholderAPI plugin. This page lists all available placeholders in Konquest. You must include the PlaceholderAPI plugin JAR in your server's plugins folder to use these placeholders.

Test a placeholder by running command:

/papi parse me <placeholder>
/papi parserel <player1> <player2> <relational placeholder>

Holographic Displays

As an example, here is how you would include placeholders in a hologram using the Holographic Display plugin. You'll need these plugins in addition to Konquest and its dependencies:

Example hologram:

/hd create example Your kingdom is: {papi: konquest_kingdom}

Player Info Placeholders

Placeholder Description
%konquest_barbarian% True if player is barbarian, else false
%konquest_chat% True if player is using global chat, else false
%konquest_claimed% True if the player's current location is claimed, else false
%konquest_combat% True if player is combat tagged, else false
%konquest_combat_tag% The combat tag text from core.yml, core.combat.placeholder_tag
%konquest_exile% Player's exile kingdom name
%konquest_kingdom% Player's kingdom name
%konquest_land% Player's current location territory name
%konquest_lordships% Number of player's lordships
%konquest_prefix% Player's current accomplishment prefix
%konquest_rank% Player's current kingdom role (master, officer, member)
%konquest_residencies% Number of player's total residencies, including lordships
%konquest_score% Player's score value
%konquest_territory% Player's current location territory type [WILD,CAPITAL,TOWN,CAMP,RUIN,NEUTRAL,OTHER]
%konquest_num_town_all% Number of player's lord-only towns
%konquest_num_town_knight% Number of player's knight towns
%konquest_num_town_lord% Number of player's lord towns
%konquest_num_town_resident% Number of player's resident towns
%konquest_timer_loot% Time until monument loot refreshes
%konquest_timer_payment% Time until kingdom payment refreshes

Player Relational Placeholders

Placeholder Description
%rel_konquest_relation% The type of relationship between two players (enemy, friendly, etc)
%rel_konquest_relation_color% The primary color of the relationship between two players, put before other text to change its color
%rel_konquest_relation2_color% The secondary color of the relationship between two players, put before other text to change its color
%rel_konquest_kingdom_webcolor% The kingdom web color of the target player

Kingdom Leaderboard Placeholders

Placeholder Description
%konquest_top_score_1% Kingdom name and score in rank 1
%konquest_top_score_2% Kingdom name and score in rank 2
... Kingdom name and score in ranks 3 - 9
%konquest_top_score_10% Kingdom name and score in rank 10
%konquest_top_town_1% Kingdom name and number of towns in rank 1
%konquest_top_town_2% Kingdom name and number of towns in rank 2
... Kingdom name and number of towns in ranks 3 - 9
%konquest_top_town_10% Kingdom name and number of towns in rank 10
%konquest_top_land_1% Kingdom name and total land in rank 1
%konquest_top_land_2% Kingdom name and total land in rank 2
... Kingdom name and total land in ranks 3 - 9
%konquest_top_land_10% Kingdom name and total land in rank 10

Kingdom Info Placeholders

Placeholder Description
%konquest_kingdom_players% The number of total players in a player's kingdom
%konquest_kingdom_online% The number of online players in a player's kingdom
%konquest_kingdom_towns% The number of towns in a player's kingdom
%konquest_kingdom_land% The number of land chunks in a player's kingdom
%konquest_kingdom_favor% The amount of favor owned by all players in a player's kingdom
%konquest_kingdom_score% The score of a player's kingdom
%konquest_players_(kingdom)% The number of total players in the given (kingdom)
%konquest_online_(kingdom)% The number of online players in the given (kingdom)
%konquest_towns_(kingdom)% The number of towns in the given (kingdom)
%konquest_land_(kingdom)% The number of land chunks in the given (kingdom)
%konquest_favor_(kingdom)% The amount of favor owned by all players in the given (kingdom)
%konquest_score_(kingdom)% The score of the given (kingdom)

Ruin Info Placeholders

Placeholder Description
%konquest_ruin_cooldown_(ruin)% The time until the given (ruin) is available to capture
%konquest_ruin_capture_(ruin)% True/False whether the given (ruin) can be captured
%konquest_ruin_criticals_(ruin)% The number of critical hits a given (ruin) has
%konquest_ruin_spawns_(ruin)% The number of Ruin Golem spawners a given (ruin) has
⚠️ **GitHub.com Fallback** ⚠️