Towny Expansion 2 Release 1.0

An expansion to the PlaceholderAPI that provides 27 Placeholders for Towny.

  1. Wowserman
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Contributors:
    Wowserman
    Towny Expansion 2
    This is a replacement expansion for the original Towny Expansion by @clip.

    This is not a standalone plugin. It is a add-on to PlaceholderAPI (PlaceholderAPI is required to be running on your server for this expansion to run). To install this expansion, download it to your server then move it in PlaceholderAPI's expansion folder and restart your server.

    Placeholder Selectors by Type

    Valid Types: resident, town, nation
    Selectors are child nodes of types.

    resident
    title
    formatted-town-nation
    extras:
    3 Color Code, one for the town name color, one for the comma color between, and one for the nation name color​
    town
    nation
    bank
    bank-formatted
    name-formatted
    surname
    town-ranks
    nation-ranks​
    town
    resident-count
    nation
    bank
    bank-formatted
    tag
    mayor
    town-blocks
    name-formatted
    name​
    nation
    town-count
    resident-count
    tag
    name-formatted
    name
    bank
    bank-formatted
    capital​

    The format of all Towny Expansion 2 placeholders are like the following:
    Code (Text):
    %towny_TYPE_SPECIFIER_CONTEXT_EXTRAS%
    Note: Context is who/what you are talking about. Extras are always optional and only a few specifiers give you the option to add extras, they are just extra arguments normally for styling.
    For a Resident named Wowserman who's in the town of Minneapolis:




    %towny_resident_town_Wowserman%
    Code (Text):
    Minneapolis
    %towny_resident_formatted-town-nation_Wowserman%
    Without any Extras
    Code (Text):
    Minneapolis
    %towny_resident_formatted-town-nation_Wowserman_6_f_3%
    With Extras
    Code (Text):
    &6Minneapolis
    %towny_resident_formatted-town-nation_Wowserman_6_f_3%
    With Extras

    If Wowserman was in the Town Minneapolis and the Nation called USA:
    Code (Text):
    &6Minneapolis&f, &3USA
    For the Town Minneapolis



    %towny_town_bank_Minneapolis%
    Code (Text):
    0.0
    LlmDl likes this.