Sueta
TO

Towny Expansion 2

Release 1.0

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

·Plugin

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

What are Types and Selectors?

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

How do I use this?

The format of all Towny Expansion 2 placeholders are like the following:

%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.

Example 1

For a Resident named Wowserman who's in the town of Minneapolis:

%towny_resident_town_Wowserman%

Minneapolis

%towny_resident_formatted-town-nation_Wowserman%
Without any Extras

Minneapolis

%towny_resident_formatted-town-nation_Wowserman_6_f_3%
With Extras

&6Minneapolis

%towny_resident_formatted-town-nation_Wowserman_6_f_3%
With Extras

If Wowserman was in the Town Minneapolis and the Nation called USA:

&6Minneapolis&f, &3USA
Example 2

For the Town Minneapolis

%towny_town_bank_Minneapolis%

0.0

Similar projects

Plugin →