Wiki赞助.jpg
  • 因近日遭受攻击,百科现已暂停注册,有意编辑请加入插件百科企鹅群:223812289

Towny/参考信息

From Minecraft插件百科
Revision as of 11:16, 27 December 2019 by Qsefthuopq (talk | contribs) (创建页面,内容为“{|class="common-box" style="margin: 0px 0%; width:{{{width|98%}}}; background: #e7f1f4; ;" |- |<center>{{Template:TownyBox}}</center> =占位符= Towny 0.94.0.18…”)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

占位符

Towny 0.94.0.18版本之后,Towny提供了一些 PlaceholderAPI的占位符。 使用这些占位符需要安装PlaceholderAPI。 Towny无法直接使用这些占位符,但在TownyChat内可以使用。

可用标签:

v0.95.0.0包含的占位符

  • %townyadvanced_town% - 显示城镇名 (如果有的话)
  • %townyadvanced_town_formatted% - Displays long-form town name (如果有的话)
  • %townyadvanced_nation% - 显示国家名 (如果有的话)
  • %townyadvanced_nation_formatted% - Displays long-form nation name (如果有的话)
  • %townyadvanced_town_balance% - Displays town bank value.
  • %townyadvanced_nation_balance% - Displays nation bank value.
  • %townyadvanced_town_tag% - 显示城镇标签 (如果有的话)
  • %townyadvanced_town_tag_override% - Displays town tag (if they have one,) or the full town name.
  • %townyadvanced_nation_tag% - Displays nation tag (如果有的话)
  • %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% - 显示城主和国王的前缀。
  • %townyadvanced_towny_name_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.)

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