Placeholders - TownyAdvanced/Towny GitHub Wiki

Since Towny Version 0.94.0.18, Towny has provided some PlaceholderAPI support without needing an extension from the PAPI eCloud. Use of these placeholders requires PlaceholderAPI to be installed to be functional. Towny can not be configured to use placeholders at this time, though TownyChat can.

If you are unable to run at minimum Towny 0.94.0.18, you can download the old PAPI Towny Expansion instead.


You are able to format some of the Placeholder's appearances via the Towny config.yml's papi_chat_formatting section. (Ex: removing the []'s, or changing colours.)


Available Tags in order of oldest to newest

Introduced as of v0.95.0.0

  • %townyadvanced_town% - Displays town name (if they have one.)
  • %townyadvanced_town_formatted% - Displays long-form town name (if they have one.)
  • %townyadvanced_nation% - Displays nation name (if they have one.)
  • %townyadvanced_nation_formatted% - Displays long-form nation name (if they have one.)
  • %townyadvanced_town_balance% - Displays town bank value.
  • %townyadvanced_nation_balance% - Displays nation bank value.
  • %townyadvanced_town_tag% - Displays town tag (if they have one.)
  • %townyadvanced_town_tag_override% - Displays town tag (if they have one,) or the full town name.
  • %townyadvanced_nation_tag% - Displays nation tag (if they have one.)
  • %townyadvanced_nation_tag_override% - Displays nation tag (if they have one,) or the full nation name.
  • %townyadvanced_towny_tag% - Displays town and nation tags.
  • %townyadvanced_towny_tag_override% - Displays town and nation tags if they exist, falling back to names if they don't.
  • %townyadvanced_towny_tag_formatted% - Displays town and nation tags if they exist, falling back to long-form names if they don't.
  • %townyadvanced_title% - Displays king-granted title.
  • %townyadvanced_surname% - Displays king-granted surname.
  • %townyadvanced_towny_name_prefix% - Displays mayor and king prefix.
  • %townyadvanced_towny_name_postfix% - Displays mayor and king postfix.
  • %townyadvanced_towny_prefix% - Displays title if it exists, falls back to mayor and king prefixes.
  • %townyadvanced_towny_postfix% - Displays surname if it exists, falls back to mayor and king postfixes.
  • %townyadvanced_towny_colour% - Used to show colours before nomads, residents, mayors and kings. (Set in the config.yml.)

Introduced as of v0.95.1.0

  • %townyadvanced_town_residents_amount% - Number of residents in a town.
  • %townyadvanced_town_residents_online% - Number of residents in a town that are currently online.
  • %townyadvanced_town_townblocks_used% - Number of townblocks claimed by a resident's town.
  • %townyadvanced_town_townblocks_bought% - Number of townblocks bought by a resident's town.
  • %townyadvanced_town_townblocks_bonus% - Number of bonus blocks given to a resident's town.
  • %townyadvanced_town_townblocks_maximum% - Number of townblocks a town has available to claim.
  • %townyadvanced_town_townblocks_natural_maximum% - Number of townblocks a town has available to claim, not counting bonus/bought townblocks.
  • %townyadvanced_town_mayor% - A resident's town's mayor's name.
  • %townyadvanced_nation_king% - A resident's nation's king's name.
  • %townyadvanced_resident_friends_amount% - Number of friends a resident has.
  • %townyadvanced_nation_residents_amount% - Number of residents in a resident's nation.
  • %townyadvanced_nation_residents_online% - Number of residents in a resident's nation that are currently online.
  • %townyadvanced_nation_capital% - Name of a resident's nation's capital.

Introduced as of v0.95.2.0

  • %townyadvanced_daily_town_upkeep% - Shows town's upkeep cost.
  • %townyadvanced_daily_nation_upkeep% - Shows nation's upkeep cost.
  • %townyadvanced_has_town% - Returns true or false whether the resident has a town.
  • %townyadvanced_has_nation% - Returns true or false whether the resident has a nation.

Introduced as of v0.96.0.0

  • %townyadvanced_nation_tag_town_formatted% - Shows the nation tag and the full town name. If nation tag is not set, only the town name is shown.

Introduced as of v0.96.2.0

  • %townyadvanced_town_ranks% - Displays either Mayor, or the various town ranks a player has or nothing if they have none.
  • %townyadvanced_nation_ranks% - Displays either King, or the various nation ranks a player has or nothing if they have none.
  • %townyadvanced_player_status% - Displays Nomad, Resident, Mayor or King, depending on what position the player is in.

Introduced as of v0.96.3.0

  • %townyadvanced_town_prefix% - Display the config-defined prefix of the player's town (ex: ruins, settlement, ...)
  • %townyadvanced_town_postfix% - Display the config-defined postfix of the player's nation (ex: ruins, settlement, ...)
  • %townyadvanced_nation_prefix% - Display the config-defined prefix of the player's town (ex: lands, realms, ...)
  • %townyadvanced_nation_postfix% - Display the config-defined postfix of the player's nation (ex: lands, realms, ...)
  • %townyadvanced_player_jailed% - Display true is the player is jailed, otherwise false.
  • %townyadvanced_player_plot_type% - Display the townblock's type at the resident's location (ex: shop), or "" if none.
  • %townyadvanced_player_plot_owner% - Display true if the resident is owning the townblock at his location.
  • %townyadvanced_nation_tag_town_name% - Displays nation tag (if set, otherwise blank,) followed by the Town name (if the player is part of a town.)
  • %townyadvanced_daily_town_tax% - Displays the daily tax charged by the town on the residents.
  • %townyadvanced_daily_nation_tax% - Displays the daily tax charged by the nation on the towns.

Introduced as of v0.96.6.0

  • %townyadvanced_player_location_town_or_wildname% - Displays either the townname at the location or the wilderness name.
  • %townyadvanced_player_location_formattedtown_or_wildname% - Displays either the formatted townname at the location or the wilderness name.
  • %townyadvanced_player_location_town_prefix% - Displays the town's prefix or blank.
  • %townyadvanced_player_location_town_postfix% - Displays the town's postfix or blank.
  • %townyadvanced_player_location_pvp% - Displays (PVP) or blank, depending on pvp status of the location.
  • %townyadvanced_nation_map_color_hex% - Returns the hex colour code of the nation's mapcolor set with /t set mapcolor (seen in dynmap-towny.)

Introduced as of v0.96.7.0

  • %townyadvanced_is_nation_peaceful% - If the player has a nation which is peaceful the language string "status_town_title_peaceful" will be shown: "&b(Peaceful)".
  • %townyadvanced_is_town_peaceful% - If the player has a town which is peaceful the language string "status_town_title_peaceful" will be shown: "&b(Peaceful)".
  • %townyadvanced_player_location_plot_name% - Displays a plot's name if it has one.
  • RELATIONAL placeholder: %rel_townyadvanced_color%
    • Applies the colour codes set in the config.yml's new papi_relational_formatting section.
    • Used in TAB and other plugins which can do Relational placeholders.

Introduced as of v0.97.1.0

  • %townyadvanced_player_location_plot_owner_name% - Displays the name of the resident who owns the plot, or blank if no one personally owns it.
  • %townyadvanced_town_map_color_hex% - Returns the colour set by the town.

Introduced as of v0.97.2.0

  • %townyadvanced_player_location_town_resident_count% - If there is a town present where the player stands, it will return the number representing the number of residents that town has.
  • %townyadvanced_player_location_town_mayor_name% - If there is a town present where the player stands, it will return the name of that town's mayor.
  • %townyadvanced_player_location_town_nation_name% - If there is a town present where the player stands, it will return the name of the nation, if the town has one.

Introduced as of v0.97.3.0

  • %townyadvanced_town_board% - Displays a player's town's board message.
  • %townyadvanced_nation_board% - Displays a player's nation's board message.
  • %townyadvanced_player_location_town_board% - Displays the board message of the town where the player is stood.
  • %townyadvanced_player_location_nation_board% - Displays the board message of the nation where the player is stood.

Introduced as of v0.98.0.0

  • %townyadvanced_player_location_plotgroup_name%- Shows the PlotGroup name if the player location has a PlotGroup.
  • %townyadvanced_player_location_plot_forsale% - Shows For Sale lang string when a plot is for sale.
  • %townyadvanced_is_town_public% - Shows (Public) lang string when the player's town is public.
  • %townyadvanced_is_town_open% - Shows (Open) lang string when the player's town is open.

Introduced as of v0.98.2.0

  • %townyadvanced_time_until_new_day_hours_raw% - Display the raw number of hours until new day.
  • %townyadvanced_time_until_new_day_minutes_raw% - Display the raw number of minutesuntil new day.
  • %townyadvanced_time_until_new_day_seconds_raw% - Display the raw number of seconds until new day.
  • %townyadvanced_time_until_new_day_formatted% - Display the amount of time until a new day, formatted and translated.
  • %townyadvanced_time_until_new_day_hours_formatted% - Display the amount of hours until a new day, formatted and translated.
  • %townyadvanced_time_until_new_day_minutes_formatted% - Display the amount of minutes until a new day, formatted and translated.
  • %townyadvanced_time_until_new_day_seconds_formatted% - Display the amount of seconds until a new day, formatted and translated.

Introduced as of v0.98.3.0

  • %townyadvanced_town_creation_cost% - Shows the cost of a town.
  • %townyadvanced_nation_creation_cost% - Shows the cost of a nation.
  • %townyadvanced_number_of_towns_in_server% - Shows the number of Towns on the server.
  • %townyadvanced_number_of_neutral_towns_in_server% - Shows the number of neutral Towns on the server.
  • %townyadvanced_number_of_towns_in_world% - Shows the number of Towns with homeblocks in the same world as the player.
  • %townyadvanced_number_of_neutral_towns_in_world% - Shows the number of neutral Towns with homeblocks in the same world as the player.

Introduced as of v0.98.4.0

  • %townyadvanced_daily_town_per_plot_upkeep% - Shows the amount of upkeep paid per-plot by a Town.
  • %townyadvanced_daily_town_overclaimed_per_plot_upkeep_penalty% - Shows the penalty paid per-plot by a Town.
  • %townyadvanced_daily_town_upkeep_reduction_from_town_level% - Shows the percentage that a Town's upkeep is reduced by the TownLevel's upkeepModifier, or if the player has no Town what a 1 player town would receive.
  • %townyadvanced_daily_town_upkeep_reduction_from_nation_level% - Shows the percentage that a Town's upkeep is reduced by the NationLevel's nationTownUpkeepModifier, or if the player has no Nation what a 1 player town would receive if they had a nation.
  • %townyadvanced_daily_nation_per_town_upkeep% - Shows the amount of upkeep paid per-town by a Nation.
  • %townyadvanced_daily_nation_upkeep_reduction_from_nation_level% - Shows the percentage that a Nation's upkeep is reduced by the NationLevel's upkeepModifier, or if the player has no Nation what a 1 player town would receive if they had a nation.
  • %townyadvanced_town_merge_cost% - Shows the base cost to merge a town.
  • %townyadvanced_town_merge_per_plot_percentage% - Shows the percentage of the TownBlock claim price that the merging Town will have to pay in order to do a merge.
  • %townyadvanced_town_reclaim_cost% - Shows the cost to reclaim a town.
  • %townyadvanced_town_reclaim_max_duration_hours% - Shows the maximum number of hours a town can be ruined before it is deleted.
  • %townyadvanced_town_reclaim_min_duration_hours% - Shows the minimum number of hours a town can be ruined before it can be reclaimed.
  • %townyadvanced_townblock_buy_bonus_price% - Shows the base price of buying a TownBlock using /t buy bonus.
  • %townyadvanced_townblock_claim_price% - Shows the base price of claiming a TownBlocking using /t claim.
  • %townyadvanced_townblock_unclaim_price% - Shows the base price of claiming a TownBlocking using /t unclaim.
  • %townyadvanced_outpost_claim_price% - Shows the price of claiming an outpost using /t claim outpost.
  • %townyadvanced_town_unformatted% - Shows the player's townname, if they have one.
  • %townyadvanced_nation_unformatted% - Shows the player's nationname, if they have one.
  • %townyadvanced_player_town_is_trusted% - returns True or False based on whether the player is in a town, and is trusted in the town.
  • %townyadvanced_player_plot_is_trusted% - returns True or False based on whether the player is in a town, and is trusted in the plot.
  • %townyadvanced_town_balance_unformatted% - Shows the town's raw cached bank balance.
  • %townyadvanced_nation_balance_unformatted% - Shows the nation's raw cached bank balance.

Introduced as of v0.98.5.0

  • %townyadvanced_nation_or_town_name% - Displays a player's nation name or, if no nation, their town name or, blank if they have no town.

Introduced as of v0.99.0.0

  • %townyadvanced_townblock_next_claim_price% - Displays the cost of the player's town's next claim, taking into account any townblock price increase rules.

Introduced as of v0.99.1.0

  • %townyadvanced_resident_primary_rank_spaced% - Displays a resident's primary rank with a space afterwards.
  • %townyadvanced_player_status% - Displays Nomad, Resident, Mayor or King, depending on what position the player is in.

Introduced as of v0.99.2.0

  • %townyadvanced_town_map_color_minimessage_hex% - Shows the town colour formatted for MiniMessage, (TownyChat-friendly.)
  • %townyadvanced_nation_map_color_minimessage_hex% - Shows the nation colour formatted for MiniMessage, (TownyChat-friendly.)
  • %townyadvanced_top_town_balance_n% - (Replace n with a number) Displays the nth Town by money in the town bank.
  • %townyadvanced_top_town_residents_n% - (Replace n with a number) Displays the nth Town by number of residents.
  • %townyadvanced_top_town_land_n% - (Replace n with a number) Displays the nth Town by number of townblocks claimed.

Introduced as of v0.100.1.0

  • %townyadvanced_daily_resident_tax% - A placeholder that shows how much a resident will pay daily in taxes. This number is the total of any town tax as well as any plot taxes they owe. Taxes owed are cached for a period of time using the config's economy.bank_account_cache_timeout setting.
  • %townyadvanced_daily_resident_tax_unformatted% - A placeholder that shows how much a resident will pay daily in taxes, but unformatted, just a raw number.
Available Tags in Order of Type

Town & Nation Prefixes/Tags

  • %townyadvanced_town% - Displays town name (if they have one.)

  • %townyadvanced_town_formatted% - Displays long-form town name (if they have one.)

  • %townyadvanced_town_unformatted% - Shows the player's townname, if they have one.

  • %townyadvanced_town_tag% - Displays town tag (if they have one.)

  • %townyadvanced_town_tag_override% - Displays town tag (if they have one,) or the full town name.

  • %townyadvanced_nation_or_town_name% - Displays a player's nation name or, if no nation, their town name or, blank if they have no town.

  • %townyadvanced_nation% - Displays nation name (if they have one.)

  • %townyadvanced_nation_formatted% - Displays long-form nation name (if they have one.)

  • %townyadvanced_nation_unformatted% - Shows the player's nationname, if they have one.

  • %townyadvanced_nation_tag% - Displays nation tag (if they have one.)

  • %townyadvanced_nation_tag_override% - Displays nation tag (if they have one,) or the full nation name.

  • %townyadvanced_nation_tag_town_formatted% - Shows the nation tag and the full town name. If nation tag is not set, only the town name is shown.

  • %townyadvanced_nation_tag_town_name% - Displays nation tag (if set, otherwise blank,) followed by the Town name (if the player is part of a town.)

  • %townyadvanced_towny_tag% - Displays town and nation tags.

  • %townyadvanced_towny_tag_override% - Displays town and nation tags if they exist, falling back to names if they don't.

  • %townyadvanced_towny_tag_formatted% - Displays town and nation tags if they exist, falling back to long-form names if they don't.

Resident:

  • %townyadvanced_title% - Displays king-granted title.

  • %townyadvanced_surname% - Displays king-granted surname.

  • %townyadvanced_towny_name_prefix% - Displays mayor and king prefix.

  • %townyadvanced_towny_name_postfix% - Displays mayor and king postfix.

  • %townyadvanced_towny_prefix% - Displays title if it exists, falls back to mayor and king prefixes.

  • %townyadvanced_towny_postfix% - Displays surname if it exists, falls back to mayor and king postfixes.

  • %townyadvanced_town_ranks% - Displays either Mayor, or the various town ranks a player has or nothing if they have none.

  • %townyadvanced_nation_ranks% - Displays either King, or the various nation ranks a player has or nothing if they have none.

  • %townyadvanced_resident_primary_rank% - Displays a prefix associated with a player's highest-priority nation or town rank.

  • %townyadvanced_resident_primary_rank_spaced% - Displays a resident's primary rank with a space afterwards.

  • %townyadvanced_player_status% - Displays Nomad, Resident, Mayor or King, depending on what position the player is in.

  • %townyadvanced_towny_colour% - Used to show colours before nomads, residents, mayors and kings. (Set in the config.yml.)

  • %townyadvanced_resident_friends_amount% - Number of friends a resident has.

  • %townyadvanced_has_town% - Returns true or false whether the resident has a town.

  • %townyadvanced_has_nation% - Returns true or false whether the resident has a nation.

  • %townyadvanced_player_jailed% - Display true is the player is jailed, otherwise false.

Town:

  • %townyadvanced_town_residents_amount% - Number of residents in a town.
  • %townyadvanced_town_residents_online% - Number of residents in a town that are currently online.
  • %townyadvanced_town_townblocks_used% - Number of townblocks claimed by a resident's town.
  • %townyadvanced_town_townblocks_bought% - Number of townblocks bought by a resident's town.
  • %townyadvanced_town_townblocks_bonus% - Number of bonus blocks given to a resident's town.
  • %townyadvanced_town_townblocks_maximum% - Number of townblocks a town has available to claim.
  • %townyadvanced_town_townblocks_natural_maximum% - Number of townblocks a town has available to claim, not counting bonus/bought townblocks.
  • %townyadvanced_town_mayor% - A resident's town's mayor's name.
  • %townyadvanced_town_prefix% - Display the config-defined prefix of the player's town (ex: ruins, settlement, ...)
  • %townyadvanced_town_postfix% - Display the config-defined postfix of the player's nation (ex: ruins, settlement, ...)
  • %townyadvanced_is_town_peaceful% - If the player has a town which is peaceful the language string "status_town_title_peaceful" will be shown: "&b(Peaceful)".
  • %townyadvanced_is_town_public% - Shows (Public) lang string when the player's town is public.
  • %townyadvanced_is_town_open% - Shows (Open) lang string when the player's town is open.
  • %townyadvanced_town_map_color_hex% - Returns the colour set by the town.
  • %townyadvanced_town_map_color_minimessage_hex% - Shows the town colour formatted for MiniMessage, (TownyChat-friendly.)
  • %townyadvanced_town_board% - Displays a player's town's board message.
  • %townyadvanced_town_reclaim_max_duration_hours% - Shows the maximum number of hours a town can be ruined before it is deleted.
  • %townyadvanced_town_reclaim_min_duration_hours% - Shows the minimum number of hours a town can be ruined before it can be reclaimed.

Nation:

  • %townyadvanced_nation_residents_amount% - Number of residents in a resident's nation.
  • %townyadvanced_nation_residents_online% - Number of residents in a resident's nation that are currently online.
  • %townyadvanced_nation_king% - A resident's nation's king's name.
  • %townyadvanced_nation_capital% - Name of a resident's nation's capital.
  • %townyadvanced_nation_prefix% - Display the config-defined prefix of the player's town (ex: lands, realms, ...)
  • %townyadvanced_nation_postfix% - Display the config-defined postfix of the player's nation (ex: lands, realms, ...)
  • %townyadvanced_nation_map_color_hex% - Returns the hex colour code of the nation's mapcolor set with /t set mapcolor (seen in dynmap-towny.)
  • %townyadvanced_nation_map_color_minimessage_hex% - Shows the nation colour formatted for MiniMessage, (TownyChat-friendly.)
  • %townyadvanced_is_nation_peaceful% - If the player has a nation which is peaceful the language string "status_town_title_peaceful" will be shown: "&b(Peaceful)".
  • %townyadvanced_nation_board% - Displays a player's nation's board message.

New Day-related:

  • %townyadvanced_time_until_new_day_hours_raw% - Display the raw number of hours until new day.
  • %townyadvanced_time_until_new_day_minutes_raw% - Display the raw number of minutesuntil new day.
  • %townyadvanced_time_until_new_day_seconds_raw% - Display the raw number of seconds until new day.
  • %townyadvanced_time_until_new_day_formatted% - Display the amount of time until a new day, formatted and translated.
  • %townyadvanced_time_until_new_day_hours_formatted% - Display the amount of hours until a new day, formatted and translated.
  • %townyadvanced_time_until_new_day_minutes_formatted% - Display the amount of minutes until a new day, formatted and translated.
  • %townyadvanced_time_until_new_day_seconds_formatted% - Display the amount of seconds until a new day, formatted and translated.

Money:

  • %townyadvanced_town_balance% - Displays town bank value.
  • %townyadvanced_nation_balance% - Displays nation bank value.
  • %townyadvanced_town_balance_unformatted% - Shows the town's raw cached bank balance.
  • %townyadvanced_nation_balance_unformatted% - Shows the nation's raw cached bank balance.
  • %townyadvanced_daily_town_upkeep% - Shows town's upkeep cost.
  • %townyadvanced_daily_nation_upkeep% - Shows nation's upkeep cost.
  • %townyadvanced_daily_town_tax% - Displays the daily tax charged by the town on the residents.
  • %townyadvanced_daily_nation_tax% - Displays the daily tax charged by the nation on the towns.
  • %townyadvanced_daily_town_per_plot_upkeep% - Shows the amount of upkeep paid per-plot by a Town.
  • %townyadvanced_daily_town_overclaimed_per_plot_upkeep_penalty% - Shows the penalty paid per-plot by a Town.
  • %townyadvanced_daily_town_upkeep_reduction_from_town_level% - Shows the percentage that a Town's upkeep is reduced by the TownLevel's upkeepModifier, or if the player has no Town what a 1 player town would receive.
  • %townyadvanced_daily_town_upkeep_reduction_from_nation_level% - Shows the percentage that a Town's upkeep is reduced by the NationLevel's nationTownUpkeepModifier, or if the player has no Nation what a 1 player town would receive if they had a nation.
  • %townyadvanced_daily_nation_per_town_upkeep% - Shows the amount of upkeep paid per-town by a Nation.
  • %townyadvanced_daily_nation_upkeep_reduction_from_nation_level% - Shows the percentage that a Nation's upkeep is reduced by the NationLevel's upkeepModifier, or if the player has no Nation what a 1 player town would receive if they had a nation.
  • %townyadvanced_town_creation_cost% - Shows the cost of a town.
  • %townyadvanced_nation_creation_cost% - Shows the cost of a nation.
  • %townyadvanced_townblock_buy_bonus_price% - Shows the base price of buying a TownBlock using /t buy bonus.
  • %townyadvanced_townblock_claim_price% - Shows the base price of claiming a TownBlocking using /t claim.
  • %townyadvanced_townblock_unclaim_price% - Shows the base price of claiming a TownBlocking using /t unclaim.
  • %townyadvanced_outpost_claim_price% - Shows the price of claiming an outpost using /t claim outpost.
  • %townyadvanced_townblock_next_claim_price% - Displays the cost of the player's town's next claim, taking into account any townblock price increase rules.
  • %townyadvanced_town_merge_cost% - Shows the base cost to merge a town.
  • %townyadvanced_town_merge_per_plot_percentage% - Shows the percentage of the TownBlock claim price that the merging Town will have to pay in order to do a merge.
  • %townyadvanced_town_reclaim_cost% - Shows the cost to reclaim a town.
  • %townyadvanced_daily_resident_tax% - A placeholder that shows how much a resident will pay daily in taxes. This number is the total of any town tax as well as any plot taxes they owe. Taxes owed are cached for a period of time using the config's economy.bank_account_cache_timeout setting.
  • %townyadvanced_daily_resident_tax_unformatted% - A placeholder that shows how much a resident will pay daily in taxes, but unformatted, just a raw number.

Leaderboard:

  • %townyadvanced_top_town_balance_n% - (Replace n with a number) Displays the nth Town by money in the town bank.
  • %townyadvanced_top_town_residents_n% - (Replace n with a number) Displays the nth Town by number of residents.
  • %townyadvanced_top_town_land_n% - (Replace n with a number) Displays the nth Town by number of townblocks claimed.

Location:

  • %townyadvanced_player_plot_type% - Display the townblock's type at the resident's location (ex: shop), or "" if none.
  • %townyadvanced_player_plot_owner% - Display true if the resident is owning the townblock at his location.
  • %townyadvanced_player_location_town_or_wildname% - Displays either the townname at the location or the wilderness name.
  • %townyadvanced_player_location_formattedtown_or_wildname% - Displays either the formatted townname at the location or the wilderness name.
  • %townyadvanced_player_location_town_prefix% - Displays the town's prefix or blank.
  • %townyadvanced_player_location_town_postfix% - Displays the town's postfix or blank.
  • %townyadvanced_player_location_pvp% - Displays (PVP) or (No PVP), depending on pvp status of the location.
  • %townyadvanced_player_location_plot_name% - Displays a plot's name if it has one.
  • %townyadvanced_player_location_plot_owner_name% - Displays the name of the resident who owns the plot, or blank if no one personally owns it.
  • %townyadvanced_player_location_town_resident_count% - If there is a town present where the player stands, it will return the number representing the number of residents that town has.
  • %townyadvanced_player_location_town_mayor_name% - If there is a town present where the player stands, it will return the name of that town's mayor.
  • %townyadvanced_player_location_town_nation_name% - If there is a town present where the player stands, it will return the name of the nation, if the town has one.
  • %townyadvanced_player_location_town_board% - Displays the board message of the town where the player is stood.
  • %townyadvanced_player_location_nation_board% - Displays the board message of the nation where the player is stood.
  • %townyadvanced_player_location_plotgroup_name%- Shows the PlotGroup name if the player location has a PlotGroup.
  • %townyadvanced_player_location_plot_forsale% - Shows For Sale lang string when a plot is for sale.
  • %townyadvanced_player_town_is_trusted% - returns True or False based on whether the player is in a town, and is trusted in the town.
  • %townyadvanced_player_plot_is_trusted% - returns True or False based on whether the player is in a town, and is trusted in the plot.
  • %townyadvanced_number_of_towns_in_server% - Shows the number of Towns on the server.
  • %townyadvanced_number_of_neutral_towns_in_server% - Shows the number of neutral Towns on the server.
  • %townyadvanced_number_of_towns_in_world% - Shows the number of Towns with homeblocks in the same world as the player.
  • %townyadvanced_number_of_neutral_towns_in_world% - Shows the number of neutral Towns with homeblocks in the same world as the player.

Relational:

  • %rel_townyadvanced_color% - Applies the colour codes set in the config.yml's new papi_relational_formatting section, used in TAB and other plugins which can do Relational placeholders.
⚠️ **GitHub.com Fallback** ⚠️