• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Towny”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(修改译名)
(未显示同一用户的125个中间版本)
第1行: 第1行:
{{待翻译}}
+
{|class="common-box" style="margin: 0px 0%; width:{{{width|98%}}}; background: #e7f1f4;  ;"
 +
|-
 +
|<center>{{Template:TownyBox}}</center>
  
== 介绍 ==
+
{{Bukkit Plugin Infobox
Towny Advanced is a versatile, player-controlled land management plugin for use with Bukkit/Tekkit/Spigot/Libigot. Towny offers solutions for pvp, griefing, chat, inflated economies and monsters to minecraft server admins. Towny allows players to work together and against each other as they see fit.
+
|插件名=Towny
 +
|图标=[[File:townylogo.png|townylogo.png]]
 +
|版本= 0.94.0.00
 +
|前置插件=
 +
|兼容服务端版本=全版本
 +
|作者= palmergames
 +
|網址= [http://towny.palmergames.com/category/towny-download/towny-release-download/ 城镇官网]
 +
}}
 +
* '''由于城镇机制比较复杂,如果你是一名玩家,你可以阅读[[Towny/教程]]'''
  
== 特性 ==
+
== {{MCColor|&2|介绍}} ==
 +
{|class="common-box" style="margin: 0px 15%; width:{{{width|60%}}}; background: #fff2cc;  ;"
 +
|-
 +
| <center> {{MCColor|&2|'''<big><big><big><big>Towny</big></big></big></big>'''}}</center>
 +
|  {{MCColor|&1|<big>城镇是一个可以在 Bukkit/Tekkit/Spigot/Libigot 上运行的先进、多功能的插件. 城镇可以设置 pvp, 物品保护, 聊天, 防止通货膨胀和怪物生成. 城镇可以让玩家协作起来,建立一个和谐友好的集体</big>.}}
 +
|-
 +
!
 +
|}
  
城里的包括各种各样的功能,为传统的Minecraft服务器作出改革.
+
 
 +
== {{MCColor|&5|特性}} ==
 +
{|class="common-box" style="margin: 0px 15%; width:{{{width|60%}}}; background: #cfe2f3;"
 +
|-
 +
|  {{MCColor|&2|'''<big><big><big>特性</big></big></big>'''}}
 +
| 城镇包括各种各样的功能,为传统的Minecraft服务器作出改革.
  
 
*允许玩家根据预先设定的网格区块布局拥有和管理土地
 
*允许玩家根据预先设定的网格区块布局拥有和管理土地
 
**玩家可以加入城镇和购买土地.
 
**玩家可以加入城镇和购买土地.
**玩家可以设置每块地皮的 破坏、建筑、使用、“开关”和使用物品的权限.
+
**玩家可以设置每块地皮的 破坏、建筑、交互和使用物品的权限.
 
**城镇可以加入国家, 把服务器分成不同的势力.
 
**城镇可以加入国家, 把服务器分成不同的势力.
**城镇可设置:防护,怪物生成, pvp, 火焰, 爆炸和greifing.
+
**城镇可设置:防护,怪物生成, PVP, 右键火焰伤害, 爆炸和物品保护.
*野外规则 (可选)
+
*荒野准则 (可选)
**城镇之外的区域是荒野, 拥有独自的建筑权限.
+
**城镇之外的区域是荒野, 拥有独立的建筑权限.
 
**通过限制玩家与荒郊野外的方块交互来保持原生态的环境.
 
**通过限制玩家与荒郊野外的方块交互来保持原生态的环境.
**回档 tnt, 爬行者, 凋灵爆炸, 末影龙破坏和末影人搬走方块.
+
**回档 tnt、 爬行者、 凋灵爆炸,末影龙破坏和末影人搬走方块.
**阻止爆炸破坏和火焰扩散.
+
**阻止爆炸破坏和火势蔓延.
 
*PVP增强
 
*PVP增强
**一个强大的PVP服务器会发现城镇的玩家分组是很有用的.
+
**城镇的分组对于PVP服务器很有用.
**防止friendly-fire. (可选)
+
**防止队友伤害. (可选)
 
**国家把玩家分到更大的队伍中.
 
**国家把玩家分到更大的队伍中.
 
**一个国家可以把其他国家视为盟国或敌国.
 
**一个国家可以把其他国家视为盟国或敌国.
 
**可以在野外、城镇和世界内开关PVP. (可选)
 
**可以在野外、城镇和世界内开关PVP. (可选)
 
*传送和出生点 (可选)
 
*传送和出生点 (可选)
**玩家死亡后可以重生在城镇出生点.
+
**玩家死亡后可以重生在城镇传送点(/t spawn).
**玩家可以传送到城镇出生点或其他结盟或盟国的城镇.
+
**玩家可以传送到城镇传送点或其他结盟的盟国的城镇.
**用床可以使玩家在个人 土地上重生.
+
**用床可以使玩家在个人土地上重生.
 
*可修改的自定义聊天格式. (可选)
 
*可修改的自定义聊天格式. (可选)
**颜色, 组的前缀和后缀, 国家, 城镇, 城镇标题.
+
**可设置不同的颜色, 分组的前缀和后缀, 国家, 城镇, 城镇头衔.
**聊天频道:全体, local, 城镇, 国家, moderator, 管理员和自定义聊天频道.
+
**聊天频道:全体, 本地居民, 城镇, 国家, 主持人, 管理员和自定义聊天频道.
**Anti-spam 特性.
+
**防刷屏和脏话.
 
*商店插件支持. (可选)
 
*商店插件支持. (可选)
**限制商店区块的商店数量, 更加真实.
+
**限制商店区块的商店数量.
 
*经济插件交互. (可选)
 
*经济插件交互. (可选)
 
**支持所有经济插件.
 
**支持所有经济插件.
 
**付费购买土地,建立城镇和国家.
 
**付费购买土地,建立城镇和国家.
 
**灵活的税收系统.
 
**灵活的税收系统.
**用资金来维护城镇和国家, 防止疯狂的通货膨胀.
+
**用资金来维护城镇和国家运行, 防止通货膨胀.
*支持所有权限插件. (可选)
+
*支持大部分权限插件. (可选)
 
**Perms 2/3, GroupManager, BukkitPermissions, bPermissions, PermissionsEx, 等.
 
**Perms 2/3, GroupManager, BukkitPermissions, bPermissions, PermissionsEx, 等.
 
*多世界支持
 
*多世界支持
**每个时间不同的配置.
+
**每个世界可设定不同的城镇配置.
 
**在任意世界开关城镇管辖.
 
**在任意世界开关城镇管辖.
 +
|-
 +
!
 +
|}
  
 
== 重要信息 ==
 
== 重要信息 ==
 +
=== {{MCColor|&2|不兼容插件}} ===
 +
* residence领地 - /res 指令冲突
 +
* 地皮插件 - /plot 指令冲突
 +
* Faction派系 Kingdom王国 等其他同类插件
  
=== Towny 安装指南 ===
+
=== 城镇安装指南 ===
 +
<spoiler>
 +
:这里是第一次安装城镇插件指南. 请正确执行这些步骤.<br />
  
 +
:'''第一步 – 准备好你的服务器.'''<br />
  
:Here are instructions to install Towny for the first time. There are a few steps so follow them all carefully.<br />
+
:#完全停止你的服务器.
 +
:#下载插件并放到服务器插件文件夹内 (注意不是整个zip压缩包,请解压):
 +
:::*下载 Towny Advanced.zip (包括Towny, TownyChat 和 Questioner.)
 +
:::**Towny.jar 是最重要的,
 +
:::**TownyChat.jar 如果你需要修改聊天格式的话需要安装这个.
 +
:::**Questioner.jar 如果你想要玩家被人工地邀请进城的话需要安装这个, .
 +
:::*如果你使用除 iConomy 5.01 之外的经济插件,你需要下载 Register.jar 或 Vault,把他放到服务器插件文件夹内.
 +
:::**如果你使用Vault, 不要安装Register.jar.
 +
:#开始服务器.
 +
</spoiler>
 +
=== 城镇升级向导 ===
 +
<spoiler>
 +
:这里是旧版本的城镇升级向导:
  
:'''Step One – Preparing your server.'''<br />
+
:'''城镇升级向导'''
  
:#Stop your server completely.
+
:*完全停止你的服务器.
:#Download the following and copy to your Plugins folder (Place .jar files in the plugins folder, not the actual .zip):
+
:*备份你的服务器!
:::*Download Towny Advanced.zip (Includes Towny, TownyChat and Questioner.)
+
:*下载 Towny_Advanced.zip 解压里面的4个 .jar 文件到你的服务器插件文件夹 (如果你已使用Vault就不需要Register附属).
:::**Towny.jar is required at all times,
+
:*开启服务器.
:::**TownyChat.jar is required if you want to have Towny modify chatting in any way. (Adding prefixes and suffixes from your permissions plugin to chat, adding town/nation/world to chat, adding chat channels.)
+
:*关闭服务器.
:::**Questioner.jar is required if you want players to receive invites to towns, instead of being added automatically.
+
:*从0.79.0.0之前的版本升级
:::*If you use any economy plugin other than iConomy 5.01 you will be required to download Register.jar or Vault and put it in your plugins folder.
+
:**config.yml 内的聊天部分移到了一个新的文件内, channels.yml. 随你的习惯配置 channels.yml .
:::**If your economy plugin is supported by Vault, do not use Register.jar, instead use only Vault.
+
:*从0.82.0.0之前的版本升级
:#Start your server.
+
:::*城镇已经有了城镇权限. 位于 towny/settings/townyperms.yml (Towny 0.82.0.0 或更高版本才有).
:#Stop your server.
+
:::*城镇权限添加了 城镇/国家 头衔所以服务器管理员可以指定特定头衔可以做的事情 (流浪汉, 居民, 城主, 国王之类) 管理员也可以创建自定义头衔及权限. 任何现有设置为助手的玩家被将失去他们的头衔,需要重新分配.
 +
:*开启服务器.
 +
</spoiler>
 +
----
  
=== Towny 升级向导 ===
+
=== 城镇的运行方式 ===
 
 
:Here are instructions for performing a Towny Upgrade from a previous version:
 
 
 
:'''Towny Upgrade Instructions'''
 
 
 
:*Stop your server completely.
 
:*Backup your entire server!
 
:*Download Towny_Advanced.zip and extract the 4 .jar files into your plugins folder (Register is not required if your server already uses Vault.jar).
 
:*Start your server.
 
:*Stop your server.
 
:*Upgrade from pre-0.79.0.0
 
:**The chat section of config.yml has been move to a new file, channels.yml. Edit the new channels.yml to your liking.
 
:*Upgrade from pre-0.82.0.0
 
:::*Towny has had TownyPerms added. This new file located at townysettingstownyperms.yml will be generated when you first start your server using Towny 0.82.0.0 or higher.
 
:::*TownyPerms adds town/nation ranks so server admins can specify what each rank can do (nomads, residents, mayors, kings, etc) Admins can also create custom ranks with custom permission sets. Any existing players set as assistants will lose their rank and need to have it re-assigned.
 
:*Start your server.
 
 
 
=== Towny 的工作方式 ===
 
 
 
Use this page to learn how Towny works, how various settings affect the gameplay, what you can do to customize Towny to your liking.
 
  
 
----
 
----
==== <big>The Hierarchy</big> ====
+
==== <big>{{MCColor|&c|等级制度}}</big> ====
 
+
{|class="common-box" style="margin: 0px 15%; width:{{{width|70%}}}; background: #fbfbfb; border: 3px solid {{{color|#B0B0B0}}};"
===== Nomads =====
+
|-
 +
| style="padding: 2px 0 2px 0.5em" |
 +
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}"><center>{{{text|{{{1|'''<big><big><big>等级制度</big></big></big>'''}}}}}}</center></div>
 +
|-
 +
!
 +
|
 +
===== {{MCColor|&7|流浪者}} =====
  
:Nomads are simply players who are not part of any town. They are landless and their permission nodes are configurable via TownyPerms.yml. Nomads can purchase Embassy plots if they have been given towny.command.plot.claim in the Townyperms.yml
+
:流浪者不属于任何城镇. 他们没有土地和权限(权限可在 TownyPerms.yml 内设置). 流浪者可以购买大使馆区块来获得土地.他们拥有towny.command.plot.claim权限(在Townyperms.yml 内)
  
===== 居民 =====
+
===== {{MCColor|&a|<big>居民</big>}} =====
 +
:每个加入你服务器的人都可以成为居民 (他们会获得 towny.town.resident权限,在 townyperms.yml的流浪者部分.)<br />
 +
居民可以使用 /resident 来获得居民信息, 包括拥有的金钱,地皮和朋友及其所属城镇.
  
:Every person who joins your server can become a resident (the are given the towny.town.resident permission node in townyperms.yml’s nomad section.) Residents have their own command /resident which used by itself outputs a Resident Screen, displaying Money, Town, Plots owned and Friends.
+
:居民可以加入城镇. 第一次进入服务器的居民可以自动加入一个城镇,只需设置在 config.yml 内设置 default_town_name: '' .
  
:Residents can join towns or choose to start a town of their own. Residents can also be put into one town automatically when they join the server for the first time by setting default_town_name: '' in config.yml.
+
:加入城镇的居民可以声明城主已设置出售的区块. 当居民拥有土地后, 可以在居民信息内看到展示拥有区块数和个人地皮权限.
  
:Residents who join towns can claim plots that the Mayor of the town has set for sale. When a resident owns 1 or more plots, they will see a new line on their Resident Screen, showing plots owned and a perm line showing the plot perms given on all plots that resident owns.
+
:居民拥有的权限可在 TownyPerms.yml 内设置.
 +
===== {{MCColor|&2|<big>城镇</big>}} =====
 +
:城镇是拥有一位城镇统治的居民聚居的地方 (或是只有一位居民).城镇有银行,只有城主才能取钱.城镇可以设置助手来协助管理城镇. 城镇每天会定时地收税,交不起税的城镇将会倒闭.
  
:Residents have their permission nodes configurable via TownyPerms.yml.
+
:城镇的发展会远离城镇中心,城镇中心区块取决于城主建城的位置. 城镇中心需要被声明来作为城镇出生点, 除非城主已在野外声明了一个前哨.
 +
===== {{MCColor|&4|<big>城主</big>}} =====
 +
:城主和城镇助手一起管理城镇居民. 城主的权限可在 TownyPerms.yml 内设置.
  
===== 城镇 =====
+
:城主可以决定居民的等级. 他们可以成为城镇助手或管理员在townyperms.yml内设置的其他自定义等级. 城主可以用 ‘/town ranklist’ 看到等级列表. 可以用 ‘/town rank {add|remove} {玩家名} {头衔}’. 一个玩家可以拥有多个头衔,管理员可以为城镇创建不同的角色,头衔.
  
:A town is a collection of residents (or just one resident) with one resident as the mayor. A town also has a bank which the mayor can withdraw from. A mayor can also have assistants who have the same powers as him/herself. Towns can have taxes that will be taken at the end of each day interval.
+
:你不可能管理多个城镇除非你是服务器管理员. 管理员可以这样来管理两个或更多城镇:
  
:Towns usually grow outwards from their home block, the townblock the mayor stood in during town creation. Townblocks need to be claimed beside other townblocks, unless the mayor claims an outpost in the wilderness.
+
  举个栗子:  
 +
<spoiler>
 +
  管理员bubu想要有个服务器官方城镇, 然而他已经有自己的城镇. bubu将会建立他的服务器官方城镇并设置税收,土地价格和权限.这种城镇不应该给予居民、盟军或外来者权限.
 +
  bubu完成制作他的城镇并输入 /townyadmin set mayor {城镇名} npc 来放置一个虚假的 'npc' 居民作为服务器城镇的城主.
 +
  然后bubu离开了服务器城镇并创建了他自己的城镇. 使用 /townyadmin set mayor {城镇名} npc 指令,bubu就能往返于两镇之间.
 +
  bubu并没有离开他的城镇来把玩家邀请到服务器城镇内! 他可以使用/townyadmin town {城镇名} add {玩家名}  来把玩家拉到服务器城镇内.
 +
  或在 config.yml内设置 default_town_name: 'Server_Town' .
 +
  bubu添加NPC城镇到一个国家内,他只输入了 /ta nation {国家} add {城镇}.
 +
</spoiler>
 +
=====  {{MCColor|&7|被放逐者}} =====
 +
{|class="common-box" style="margin: 0px 15%; width:{{{width|70%}}}; background: #cfe2f3;"
 +
|-
 +
|  {{MCColor|&7|'''<big><big>放</big></big><br />
 +
<big><big>逐</big></big><br />
 +
<big><big>者</big></big>'''}}
 +
|
 +
:城镇0.92.0.0版本中,城主可以设置驱逐出境的名单,需输入/town outlaw [add/remove] [玩家名].<br />
 +
但输入指令还需要towny.command.town.outlaw权限.
 +
:被放逐者可以是任何玩家. 如果你的城镇的玩家在列表上,那么他就会被自动踢出城镇.
 +
:如果是开放的城镇,这可以阻止这些玩家自由地出入城镇.
 +
:进入一个被认为是被放逐者的城镇的玩家将会受到警告<br />
  
===== 镇长 =====
+
:被放逐者如果在被放逐的城镇内死亡则会被羁押到城镇监狱内,这需要config.yml 内配置jail.is_jailing_attacking_outlaws 为 true.
 +
:这也需要击杀被放逐者的人拥有 towny.outlaw.jailer 权限才会触发.同时城镇也要有个监狱才行.
 +
:默认只有城主,助手和警长拥有towny.outlaw.jailer 权限.
  
:Mayors run towns and with the help of their assistants, manage a town and its residents. Mayors have their permission nodes configurable via TownyPerms.yml.
 
  
:Mayors can decide which ranks their residents fall into, in their town. This can be a Town Assistant or any other custom ranks created by the server admin in the townyperms.yml file. Mayors can see the available ranks using ‘/town ranklist’ command. Players are ranked using ‘/town rank {add|remove} {playername} {rankname}’. A player can have more than one rank assigned, allowing admins to create diverse town-roles such as bankers, builders, inviters for the mayor to choose for their trusted residents.
+
|-
 +
!
 +
|}
  
:It is not possible to run two towns unless you are also an admin. An admin can do the following to manage two or more towns:
+
===== {{MCColor|&c|国家}} =====
  
  Example: Admin Bob
+
:国家由一个作为国都的城镇和其他多个城镇组成 (或只有一个城镇). 掌控国都的城主就是国王.国家可以对其他国家挑起战事. 国家也有独立的银行. 国家银行可从城镇内收税.
  Admin Bob wants to have a server-town, and his own town. Bob would start by creating his Server Town and setting up taxes, plotprices, permissions. This sort of town should not give residents, allies or outsiders permissions in the   
 
  Server Town.
 
  When Bob finished making his town the way he wants he uses /townyadmin set mayor {townname} npc to place a fake 'npc' resident as mayor of the Server Town.
 
  Then Bob leaves Server Town and creates his own town. Using the /townyadmin set mayor {townname} npc command Bob can flip back and forth between towns.
 
  Bob doesn't have to leave his town to add players to the Server Town though! He can use /townyadmin town {townname} add {playername}  to add players to the Server Town or set default_town_name: 'Server_Town' in config.yml.
 
  Bob can also add the NPC town into a nation using /ta nation {nation} add {town}.
 
  
===== 国家 =====
+
:两个国家可以建立同盟国, 来让居民防止友军伤害, 互相发展建设 (如果土地权限开启了ally权限的话,)也可以各自在战争中互助.
  
:A nation is a collection of towns (or just one town) with one town as the capital. The mayor of that capital is the king. A nation can join the war event, as well as ally other nations. A nation also has it’s own bank. It can also tax the towns that belong to it.
+
:0.91.0.0之后的版本,你可以限制国家联盟只能是双向的,来让国家 A 无法把国家B视为盟国除非国家B把国家A视为盟国. 你可以在配置内启用这个选项: war.disallow_one_way_alliance, 默认关闭.
  
:Two nations can decide to join in an alliance, which allows them to be protected from friendly fire, help on each others plots (if the plot’s perm line allows allies,) and to help each other in war.
+
:并且0.91.0.0之后的版本, 你可以限制谁创建,加入和维护一个国家通过设置最小所需居民数.查看 config.yml内的 Global Town Settings部分.
  
:As of 0.91.0.0, you may restrict nation alliances to be 2-way only. So that Nation A cannot consider Nation B an ally unless the Nation B also considers Nation A an ally. You may turn this setting on in the config: war.disallow_one_way_alliance, which defaults to false.
+
===== {{MCColor|&6|国王}} =====
  
:Also, as of 0.91.0.0, you may restrict who can create, join and maintain a nation by requiring a minimum number of residents. See the Global Town Settings section of the config.yml.
+
:国王领导国家,也是国都的城主. 国王的权限可在 TownyPerms.yml 内设置.
  
===== 国王 =====
+
:国王可以决定居民的职位. 他们可以成为国家总理 或其他的自定义职位. 国王 可以用 ‘/nation ranklist’ 查看头衔. 玩家可以通过‘/nation rank {add|remove} {玩家名} {头衔}’来被授予头衔. 玩家可以拥有多个头衔, 管理员可以创建不同的国家角色.
  
:Kings lead Nations and are the mayor of the capital city. Kings have their permission nodes configurable via TownyPerms.yml.
+
:国王可以对所统治的城镇内的居民设置头衔 (前缀) 和姓氏 (后缀) . 可以这样设置:
  
:Kings can decide which ranks their residents fall into, in their nation. This can be a Nation Assistant or any other custom ranks created by the server admin in the townyperms.yml file. Kings can see the available ranks using ‘/nation ranklist’ command. Players are ranked using ‘/nation rank {add|remove} {playername} {rankname}’. A player can have more than one rank assigned, allowing admins to create diverse nation-roles such as bankers, inviters for the king to choose for their trusted residents.
+
:*/nation set title {玩家名} 头衔
 +
:*/nation set surname {玩家名} 姓氏
 +
:在玩家名后留空来重置头衔和姓氏.
 +
|
 +
|}<noinclude>
  
:Kings have the ability to set titles (prefixes) and surnames (postfixes) to the residents of the towns they have in their nation. This is done with:
+
{|class="common-box" style="margin: 0px 15%; width:{{{width|70%}}}; background: #fbfbfb; border: 3px solid {{{color|#B0B0B0}}};"
 +
|-
 +
| style="padding: 2px 0 2px 0.5em" |
 +
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}"><center></div>
 +
|-
 +
!
 +
|
 +
==== 配置 Townyperms.yml 和角色头衔 ====
  
:*/nation set title {name} titlegoeshere
+
:Towny 0.82.0.0 之后的版本拥有新的配置文件, TownyPerms.yml, 位于 towny\settings\ 文件夹.
:*/nation set surname {name} surnamegoeshere
 
:Typing the commands with nothing after the player’s name resets the title or surname to blank.
 
  
===== Configuring Townyperms.yml and the Roles of the Ranks Within =====
+
:该系统将权限直接到bukkit并兼容其他权限插件 它允许您根据玩家地位自定义权限 (流浪者/居民/城主/国王). 您还可以根据指定的 城镇/国家 头衔分配额外的权限 (助手/vip之类). 这个系统不被城镇权限所限制. 您可以为其组中的任何插件分配任何权限.
  
:New to Towny 0.82.0.0 and onwards towny has a new configuration file, TownyPerms.yml, located in the towny\settings\ folder.
+
:这个文件允许管理员决定每个玩家的等级可以做的事。某些级别是自动分配的:
  
:This system pushes permissions directly to Bukkit and works along side all other perms plugins. It allows you to define sets of permissions based upon a players status (nomad/resident/mayor/king). You can also assign additional permissions based upon any assigned town/nation ranks (assistant/vip etc). This system is not limited to Towny permission nodes. You can assign any permissions for any plugins in it’s groups.
+
::*没有城镇的玩家是流浪汉.
 +
::*有城镇的玩家是居民.
 +
::*城镇的主人是城主.
 +
::*国家的主人是国王.
  
:This file allows admins to decide what each player-rank can do. Some ranks are assigned automatically:
+
:一些头衔属于城主或国王, 和增加玩家已有的头衔:
  
::*Players without towns are Nomads.
+
::*城主可以把居民提拔为城镇助手.
::*Players in towns are Residents.
+
::*国王提拔一个居民为国家总理.
::*Owners of towns are Mayors.
+
::*城主和国王可以被授予管理员创建的自定义头衔.
::*Owners of nations are Kings.
+
:::*玩家可以从他们的城主或国王那里得到许多额外的头衔,作为不同的城镇/国家角色.
 +
:::*例如城镇建设者, 城镇银行家, 国家银行家, 萌新邀请人.
  
:Some ranks are assigned by Mayors or Kings, and supplement the ranks the players already have:
+
:居民可以输入 ‘/town ranklist’查看城镇呢ID头衔. 城镇可使用‘/town rank {add|remove} {玩家名} {头衔}’ 来给予居民头衔. 国王可以使用/nation rank {add|remove} {玩家名} {头衔}’ 来给予臣民头衔.
  
::*Mayors can make a resident a Town Assistant.
+
==== 设置国家和国王的头衔, 城镇和国家的名字 ====
::*Kings can make a resident a Nation Assistant.
+
<spoiler>
::*Mayors and kings can grant admin-created ranks, allowing for diverse customization.
+
:你可以自定义城主, 国王, 城镇, 国都和国家的名字.
:::*A player can attain many Supplemental ranks from their mayor or king, allowing for diverse nation/town-roles.
 
:::*Examples of this would be town-builders, town-bankers, nation-bankers, town-inviters, etc.
 
  
:A resident of a town can see the ranks within their town using ‘/town ranklist’. A mayor can use ‘/town rank {add|remove} {playername} {rankname}’ to give a player a new rank within their town. A king can use ‘/nation rank {add|remove} {playername} {rankname}’ to give a player a new rank within their nation.
+
:这可以在config.yml内配置
  
===== 设置国家和国王的标题, 城镇和国家的名字 =====
+
::*城镇等级:
 
+
::**基本的城镇等级安排如下:
:Towny gives you the ability to customize the naming scheme applied to Mayors, Kings, Towns, Capital Cities and Nations.
 
 
 
:This is done with two sections in the config.yml
 
 
 
::*town_level:
 
::**The basic layout of the townLevel lines are as follows:
 
  
 
     -  upkeepModifier: 1.0
 
     -  upkeepModifier: 1.0
第195行: 第256行:
 
         numResidents: 2
 
         numResidents: 2
  
:*These are read as follows:
+
:*这些内容如下所示:
:*upkeepModifier: 1.0 – Use a higher multiplier to increase the upkeep as towns get more residents (unless you use town_plotbased_upkeep:true in which case it is based off of plot-count rather than resident-count.)
+
:*upkeepModifier: 1.0 – 使用更高的倍数来增加城镇获得更多居民所需的维护费用 (除非你设置town_plotbased_upkeep:true.)
:*namePostfix: ‘ (Settlement)’ – This is added to the end of the town name.
+
:*namePostfix: ‘ (Settlement)’ – 城镇名后缀.
:*mayorPrefix: ‘Hermit ‘ – This is added to the front of the mayor’s name.
+
:*mayorPrefix: ‘Hermit ‘ – 城主名前缀.
:*mayorPostfix: ” – This is added to the end of the mayor’s name.
+
:*mayorPostfix: ” – 城主名后缀.
:*townBlockLimit: 16 – This decides how many townblocks a town gets, it is only used if town_block_ratio: ‘0’ is set in the config.yml.
+
:*townBlockLimit: 16 – 城镇可获得的区块数, 这只在 town_block_ratio: ‘0’ 时被使用.
:*namePrefix: ” – This is added to the front of the town name.
+
:*namePrefix: ” – 城镇名前缀.
:*numresidents: 1 – This is how many residents a town needs to have in order to attain the prefixes/postfixes of the townlevel.
+
:*numresidents: 1 – 一个城镇需要有多少居民来获得城镇等级的前后缀.
:*The two levels above are for towns of 1 and 2 residents. When a town is created the mayor’s new town has (Settlement) added to the end of his townname and he is given the prefix of Hermit. When the mayor gets a second resident his town becomes Townname (Hamlet) and he receives the prefix of Chief.
+
:*以上例子是对于一个城镇和2个居民而言. 当城镇的新城镇创建后 (Settlement)会被添加到城镇名后面然后他会获得Hermit前缀. 当国家拥有2个居民后,城镇名 会有后缀(Hamlet)并且城主会获得Chief的称号.
:*nation_level:
+
:*国家等级:
:**The basic layout of the nationLevel lines are as follows:
+
:**基本的国家等级安排如下:
  
 
         -  capitalPostfix: ''
 
         -  capitalPostfix: ''
第228行: 第289行:
 
             nationTownUpkeepModifier: 1.0
 
             nationTownUpkeepModifier: 1.0
  
:*These are read as follows:
+
:*这些内容如下所示:
:*capitolPostfix: ” – This is added to the end of the capital city of the nation.
+
:*capitolPostfix: ” – 被添加到国都名字后的后缀.
:*upkeepModifier: 1.0 – Use a higher multiplier to increase the upkeep as nations get more residents (unless you use town_plotbased_upkeep:true in which case it is based off of plot-count rather than resident-count.)
+
:*upkeepModifier: 1.0 – 随着国家拥有更多居民,增加维护费用的倍数 (除非你使用town_plotbased_upkeep:true 在这种情况下,它是基于 plot-count 而不是 resident-count.)
:*namePostfix: ‘ (Nation)’ – This is added to the end of the nation name.
+
:*namePostfix: ‘ (Nation)’ – 国家名后缀.
:*kingPrefix: ‘Count ‘ – This is added to the front of the nation-leader.
+
:*kingPrefix: ‘Count ‘ – 国王名前缀.
:*townBlockLimitBonus: 10 – This is the number of bonus townblocks given to a town when they join a nation.
+
:*townBlockLimitBonus: 10 – 每个城镇加入国家的区块奖励数.
:*namePrefix: ‘Federation of ‘ – This is added to the front of the nation name.
+
:*namePrefix: ‘Federation of ‘ – 国家名前缀.
:*numResidents: 10 – This is how many residents a nation must have to receive the prefixes and postfixes of the nation level.
+
:*numResidents: 10 – 这是一个国家获得前缀和后缀所需的居民数.
:*capitalPrefix: ” – This is added to the front of the capital city of the nation.
+
:*capitalPrefix: ” – 国都前缀.
:*kingPostfix: ” – This is added to the end of the nation-leader’s name.
+
:*kingPostfix: ” – 国王名后缀.
:*nationTownUpkeepModifier: 1.0 – Joining a nation will lower/raise how much town upkeep your town pays. This multiplier is calculated after all other multipliers have their effect on the town upkeep cost. When set at 1.0, there is no :*change to upkeep.
+
:*nationTownUpkeepModifier: 1.0 – 一个城镇加入国家增加/减少的维护费用率. 这个倍数是在所有其他倍数对城镇维护成本产生影响之后计算的.当设置为 1.0, 维护费用不变.
 +
</spoiler>
 +
|
 +
|}<noinclude>
 +
 
 +
 
 +
==== <big>聊天系统</big> ====
 +
聊天系统需要安装Townychat.jar才会生效,具体可以查看[[Towny/聊天系统]]
 +
==== <big>{{MCColor|&2|银行}}</big> ====
 +
城镇和国家都有银行,居民可以捐钱但只有城主或国王才能取钱.<br />
 +
 
 +
城镇所收的税也会被存入银行.声明土地或前哨、日常维护费都是从银行中扣除.<br />
 +
 
 +
居民捐钱指令:<br />
 +
/t deposit [钱数] 来捐钱给城镇<br />
 +
/n deposit [钱数] 来捐钱给国家<br />
 +
国王/城主取钱指令:<br />
 +
/t withdraw [钱数]<br />
 +
/n withdraw [钱数]<br />
  
 
----
 
----
第245行: 第324行:
 
===== 城镇起源 =====
 
===== 城镇起源 =====
  
:Mayors start towns using the command /town new {townname}. The townblock they are standing in will be the home block for the town, the exact spot/position will be the spawn point for the town.<br />
+
:玩家可以输入 /town new {城镇名}来建立城镇.城镇中心就会被设在玩家的脚下,实际上也是城镇的出生地.<br />
  
:More townblocks can be claimed using /town claim. These townblocks need to be directly adjacent to already claimed townblocks.
+
:可以用 /town claim 来声明更多区块来扩大城镇. 这些区块需要与已声明的区块接壤.
  
 
===== 加入城镇 =====
 
===== 加入城镇 =====
  
:There are two ways to join towns, the first is by being invited by a Mayor or a Town assistant. The second it by joining an open town.
+
:有两种方法可以加入城镇, 玩家可以被城主或城镇助手邀请加入. 其次玩家可以加入开放的城镇.
  
:Mayors and assistants can add players to their town with the command /town add {playername}. If the server has Questioner.jar and using_questioner: true in the Towny config.yml then the player will receive a prompt to either /accept or /deny the invitation.
+
:城主及助手可以输入指令/town add {玩家名}来邀请玩家加入你的城镇. 如果服务器安装了 Questioner.jar 并设置 using_questioner: true 在城镇的 config.yml 内,那么玩家可以输入/accept 同意或 /deny 拒绝.
  
:Mayors can set their towns to open using /town toggle open. A player who isn’t in a town already can use the command /town join {townname} to join open towns.
+
:城主可以输入/town toggle open设置城镇为公开. 一个不在城镇内的玩家可使用 /town join {城镇名} 来加入开放的城镇.
  
:When residents join towns they increase the number of townblocks accessible to the mayor for claiming.
+
:当居民加入城镇会增加城主可以扩展的区块数.
  
 
----
 
----
==== <big>土地所有制</big> ====
+
==== <big>{{MCColor|&c|土地所有制}}</big> ====
  
===== 城镇区块 =====
+
===== <big>城镇区块</big> =====
 
 
:Towny provides a server admin a hands-off approach to block-protection. Block protection is broken down into plots of land, called townblocks, which by default are 16x16x128 (the full height of the world.)
 
:Townblocks are claimed by town mayors who can then sell/give individual plots to their town’s residents.
 
  
 +
:城镇给管理员提供一种不需要插手的方法来保护方块.在不同的城镇区块内的方块保护不同, 默认大小 16x16x128 (该世界的最高高度.)
 +
:城镇区块由城主声明来给予或出售给居民.
 +
----
 
====== 城镇区块大小 ======
 
====== 城镇区块大小 ======
  
:You change the townblock size in config.yml at ''town_block_size: 16.'' '''Changing this value is suggested only when you first install Towny.'''a
+
:你可以在config.yml 内修改每个城镇区块的大小: ''town_block_size: 16.'' '''最好在你第一次安装城镇的时候改变这个数值.'''a
:Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,at the cost of more work setting up. Also, extremely small values will render the caching done useless.
+
:输入数据将很麻烦. 使用较小的值分得的区块也较小,会以更多的工作为代价. 另外,极小的值会使缓存变得无用.
:Each cell is (town_block_size x town_block_size x 128) in size, with 128 being from bedrock to clouds.
+
:每个区块是 (town_block_size x town_block_size x 128), 128是从基岩到云巅的距离.
  
 
====== 设置每次声明城镇区块的范围 ======
 
====== 设置每次声明城镇区块的范围 ======
  
:You can change how many town blocks a town gets to claim. This is done in two places.
+
:你可以改变城镇可以声明的区块数. 这可以在两个地方设置.
:Towny checks first in the config.yml at ''town_block_ratio: 8'' and by default gives a town 8 townblocks per resident.
+
:城镇首先在 config.yml 内的 ''town_block_ratio: 8'' 默认设置城镇每有一人居民给予8个区块.
:You can override this by setting ''town_block_ratio: 0'' and using the townLevel section of the config.yml
+
:你可以改为 ''town_block_ratio: 0'' 并使用 config.yml 内的城镇等级部分
:More information on the townLevel line and how to configure it is here.
+
:更多城镇等级的信息并如何配置的方法在这.
  
 
====== 购买城镇区块 ======
 
====== 购买城镇区块 ======
  
:Mayors can buy townblocks using /town buy bonus {amount}. An admin can set a maximum limit on how many townblocks a town can buy in the config.yml at max_purchased_blocks: '0'. The price of a bought townblock is also set in the config.yml at price_purchased_bonus_townblock: '25.0'.
+
:城主可以输入 /town buy bonus {数量} 来购买城镇区块. 管理员可以设置一个城镇可购买的城镇区块数,在 config.yml 内的 max_purchased_blocks: '0'. 购买价格也可设置,在 config.yml 内的 price_purchased_bonus_townblock: '25.0'.
:Using this feature, mayors can grow their town without needing new residents.
+
:使用这个特性, 城主可以不需要居民来扩大城镇领土.
  
===== 土地类型 =====
+
===== <big>土地类型</big> =====
 
+
----
:Towny post-0.75 has added plot types besides the default. This is to give mayors more control over their towns.
+
:城镇0.75之后的版本添加了土地类型. 这可以让城主更好地管理自己的城镇.
  
:As of now there are:
+
:到现在为止有如下类型
  
 
====== 默认土地 ======
 
====== 默认土地 ======
  
:These plots do not need any specific command to be designated.
+
:这些土地不需要指定任何特定的命令.
:They are put up for sale with /plot forsale {$$}.
+
:可以输入 /plot fs {价格} 来出售该土地.
:A plot which is not of default type can be reset to a default plot with /plot set reset.
+
:不是默认类型的土地可以用 /plot set reset 来重置.
  
====== 商店 ======
+
====== {{MCColor|&6|商店}} ======
  
:Shop plots are designated with /plot set shop
+
:商店地皮可以输入 /plot set shop 来设置.
:A mayor can use /town set shopprice {$$} to set how much shop plots are sold at by default. This can be overriden when a mayor puts the actual plot up for sale with /plot forsale {$$}.
+
:城主可以使用/town set shopprice {$$} 来出售商店地皮. 这可以被 /plot forsale {$$} 覆盖.
:A mayor can also charge an additional shoptax with /town set shoptax {$$}. This tax is charged in addition to the normal plottax.
+
:城主也可以输入 /town set shoptax {$$} 来收税. 这个税收不包括普通的土地税.
  
====== 竞技场 ======
+
====== {{MCColor|&4|竞技场}} ======
  
:Arena plots are designated with /plot set arena.
+
:竞技场可以输入 /plot set arena 来设置.
:PVP is on all the time in arena plots as well as friendly-fire damage. Town health regen is also disabled in arena plots.
+
:PVP默认开启. 城镇生命恢复也会在此关闭.
  
====== 大使馆 ======
+
====== {{MCColor|&a|大使馆}} ======
  
:Embassy plots are designated with /plot set embassy
+
:大使馆可以输入 /plot set embassy 来设置
:A mayor can use /town set embassyprice {$$} to set how much embassy plots are sold at by default. This can be overriden when a mayor puts the actual plot up for sale with /plot forsale {$$}.
+
:城主可以使用/town set embassyprice {$$} 来设置大使馆地皮的价格. 这可以被 /plot forsale {$$}覆盖.
:A mayor can also charge an additional embassytax with /town set embassytax {$$}. This tax is charged in addition to the normal plottax.
+
:城主可以输入 /town set embassytax {$$}来收税. 这个税收不包括普通的土地税.
:An embassy plot can be bought by any player, whether they are in a town or not. The townblock remains owned by the host-town and a mayor from the host-town can take the plot from the owner at any time.
+
:任何玩家都可以购买大使馆, 无论他们是否拥有一个城镇.城镇区块仍属于该城镇并且城主可以随时把该地的地主踢出去.
:Embassy plots can also be changed into shop plots, allowing for larger shop towns, where many different towns’ players can set up shops.
+
:大使馆也可以作为商店, 作为更大的商店城镇, 不同城镇的玩家都可设置商店.
:When a player leaves a town they do not lose ownership of their plots if those plots are set to be Embassy plots.
+
:当玩家离开一个城镇不会失去他在大使馆的地主身份.
 +
====== 掘战区域 ======
 +
在0.91开发版本内存在。
 +
在正式版内被删除。
  
====== 荒郊野外 ======
+
====== {{MCColor|&7|荒郊野外}} ======
  
:Wilds plots are designated with /plot set wilds
+
:荒郊野外可以用 /plot set wilds 来设置
:A wilds plot allows residents to destroy the blocks found on the wild ignore ID list. This includes ores, trees, flowers, mushrooms and other harvestable blocks by default. It does not include stone, dirt, grass and other terrain blocks.
+
:荒郊野外允许居民破坏某些种类的方块. 默认包括矿物, 树木, 植物, 蘑菇和其他方块. 默认不包括石头, 泥土, 草方块和其他植被.
:It is useful for creating tree farms, and protecting the terrain around a town, while still allowing residents to cut trees and explore caves.
+
:这对植树造林和保护城镇周边环境起到很重要的作用.
:Setting up wilds plots can be slightly complex, here are instructions.
+
:设置为荒野有点复杂, 指令如下.
  
# Navigate to your towny\data\worlds\WORLDNAME.txt file
+
# 位于到您的 towny\data\worlds\WORLDNAME.txt 文件
 
# Set:
 
# Set:
 
#*  unclaimedZoneBuild=false
 
#*  unclaimedZoneBuild=false
 
#*  unclaimedZoneDestroy=false
 
#*  unclaimedZoneDestroy=false
#Configure the unclaimedZoneIgnoreIds line to include the blocks you would like players to break/build.
+
#设置 unclaimedZoneIgnoreIds 添加你想要玩家破坏/放置的方块ID.
#Go to the Wilds plots you can set using /plot set wilds
+
#你可以使用 /plot set wilds 设置为荒野
#Use ‘/plot set perm resident build on’ and ‘/plot set perm resident destroy on’ to enable residents to break/build using only the blocks in the ignoreIDs list.
+
#使用‘/plot set perm resident build on’ ‘/plot set perm resident destroy on’ 来开启居民 居民只能破坏已设置的方块种类.
  
====== 旅店 ======
+
====== {{MCColor|&2|旅店}} ======
  
:Inn plots are designated with /plot set inn
+
:旅店可以用 /plot set inn 来设置
:An Inn plot allows anyone to use a bed to set their ‘/res spawn’ and spawn on death. The Inn plot will still deny a player who is in a nation declared as an enemy by your nation.
+
:任何人都可以使用旅馆内的床来设置重生点 输入‘/res spawn’ . 旅馆会拒绝敌国的居民.
:For them to function deny_bed_use: ‘true’ must be set in the config.yml
+
:启用这个特性需要在 config.yml 内设置 deny_bed_use: ‘true’  
  
====== 监狱 ======
+
====== {{MCColor|&c|监狱}} ======
  
:Jail plots are designated with /plot set jail
+
:监狱可以用 /plot set jail 设置
  
 
:* 可以囚禁玩家
 
:* 可以囚禁玩家
 
::*如果玩家所在的城主/警察 把该玩家送到监狱.
 
::*如果玩家所在的城主/警察 把该玩家送到监狱.
::*攻击城镇的人将被视为敌人 (国家关系) dies in that Town. He is sent to the first available Jail plot of the defending town.
+
::*攻击城镇的人将被视为敌人 (国家关系) 在敌国城镇死亡会被监禁. 他会被羁押到城镇内可用的监狱区块内.
  
 
:*囚犯将被释放 如果:
 
:*囚犯将被释放 如果:
 
::*他们离开自己的城镇而变为流浪汉,
 
::*他们离开自己的城镇而变为流浪汉,
 
::*城镇/警察释放了他,
 
::*城镇/警察释放了他,
::*玩家向被监禁的城镇支付保释金, (使用: /resident jail paybail)
+
::*玩家向被监禁的城镇支付保释金, (用法: /resident jail paybail)
 
::*他们设法逃出了监狱区块并到达荒野.
 
::*他们设法逃出了监狱区块并到达荒野.
  
第356行: 第438行:
 
:*死亡的囚犯就会被送回监狱.
 
:*死亡的囚犯就会被送回监狱.
 
:*囚犯被杀不会获得金钱.
 
:*囚犯被杀不会获得金钱.
:*囚犯 show their jailed status in the /res [playername] screen, along with the town they are jailed in.
+
:*囚犯 可以输入 /res [玩家名] 来显示与其他在监狱内的玩家的地位.
:*It is suggested you make a new town rank in the townyperms.yml called Sheriff, and give that rank the towny.command.town.toggle.jail node. Newly generated townyperms.yml files will contain this rank by default.
+
:*建议你在townyperms.yml内创建新的城镇头衔叫做 Sheriff (警长) , 并给予头衔 towny.command.town.toggle.jail 权限. 最新的版本将会在 townyperms.yml 生成.
  
====== 农场 ======
+
====== {{MCColor|&c|农场}} ======
  
:Farm plots are designated with /plot set farm
+
:农场可以输入 /plot set farm 来设置
  
:A Farm plot players to only build/destroy blocks designated in the Towny Config.yml at global_town_settings.farm_plot_allow_blocks. By default this list includes “LONG_GRASS, DOUBLE_PLANT, YELLOW_FLOWER, RED_ROSE, PUMPKIN_STEM, MELON_STEM, BEETROOT_BLOCK, CARROT, POTATO, CROPS, MELON_BLOCK, PUMPKIN”.
+
:玩家只能破坏和建筑农场内的某些方块,可在Config.yml global_town_settings.farm_plot_allow_blocks 配置. 默认包括 “草丛, 各种花, 南瓜种子, 西瓜种子, 地狱疣等其他农作物”.
  
::Who can build/destroy these blocks is still determined by the plot’s perm line seen in the /plot perm screen. This means that if B=rao, anyone can plant/place the allowed blocks in the plot. If the B=r– then only town residents can plant/place the allowed blocks.
+
::可以破坏/建筑这些方块仍取决于 /plot perm 内显示的不同身份的权限. 这意味着如果 B=rao, 任何人都可以破坏/放置指定的方块. 如果 B=r– 那么就只有居民可以破坏/放置指定的方块.
  
:If admins want, they can add SOIL to the allowed blocks list, which will allow anyone allowed via the perm line to also make soil with a hoe. By default SOIL is not included and only admins/mayors/assistants will be able to create soil with a hoe. Towny already protects soil from being stomped into grass, so soil will only return to dirt if it is not irrigated.
+
:如果你想要的话可以添加耕地到列表内. 默认列表内不包括耕地并只有管理员/城主/助手才能用锄头耕地. 城镇已经保护了作物不会被踩成泥土, 所以耕地只会在水源枯竭的情况下变为泥土.
  
:Farm plots also allow town residents to kill animals in the plot. The list of animals is set in the config at global_town_settings.farm_animals. By default this list includes “PIG,COW,CHICKEN,SHEEP,MOOSHROOM”.
+
:农场允许城镇居民击杀里面的动物. 可以在配置内 global_town_settings.farm_animals 配置可击杀动物. 默认可击杀 “猪牛鸡羊和蘑菇牛”.
 +
----
 +
====== {{MCColor|&6|银行}} ======
 +
:银行是在0.93.00版本添加的新土地类型
  
 
===== 前哨 =====
 
===== 前哨 =====
  
:Normally townblocks are claimed around the home block, always connected to the town. To claim a townblock out in the wilderness, a mayor or assistant must claim an outpost.
+
:普通的城镇区块只能围绕城镇中心区块扩建. 想要在荒郊野外声明区块,城主或助手需要设立前哨.
  
:In order for players to claim outposts, the config must be set to ''allow_outposts:'' true and players require towny.town.claim.outpost in their permission node group.
+
:为了让玩家可以声明前哨, 必须设置''allow_outposts:'' true 并且玩家需要有 towny.town.claim.outpost 权限.
  
:An admin can configure how many outposts a player can claim, this is set in your permissions plugin’s info/option/meta node section using the towny_maxoutposts: {number} info node. [http://towny.palmergames.com/towny/towny-permission-nodes/ See here.]
+
:管理员可以设置一个玩家可以声明多少个前哨, 可以在你的权限插件内的 info/option/meta 节点部分找到. 使用 towny_maxoutposts: {数字} 信息节点. [http://mineplugin.org/Towny/%E6%9D%83%E9%99%90%E8%8A%82%E7%82%B9 城镇权限列表在这.]
  
:Outposts cannot be claimed too close to other home blocks, just like when a mayor starts a town they cannot be too close. The exact number is set in the [http://towny.palmergames.com/towny/towny-config-yml/ config.yml] at ''min_distance_from_town_homeblock: 5''. In the default setting an outpost cannot be claimed within 5 townblocks of any other homeblock.
+
:前哨无法离城镇中心区块太近, 就如城主不能在已存在的城镇周围建城. 确切的数字可在这里设置: [http://mineplugin.org/Towny#config.yml config.yml] at ''min_distance_from_town_homeblock: 5''. 默认前哨需要离城镇中心区块5个区块远.
  
:Outposts have two settings in [http://towny.palmergames.com/towny/towny-config-yml/ config.yml]
+
:前哨拥有两个设置,在 [http://mineplugin.org/Towny#config.yml config.yml]
  
:*By setting ''allow_outposts: false'' you can disable outposts completely.
+
:*设置 ''allow_outposts: false'' 你可以完全关闭前哨.
:*You can also set the cost of claiming an outpost with ''price_outpost: 500.0''
+
:*你也可以设置声明前哨所需的费用 ''price_outpost: 500.0''
  
:Outposts can be teleported to, mayors set the spawn point of the outpost when they claim it or using ‘/town set outpost’. Players teleport to the outpost using ‘/town outpost x’ (with x being a number 1 – however many outposts the town has.)
+
:前哨也可以传送, 在城主声明的位置会被作为传送点 或使用 ‘/town set outpost’ 来传送. 玩家可以输入‘/town outpost x’ 传送到某个前哨(x 可以是 1 到服务器拥有的前哨数.)
  
===== 出售中的土地 =====
+
===== 市中之地 =====
  
Land is sold by Mayors to Residents that are a part of their town. using_iconomy: true must be set in [http://towny.palmergames.com/towny/towny-config-yml/ config.yml] in order for costs to be applied. Mayors have a command used in game to set the cost of all the plots that are set for sale hence-forth.
+
城主可以出售土地给居民. 必须设置 using_iconomy: true [http://towny.palmergames.com/towny/towny-config-yml/ config.yml] 来启用收费. 城主可以使用一个命令来设定所有待售地块的费用.
  
 
*''/town set plotprice {$}''
 
*''/town set plotprice {$}''
:*This sets the cost of newly-set-for-sale plots, already set-for-sale plots keep their costs. If it is not set, the plots will cost $0 by default.
+
:*这只会设置新的设置为出售的土地, 已经设置了的则保持原价格. 如果没有设置, 地皮价格默认为 $0.
 +
 
 +
:为了让土地可出售,当城主站在一块土地上, 输入 /plot forsale {价格} 居民需要输入站在这块出售的土地上输入 /plot claim 来购买.
 +
 
 +
===== 地图 =====
 +
 
 +
:城镇地图展示了网格区块. 使用 /towny map 可以看到地图或者<br />
 +
每次你从一个区块走到另一个区块都可以看到:
 +
 
 +
*使用''/res set mode map'' 来开启.
 +
*使用''/res set mode reset'' 来关闭.
 +
 
 +
:可以用 /towny map 看到地图.<br />
  
:To put a plot up for sale a mayor, while standing in the plot, type /plot forsale {optional cost} The resident would then type /plot claim while standing in the plot to buy it.
+
[[File:townymap.jpg]]
 +
======大地图======
 +
输入/towny map big可查看城镇大地图,一次性显示整个城镇的区块分布.<br />
  
===== 地图用法 =====
+
[[File:townybigmap.jpg]]<br />
  
:The map in towny displays the grid system of plots. The map can be viewed once using /towny map one time or you can set the map to show every time you move from one block to another:
+
缩写解释:
 +
* J=jail=监狱
 +
* E=embassy=大使馆
 +
* A=arena=竞技场
 +
* S=shop=商店
 +
* W=wilds=荒野
 +
* I=inn=旅店
 +
* F=farm=农场
 +
* H=home=城镇之家(城镇中心区块)
  
*Use ''/resident set mode map'' to turn it on.
+
===== 土地回溯 & 未明之地 =====
*And use ''/resident set mode reset'' to turn it off.
 
  
:A large version of the map can be seen using /towny map big.
+
有4种影响城镇区块/土地的设置.
  
===== 土地再生 & 未声明的土地 =====
+
====== 枯竭大地 归于原生 ======
  
There are 4 options for affecting townblocks/plots.
+
:当一块土地荒芜后它将慢慢地恢复到成为城镇前的原始状态. 方块会缓慢地沿着时间线回溯直到归于原生.<br />
 +
要想完全恢复城镇区块就必须在区块快照被移除前尽快重新建立城镇.<br />
 +
<big>译者注:区块快照指的是在玩家声明区块后插件会自动备份该区块的初始状态.你也许可以在后台看到这个消息:</big>
 +
Plot snapshots completed.
 +
如果重新声明回溯中的区块, 那么就可以停止回溯.<br />
 +
如果城镇区块再次荒废的话它仍会回溯至原生.
  
====== 恢复到未成为城镇土地前的原生态的样子 ======
+
*可在这里关闭这项特性: towny\data\worlds\worldname.txt @ 'usingPlotManagementRevert=false'
 +
*或站在你想要开关的世界上输入 ‘/tw toggle revertunclaim’.
 +
*在配置内关闭这项特性 new_world_settings.plot_management.revert_on_unclaim.enabled
  
:When a town plot is unclaimed (by a player or through upkeep) it will slowly begin to revert to a pre town state. Blocks will slowly change back to whatever blocks we’re present at the moment the town block was claimed. A townblock must revert completely before the snapshot of the townblock is removed. If townblock is reclaimed mid-revert, a new snapshot is not taken and if the townblock is unclaimed again it will revert to the original snapshot.
+
:你可以设置一些方块种类无法回溯来阻止玩家挖回溯的钻石矿.
  
*Disabling this feature is done in the towny\data\worlds\worldname.txt @ 'usingPlotManagementRevert=false'
+
*不回溯的方块种类可以在data/worlds/worldname.txt内设置 block_ignore 
*or by using ‘/tw toggle revertunclaim’ while standing in the world you want to toggle it in.
+
*新世界默认的配置在new_world_settings.plot_management.revert_on_unclaim.block_ignore:
*Disabling this feature for new worlds is done in the config at new_world_settings.plot_management.revert_on_unclaim.enabled
+
<big>一个倒闭的城镇:</big><br />
  
:You can configure certain block types you don’t want restored to prevent players exploiting regen for diamond ores.
+
[[File:townyback.jpg|townyback.jpg]]<br />
 +
<big>一个倒闭的城镇回溯中的建筑:</big><br />
  
*Block types to not restore are configured in block_ignore in the worlds txt file data/worlds/worldname.txt
+
[[File:timmer.jpg|timmer.jpg]]
*Defaults for new worlds are set in the config at new_world_settings.plot_management.revert_on_unclaim.block_ignore:
 
  
====== 在未声明区块内删除预定义ID的方块 ======
+
====== 于荒芜之大地 溯余指之尘土 ======
  
:When a town plot is unclaimed (by a player or through upkeep) block IDs matching a list will be deleted within that townblock. This can be useful for deleting all signs within a townblock, ensuring any chests locked with Lockette or Deadbolt signs are unlocked.
+
:当一个城镇区块无人声明成为'''无主之地'''时,在配置中设置的某些类型的方块将会被回溯(默认包括牌子).<br />
 +
这在删除区块内的牌子时很有用, 但你需要确保Lockette或Deadbolt的牌子已解锁.(/plot clear 也可以清除牌子)
  
*Disabling this feature is done in the towny\data\worlds\worldname.txt @ ''usingPlotManagementdelete=false''
+
*可在这里关闭这项特性: towny\data\worlds\worldname.txt @ ''usingPlotManagementdelete=false''
*Disabling this feature for new worlds is done in the config at new_world_settings.plot_management.block_delete.enabled
+
*可配置在新的世界关闭这个特性: new_world_settings.plot_management.block_delete.enabled
  
:You can configure the list of blockIDs to be removed on a per-world basis.
+
:你可以配置每个世界会被移除的方块ID.
  
*The blockIDs listed in the towny\data\worlds\worldname.txt @ 'plotManagementDeleteIds=' will be removed from the townblock.
+
*这些ID的方块列表位于 towny\data\worlds\worldname.txt @ 'plotManagementDeleteIds=' 将会在废弃的城镇区块内被移除.
*Defaults for new worlds are set in the config at new_world_settings.plot_management.block_delete.unclaim_delete
+
*默认新世界的配置在 new_world_settings.plot_management.block_delete.unclaim_delete
  
======  地主和城主的 /plot clear 指令 ======
+
======  一城一地之主 亦可溯荒成流 ======
  
:A feature available only to Town Mayors on public town land: /plot clear. This command is meant to be used after a plot was personally owned by a resident, who either moved to another plot or left town. By default this list includes only signs, useful for mayors to remove sign-protection on doors, chests, furnaces, dispensers and trapdoors given via Lockette or Deadbolt.
+
:对于城主可用的一个特性: /plot clear. 这个指令可以在一个已经搬到另一个区块或离开城镇的玩家拥有的区块内使用. 默认列表里只有牌子,对于城主移除门,箱子等方块上的牌子锁很有用.
  
*Disabling this feature is done in the in the towny\data\worlds\worldname.txt @ ''usingPlotManagementMayorDelete=false''
+
*可在这里关闭这项特性: towny\data\worlds\worldname.txt @ ''usingPlotManagementMayorDelete=false''
*Disabling this feature for new worlds is done in the config at new_world_settings.plot_management.mayor_plotblock_delete.enabled
+
*在此关闭这项特性: new_world_settings.plot_management.mayor_plotblock_delete.enabled
  
:You configure the list of blockIDs to be removed when this command is used.
+
:你可以配置输入这个指令时移除的方块ID.
  
*The list of blockIDs is listed in the towny\data\worlds\worldname.txt @ ''plotManagementMayorDelete=WALL_SIGN,SIGN_POST''
+
*方块ID列表位于 towny\data\worlds\worldname.txt @ ''plotManagementMayorDelete=WALL_SIGN,SIGN_POST''
*Defaults for new worlds are set in the config.yml at new_world_settings.plot_management.mayor_plotblock_delete.mayor_plot_delete
+
*新世界的配置默认位于 new_world_settings.plot_management.mayor_plotblock_delete.mayor_plot_delete
  
As of Towny 0.79.1.0, players can use this command within plots they personally own.
+
自从城镇 0.79.1.0 的版本后, 玩家可以在自家土地上使用这个指令.
  
 
====== 荒芜大地之回溯 ======
 
====== 荒芜大地之回溯 ======
  
:A simple wild_revert_on_mob_explosion option. Will regenerate explosions on a timer.
+
:只需设置 wild_revert_on_mob_explosion. 荒芜的土地将会在一段时间后恢复爆炸破坏的方块.
As of Towny 0.79.1.0 You can now add any entities here you want explosions to revent for in the wilderness (includes Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,TNTPrimed).
+
自从 Towny 0.79.1.0 后的版本,你可以在这里添加有爆炸破坏的实体来回溯方块 (包括 Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,TNTPrimed).
These settings are copied to the individual world files, so you must make changes per world.
+
这些设置被分在不同世界的文件夹, 所以你需要每个世界都更改才有效.
 +
 
 +
*可在这里关闭这项特性: towny\data\worlds\worldname.txt @ ''usingPlotManagementWildRegen=true''
 +
*或站在你想要开关的世界上输入 ‘/tw toggle revertexpl’ .
 +
*在配置内关闭这项特性 new_world_settings.plot_management.wild_revert_on_mob_explosion.enabled
 +
 
 +
:你可以设置回溯方块的速度.
  
*Disabling this feature is done in the in the towny\data\worlds\worldname.txt @ ''usingPlotManagementWildRegen=true''
+
*间隔可以在 towny\data\worlds\worldname.txt @ '设置'usingPlotManagementWildRegenDelay=5''来改变
*or by using ‘/tw toggle revertexpl’ while standing in the world you want to toggle it in.
+
*新世界的设置默认在 config.yml 内的 new_world_settings.plot_management.wild_revert_on_mob_explosion.delay
*Disabling this feature for new worlds is done in the config at new_world_settings.plot_management.wild_revert_on_mob_explosion.enabled
 
  
:You can configure how quickly the blocks will regenerate, specifically how much time in between each block being reverted.
+
----
  
*The timer is changed in the towny\data\worlds\worldname.txt @ ''usingPlotManagementWildRegenDelay=5''
+
===<big>指令</big>===
*The default for new worlds is set in the config.yml at new_world_settings.plot_management.wild_revert_on_mob_explosion.delay
+
----
 +
'''请查看<big>[[Towny/指令|指令页面]]</big>'''
 +
----
  
 +
===权限节点===
 +
'''<big>请查看[[Towny/权限节点 |权限节点页面]]</big>'''<br />
 +
城镇插件的权限默认是配置好的了,基本上不怎么需要修改.
 +
但如果你想修改权限的话,你也可以用Groupmanger之类的权限插件或在Townyperms.yml文件内在你想要的头衔下增减相应权限
 
----
 
----
==== <big> 城镇怎样保护玩家的财产安全 </big> ====
 
  
:Towny’s genius is the way it lets players protect themselves. An admin doesn’t need to go around protecting land for players, and players can’t run rampant claiming massive amounts of land without working for it and building their towns.
+
==== 城镇地皮权限 ====
 +
 
 +
:有4种可以设置个人和城镇区块的权限,  (城镇可以设置城镇全局权限并影响不属于任何玩家的土地.) 最基础的指令是 ''/resident set perm'' 或 ''/town set perm''.
 +
 
 +
:城镇 0.77.0.0 及之后的版本每个土地可以有独立的权限. 土地使用默认设置的土地权限 (个人区块或城镇区块,) 但是地主可以给每个地皮设置不同的权限. 查看一个地皮的权限可以输入 ''/plot perm'' ,设置地皮权限可使用''/plot set perm''.
 +
 
 +
:默认的个人地皮权限可以输入 ''/resident'' 查看 或输入 ''/town'' 查看城镇权限.
  
:The first concept you need to digest are the 4 perm-types and 3 groups.
+
=已知问题=
 +
{|class="common-box" style="margin: 0px 15%; width:{{{width|70%}}}; background: #fbfbfb; border: 3px solid {{{color|#B0B0B0}}};"
 +
|-  
 +
| style="padding: 2px 0 2px 0.5em" |
 +
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}"><center>{{{text|{{{1|'''<big><big><big>已知问题</big></big></big>'''}}}}}}</center></div>
 +
|-
 +
!
 +
|*Windows系统汉化荒野名会显示乱码
  
===== 城镇地皮权限 =====
+
*玩家用城镇相关的ID登录服务器可以窃取城镇和国家的资金以及删除城镇和国家,你可以安装[[TownyFix]]来修复或手动封禁相关ID<br />
 +
[[file:townyfix2.jpg]]
 +
|
 +
|}<noinclude>
  
:There are 4 permission-type values, which can be set for personal plots and for town plots as well (town permissions can be set by the mayor and affect plots who are not owned by any player.) The basic command for this is either ''/resident set perm'' or ''/town set perm'' followed by the proper flags for each permission.
+
=子页面=
  
:Available in Towny 0.77.0.0 and onward are per-plot permissions. Plots start with the default settings for plot perms (be it a resident-owned or town-owned plot,) but the owner of the plots can set different perms to different plots. To view a plots perm type ''/plot perm'' and to set a plots’ perms use ''/plot set perm''.
+
{|class="common-box" style="margin: 0px 15%; width:{{{width|70%}}}; background: #fbfbfb; border-below: 10px solid {{{color|#11c3ea}}};"
 +
|-
 +
| style="padding: 2px 0 2px 0.5em" |
 +
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}"><center>{{{text|{{{1|'''<big><big><big>子页面</big></big></big>'''}}}}}}</center></div>
 +
|-
 +
!
 +
|<center>'''<big>[[Towny/教程]]</big>'''</center>
 +
|-
 +
!
 +
|<center>'''<big>[[Towny/常见问题]]</big>'''</center>
 +
|-
 +
!
 +
|<center>'''<big>[[Towny/聊天系统]]</big>'''</center>
 +
|-
 +
!
 +
|<center>'''<big>[[Towny/配置]]</big>'''</center>
 +
|-
 +
!
 +
|<center>'''<big>[[Towny/权限节点]]</big>'''</center>
 +
|-
 +
!
 +
|<center>'''<big>[[Towny/0.92.0.0|0.92.0.0更新记录]]</big>'''</center>
 +
|-
 +
!
 +
|<center>'''<big>[[Towny/0.93.0.0|0.93.0.0更新记录]]</big>'''</center>
 +
|}<noinclude>
 +
=相关链接=
 +
{|class="common-box" style="margin: 0px 15%; width:{{{width|70%}}}; background: #fbfbfb; border: 10px solid {{{color|#11c3ea}}};"
 +
|-
 +
| style="padding: 2px 0 2px 0.5em" |
 +
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}"><center>{{{text|{{{1|'''<big><big><big>相关链接</big></big></big>'''}}}}}}</center></div>
 +
|-
 +
!
 +
|<center><big>'''[http://palmergames.com/towny/ 城镇官网]'''</big></center>
 +
|-
 +
!
 +
|<center><big>'''[https://www.reddit.com/r/townyplugin/ reddit]'''</big></center>
 +
|-
 +
!
 +
|<center><big>'''[https://github.com/LlmDl/Towny github]'''</big></center>
 +
|-
 +
!
 +
|<center><big>'''[http://towny.palmergames.com/category/towny-download/towny-dev-build/ 开发版下载地址]'''</big></center>
 +
|-
 +
!
 +
|<center><big>'''[http://towny.palmergames.com/category/towny-download/towny-release-download/ 正式版下载地址]'''</big></center>
 +
|-
 +
!
 +
|<center><big>'''[https://bstats.org/plugin/bukkit/Towny bStats城镇数据记录]'''</big></center>
 +
|}<noinclude>
 +
== {{MCColor|&3|相关插件}} ==
 +
{|class="common-box" style="margin: 0px 15%; width:{{{width|70%}}}; background: #fbfbfb; border-bottom: 10px solid {{{color|#11c3ea}}};"
 +
|-  
 +
| style="padding: 2px 0 2px 0.5em" |
 +
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}"><center>{{{text|{{{1|'''<big><big><big>相关插件</big></big></big>'''}}}}}}</center></div>
 +
|-
 +
!
 +
|<center><big>'''[[TownyTitle]]</big>'''</center>
 +
|-
 +
!
 +
|<center><big>'''[[TownyFix]]</big>'''</center>
 +
|-
 +
!
 +
|<center><big>'''[[SlimefunTowny]]</big>'''</center>
 +
|-
 +
!
 +
|<center><big>'''[[TownyEntityLimits]]</big>'''</center>
 +
|-
 +
!
 +
|<center><big>'''[[TownyGUI]]</big>'''</center>
 +
|}<noinclude>
 +
=授权=
 +
{{Cc-by-nc-sa-3.0}}
 +
[[Category:管理]]
 +
[[Category:综合]]
 +
[[Category:传送]]
 +
[[Category:安全]]
  
:Default permissions are viewable by typing either ''/resident'' for personal plot perms or by typing ''/town'' for town permissions.
+
 +
|-
 +
!
 +
|}

2020年6月27日 (六) 01:16的版本

Towny
townylogo.png
外文名Towny
作者palmergames
插件类型Spigot / CraftBukkit
最新版本0.94.0.00
兼容服务端全版本
前置插件
源地址http://dev.bukkit.org/bukkit-plugins/Towny
  • 由于城镇机制比较复杂,如果你是一名玩家,你可以阅读Towny/教程

介绍

Towny
城镇是一个可以在 Bukkit/Tekkit/Spigot/Libigot 上运行的先进、多功能的插件. 城镇可以设置 pvp, 物品保护, 聊天, 防止通货膨胀和怪物生成. 城镇可以让玩家协作起来,建立一个和谐友好的集体.


特性

特性 城镇包括各种各样的功能,为传统的Minecraft服务器作出改革.
  • 允许玩家根据预先设定的网格区块布局拥有和管理土地
    • 玩家可以加入城镇和购买土地.
    • 玩家可以设置每块地皮的 破坏、建筑、交互和使用物品的权限.
    • 城镇可以加入国家, 把服务器分成不同的势力.
    • 城镇可设置:防护,怪物生成, PVP, 右键火焰伤害, 爆炸和物品保护.
  • 荒野准则 (可选)
    • 城镇之外的区域是荒野, 拥有独立的建筑权限.
    • 通过限制玩家与荒郊野外的方块交互来保持原生态的环境.
    • 回档 tnt、 爬行者、 凋灵爆炸,末影龙破坏和末影人搬走方块.
    • 阻止爆炸破坏和火势蔓延.
  • PVP增强
    • 城镇的分组对于PVP服务器很有用.
    • 防止队友伤害. (可选)
    • 国家把玩家分到更大的队伍中.
    • 一个国家可以把其他国家视为盟国或敌国.
    • 可以在野外、城镇和世界内开关PVP. (可选)
  • 传送和出生点 (可选)
    • 玩家死亡后可以重生在城镇传送点(/t spawn).
    • 玩家可以传送到城镇传送点或其他结盟的盟国的城镇.
    • 用床可以使玩家在个人土地上重生.
  • 可修改的自定义聊天格式. (可选)
    • 可设置不同的颜色, 分组的前缀和后缀, 国家, 城镇, 城镇头衔.
    • 聊天频道:全体, 本地居民, 城镇, 国家, 主持人, 管理员和自定义聊天频道.
    • 防刷屏和脏话.
  • 商店插件支持. (可选)
    • 限制商店区块的商店数量.
  • 经济插件交互. (可选)
    • 支持所有经济插件.
    • 付费购买土地,建立城镇和国家.
    • 灵活的税收系统.
    • 用资金来维护城镇和国家运行, 防止通货膨胀.
  • 支持大部分权限插件. (可选)
    • Perms 2/3, GroupManager, BukkitPermissions, bPermissions, PermissionsEx, 等.
  • 多世界支持
    • 每个世界可设定不同的城镇配置.
    • 在任意世界开关城镇管辖.

重要信息

不兼容插件

  • residence领地 - /res 指令冲突
  • 地皮插件 - /plot 指令冲突
  • Faction派系 Kingdom王国 等其他同类插件

城镇安装指南

这里是第一次安装城镇插件指南. 请正确执行这些步骤.
第一步 – 准备好你的服务器.
  1. 完全停止你的服务器.
  2. 下载插件并放到服务器插件文件夹内 (注意不是整个zip压缩包,请解压):
  • 下载 Towny Advanced.zip (包括Towny, TownyChat 和 Questioner.)
    • Towny.jar 是最重要的,
    • TownyChat.jar 如果你需要修改聊天格式的话需要安装这个.
    • Questioner.jar 如果你想要玩家被人工地邀请进城的话需要安装这个, .
  • 如果你使用除 iConomy 5.01 之外的经济插件,你需要下载 Register.jar 或 Vault,把他放到服务器插件文件夹内.
    • 如果你使用Vault, 不要安装Register.jar.
  1. 开始服务器.

城镇升级向导

这里是旧版本的城镇升级向导:
城镇升级向导
  • 完全停止你的服务器.
  • 备份你的服务器!
  • 下载 Towny_Advanced.zip 解压里面的4个 .jar 文件到你的服务器插件文件夹 (如果你已使用Vault就不需要Register附属).
  • 开启服务器.
  • 关闭服务器.
  • 从0.79.0.0之前的版本升级
    • config.yml 内的聊天部分移到了一个新的文件内, channels.yml. 随你的习惯配置 channels.yml .
  • 从0.82.0.0之前的版本升级
  • 城镇已经有了城镇权限. 位于 towny/settings/townyperms.yml (Towny 0.82.0.0 或更高版本才有).
  • 城镇权限添加了 城镇/国家 头衔所以服务器管理员可以指定特定头衔可以做的事情 (流浪汉, 居民, 城主, 国王之类) 管理员也可以创建自定义头衔及权限. 任何现有设置为助手的玩家被将失去他们的头衔,需要重新分配.
  • 开启服务器.

城镇的运行方式


等级制度

等级制度
流浪者
流浪者不属于任何城镇. 他们没有土地和权限(权限可在 TownyPerms.yml 内设置). 流浪者可以购买大使馆区块来获得土地.他们拥有towny.command.plot.claim权限(在Townyperms.yml 内)
居民
每个加入你服务器的人都可以成为居民 (他们会获得 towny.town.resident权限,在 townyperms.yml的流浪者部分.)

居民可以使用 /resident 来获得居民信息, 包括拥有的金钱,地皮和朋友及其所属城镇.

居民可以加入城镇. 第一次进入服务器的居民可以自动加入一个城镇,只需设置在 config.yml 内设置 default_town_name: .
加入城镇的居民可以声明城主已设置出售的区块. 当居民拥有土地后, 可以在居民信息内看到展示拥有区块数和个人地皮权限.
居民拥有的权限可在 TownyPerms.yml 内设置.
城镇
城镇是拥有一位城镇统治的居民聚居的地方 (或是只有一位居民).城镇有银行,只有城主才能取钱.城镇可以设置助手来协助管理城镇. 城镇每天会定时地收税,交不起税的城镇将会倒闭.
城镇的发展会远离城镇中心,城镇中心区块取决于城主建城的位置. 城镇中心需要被声明来作为城镇出生点, 除非城主已在野外声明了一个前哨.
城主
城主和城镇助手一起管理城镇居民. 城主的权限可在 TownyPerms.yml 内设置.
城主可以决定居民的等级. 他们可以成为城镇助手或管理员在townyperms.yml内设置的其他自定义等级. 城主可以用 ‘/town ranklist’ 看到等级列表. 可以用 ‘/town rank {add|remove} {玩家名} {头衔}’. 一个玩家可以拥有多个头衔,管理员可以为城镇创建不同的角色,头衔.
你不可能管理多个城镇除非你是服务器管理员. 管理员可以这样来管理两个或更多城镇:
 举个栗子: 

 管理员bubu想要有个服务器官方城镇, 然而他已经有自己的城镇. bubu将会建立他的服务器官方城镇并设置税收,土地价格和权限.这种城镇不应该给予居民、盟军或外来者权限.
 bubu完成制作他的城镇并输入 /townyadmin set mayor {城镇名} npc 来放置一个虚假的 'npc' 居民作为服务器城镇的城主.
 然后bubu离开了服务器城镇并创建了他自己的城镇. 使用 /townyadmin set mayor {城镇名} npc 指令,bubu就能往返于两镇之间.
 bubu并没有离开他的城镇来把玩家邀请到服务器城镇内! 他可以使用/townyadmin town {城镇名} add {玩家名}  来把玩家拉到服务器城镇内.
 或在 config.yml内设置 default_town_name: 'Server_Town' .
 bubu添加NPC城镇到一个国家内,他只输入了 /ta nation {国家} add {城镇}.
被放逐者


城镇0.92.0.0版本中,城主可以设置驱逐出境的名单,需输入/town outlaw [add/remove] [玩家名].

但输入指令还需要towny.command.town.outlaw权限.

被放逐者可以是任何玩家. 如果你的城镇的玩家在列表上,那么他就会被自动踢出城镇.
如果是开放的城镇,这可以阻止这些玩家自由地出入城镇.
进入一个被认为是被放逐者的城镇的玩家将会受到警告
被放逐者如果在被放逐的城镇内死亡则会被羁押到城镇监狱内,这需要config.yml 内配置jail.is_jailing_attacking_outlaws 为 true.
这也需要击杀被放逐者的人拥有 towny.outlaw.jailer 权限才会触发.同时城镇也要有个监狱才行.
默认只有城主,助手和警长拥有towny.outlaw.jailer 权限.


国家
国家由一个作为国都的城镇和其他多个城镇组成 (或只有一个城镇). 掌控国都的城主就是国王.国家可以对其他国家挑起战事. 国家也有独立的银行. 国家银行可从城镇内收税.
两个国家可以建立同盟国, 来让居民防止友军伤害, 互相发展建设 (如果土地权限开启了ally权限的话,)也可以各自在战争中互助.
0.91.0.0之后的版本,你可以限制国家联盟只能是双向的,来让国家 A 无法把国家B视为盟国除非国家B把国家A视为盟国. 你可以在配置内启用这个选项: war.disallow_one_way_alliance, 默认关闭.
并且0.91.0.0之后的版本, 你可以限制谁创建,加入和维护一个国家通过设置最小所需居民数.查看 config.yml内的 Global Town Settings部分.
国王
国王领导国家,也是国都的城主. 国王的权限可在 TownyPerms.yml 内设置.
国王可以决定居民的职位. 他们可以成为国家总理 或其他的自定义职位. 国王 可以用 ‘/nation ranklist’ 查看头衔. 玩家可以通过‘/nation rank {add|remove} {玩家名} {头衔}’来被授予头衔. 玩家可以拥有多个头衔, 管理员可以创建不同的国家角色.
国王可以对所统治的城镇内的居民设置头衔 (前缀) 和姓氏 (后缀) . 可以这样设置:
  • /nation set title {玩家名} 头衔
  • /nation set surname {玩家名} 姓氏
在玩家名后留空来重置头衔和姓氏.

配置 Townyperms.yml 和角色头衔

Towny 0.82.0.0 之后的版本拥有新的配置文件, TownyPerms.yml, 位于 towny\settings\ 文件夹.
该系统将权限直接到bukkit并兼容其他权限插件 它允许您根据玩家地位自定义权限 (流浪者/居民/城主/国王). 您还可以根据指定的 城镇/国家 头衔分配额外的权限 (助手/vip之类). 这个系统不被城镇权限所限制. 您可以为其组中的任何插件分配任何权限.
这个文件允许管理员决定每个玩家的等级可以做的事。某些级别是自动分配的:
  • 没有城镇的玩家是流浪汉.
  • 有城镇的玩家是居民.
  • 城镇的主人是城主.
  • 国家的主人是国王.
一些头衔属于城主或国王, 和增加玩家已有的头衔:
  • 城主可以把居民提拔为城镇助手.
  • 国王提拔一个居民为国家总理.
  • 城主和国王可以被授予管理员创建的自定义头衔.
  • 玩家可以从他们的城主或国王那里得到许多额外的头衔,作为不同的城镇/国家角色.
  • 例如城镇建设者, 城镇银行家, 国家银行家, 萌新邀请人.
居民可以输入 ‘/town ranklist’查看城镇呢ID头衔. 城镇可使用‘/town rank {add|remove} {玩家名} {头衔}’ 来给予居民头衔. 国王可以使用/nation rank {add|remove} {玩家名} {头衔}’ 来给予臣民头衔.

设置国家和国王的头衔, 城镇和国家的名字

你可以自定义城主, 国王, 城镇, 国都和国家的名字.
这可以在config.yml内配置
  • 城镇等级:
    • 基本的城镇等级安排如下:
    -   upkeepModifier: 1.0
        namePostfix: ' (Settlement)'
        mayorPrefix: 'Hermit '
        mayorPostfix: 
        townBlockLimit: 16
        namePrefix: 
        numresidents: 1
    -   upkeepModifier: 1.0
        namePostfix: ' (Hamlet)'
        mayorPrefix: 'Chief '
        mayorPostfix: 
        townBlockLimit: 32
        namePrefix: 
        numResidents: 2
  • 这些内容如下所示:
  • upkeepModifier: 1.0 – 使用更高的倍数来增加城镇获得更多居民所需的维护费用 (除非你设置town_plotbased_upkeep:true.)
  • namePostfix: ‘ (Settlement)’ – 城镇名后缀.
  • mayorPrefix: ‘Hermit ‘ – 城主名前缀.
  • mayorPostfix: ” – 城主名后缀.
  • townBlockLimit: 16 – 城镇可获得的区块数, 这只在 town_block_ratio: ‘0’ 时被使用.
  • namePrefix: ” – 城镇名前缀.
  • numresidents: 1 – 一个城镇需要有多少居民来获得城镇等级的前后缀.
  • 以上例子是对于一个城镇和2个居民而言. 当城镇的新城镇创建后 (Settlement)会被添加到城镇名后面然后他会获得Hermit前缀. 当国家拥有2个居民后,城镇名 会有后缀(Hamlet)并且城主会获得Chief的称号.
  • 国家等级:
    • 基本的国家等级安排如下:
        -   capitalPostfix: 
            upkeepModifier: 1.0
            namePostfix: ' (Nation)'
            kingPrefix: 'Count '
            townBlockLimitBonus: 10
            namePrefix: 'Federation of '
            numResidents: 10
            capitalPrefix: 
            kingPostfix: 
            nationTownUpkeepModifier: 1.0
        -   capitalPostfix: 
            upkeepModifier: 1.0
            namePostfix: ' (Nation)'
            kingPrefix: 'Duke '
            townBlockLimitBonus: 20
            namePrefix: 'Dominion of '
            numResidents: 20
            capitalPrefix: 
            kingPostfix: 
            nationTownUpkeepModifier: 1.0
  • 这些内容如下所示:
  • capitolPostfix: ” – 被添加到国都名字后的后缀.
  • upkeepModifier: 1.0 – 随着国家拥有更多居民,增加维护费用的倍数 (除非你使用town_plotbased_upkeep:true 在这种情况下,它是基于 plot-count 而不是 resident-count.)
  • namePostfix: ‘ (Nation)’ – 国家名后缀.
  • kingPrefix: ‘Count ‘ – 国王名前缀.
  • townBlockLimitBonus: 10 – 每个城镇加入国家的区块奖励数.
  • namePrefix: ‘Federation of ‘ – 国家名前缀.
  • numResidents: 10 – 这是一个国家获得前缀和后缀所需的居民数.
  • capitalPrefix: ” – 国都前缀.
  • kingPostfix: ” – 国王名后缀.
  • nationTownUpkeepModifier: 1.0 – 一个城镇加入国家增加/减少的维护费用率. 这个倍数是在所有其他倍数对城镇维护成本产生影响之后计算的.当设置为 1.0, 维护费用不变.


聊天系统

聊天系统需要安装Townychat.jar才会生效,具体可以查看Towny/聊天系统

银行

城镇和国家都有银行,居民可以捐钱但只有城主或国王才能取钱.

城镇所收的税也会被存入银行.声明土地或前哨、日常维护费都是从银行中扣除.

居民捐钱指令:
/t deposit [钱数] 来捐钱给城镇
/n deposit [钱数] 来捐钱给国家
国王/城主取钱指令:
/t withdraw [钱数]
/n withdraw [钱数]


如何发展城镇

城镇起源
玩家可以输入 /town new {城镇名}来建立城镇.城镇中心就会被设在玩家的脚下,实际上也是城镇的出生地.
可以用 /town claim 来声明更多区块来扩大城镇. 这些区块需要与已声明的区块接壤.
加入城镇
有两种方法可以加入城镇, 玩家可以被城主或城镇助手邀请加入. 其次玩家可以加入开放的城镇.
城主及助手可以输入指令/town add {玩家名}来邀请玩家加入你的城镇. 如果服务器安装了 Questioner.jar 并设置 using_questioner: true 在城镇的 config.yml 内,那么玩家可以输入/accept 同意或 /deny 拒绝.
城主可以输入/town toggle open设置城镇为公开. 一个不在城镇内的玩家可使用 /town join {城镇名} 来加入开放的城镇.
当居民加入城镇会增加城主可以扩展的区块数.

土地所有制

城镇区块
城镇给管理员提供一种不需要插手的方法来保护方块.在不同的城镇区块内的方块保护不同, 默认大小 16x16x128 (该世界的最高高度.)
城镇区块由城主声明来给予或出售给居民.

城镇区块大小
你可以在config.yml 内修改每个城镇区块的大小: town_block_size: 16. 最好在你第一次安装城镇的时候改变这个数值.a
输入数据将很麻烦. 使用较小的值分得的区块也较小,会以更多的工作为代价. 另外,极小的值会使缓存变得无用.
每个区块是 (town_block_size x town_block_size x 128), 128是从基岩到云巅的距离.
设置每次声明城镇区块的范围
你可以改变城镇可以声明的区块数. 这可以在两个地方设置.
城镇首先在 config.yml 内的 town_block_ratio: 8 默认设置城镇每有一人居民给予8个区块.
你可以改为 town_block_ratio: 0 并使用 config.yml 内的城镇等级部分
更多城镇等级的信息并如何配置的方法在这.
购买城镇区块
城主可以输入 /town buy bonus {数量} 来购买城镇区块. 管理员可以设置一个城镇可购买的城镇区块数,在 config.yml 内的 max_purchased_blocks: '0'. 购买价格也可设置,在 config.yml 内的 price_purchased_bonus_townblock: '25.0'.
使用这个特性, 城主可以不需要居民来扩大城镇领土.
土地类型

城镇0.75之后的版本添加了土地类型. 这可以让城主更好地管理自己的城镇.
到现在为止有如下类型
默认土地
这些土地不需要指定任何特定的命令.
可以输入 /plot fs {价格} 来出售该土地.
不是默认类型的土地可以用 /plot set reset 来重置.
商店
商店地皮可以输入 /plot set shop 来设置.
城主可以使用/town set shopprice {$$} 来出售商店地皮. 这可以被 /plot forsale {$$} 覆盖.
城主也可以输入 /town set shoptax {$$} 来收税. 这个税收不包括普通的土地税.
竞技场
竞技场可以输入 /plot set arena 来设置.
PVP默认开启. 城镇生命恢复也会在此关闭.
大使馆
大使馆可以输入 /plot set embassy 来设置
城主可以使用/town set embassyprice {$$} 来设置大使馆地皮的价格. 这可以被 /plot forsale {$$}覆盖.
城主可以输入 /town set embassytax {$$}来收税. 这个税收不包括普通的土地税.
任何玩家都可以购买大使馆, 无论他们是否拥有一个城镇.城镇区块仍属于该城镇并且城主可以随时把该地的地主踢出去.
大使馆也可以作为商店, 作为更大的商店城镇, 不同城镇的玩家都可设置商店.
当玩家离开一个城镇不会失去他在大使馆的地主身份.
掘战区域

在0.91开发版本内存在。 在正式版内被删除。

荒郊野外
荒郊野外可以用 /plot set wilds 来设置
荒郊野外允许居民破坏某些种类的方块. 默认包括矿物, 树木, 植物, 蘑菇和其他方块. 默认不包括石头, 泥土, 草方块和其他植被.
这对植树造林和保护城镇周边环境起到很重要的作用.
设置为荒野有点复杂, 指令如下.
  1. 位于到您的 towny\data\worlds\WORLDNAME.txt 文件
  2. Set:
    • unclaimedZoneBuild=false
    • unclaimedZoneDestroy=false
  3. 设置 unclaimedZoneIgnoreIds 添加你想要玩家破坏/放置的方块ID.
  4. 你可以使用 /plot set wilds 设置为荒野
  5. 使用‘/plot set perm resident build on’ 和 ‘/plot set perm resident destroy on’ 来开启居民 居民只能破坏已设置的方块种类.
旅店
旅店可以用 /plot set inn 来设置
任何人都可以使用旅馆内的床来设置重生点 输入‘/res spawn’ . 旅馆会拒绝敌国的居民.
启用这个特性需要在 config.yml 内设置 deny_bed_use: ‘true’
监狱
监狱可以用 /plot set jail 设置
  • 可以囚禁玩家
  • 如果玩家所在的城主/警察 把该玩家送到监狱.
  • 攻击城镇的人将被视为敌人 (国家关系) 在敌国城镇死亡会被监禁. 他会被羁押到城镇内可用的监狱区块内.
  • 囚犯将被释放 如果:
  • 他们离开自己的城镇而变为流浪汉,
  • 城镇/警察释放了他,
  • 玩家向被监禁的城镇支付保释金, (用法: /resident jail paybail)
  • 他们设法逃出了监狱区块并到达荒野.
  • 囚犯无法传送.
  • 除非配置里开启,否则囚不能使用末影珍珠.
  • 死亡的囚犯就会被送回监狱.
  • 囚犯被杀不会获得金钱.
  • 囚犯 可以输入 /res [玩家名] 来显示与其他在监狱内的玩家的地位.
  • 建议你在townyperms.yml内创建新的城镇头衔叫做 Sheriff (警长) , 并给予头衔 towny.command.town.toggle.jail 权限. 最新的版本将会在 townyperms.yml 生成.
农场
农场可以输入 /plot set farm 来设置
玩家只能破坏和建筑农场内的某些方块,可在Config.yml 内 global_town_settings.farm_plot_allow_blocks 配置. 默认包括 “草丛, 各种花, 南瓜种子, 西瓜种子, 地狱疣等其他农作物”.
可以破坏/建筑这些方块仍取决于 /plot perm 内显示的不同身份的权限. 这意味着如果 B=rao, 任何人都可以破坏/放置指定的方块. 如果 B=r– 那么就只有居民可以破坏/放置指定的方块.
如果你想要的话可以添加耕地到列表内. 默认列表内不包括耕地并只有管理员/城主/助手才能用锄头耕地. 城镇已经保护了作物不会被踩成泥土, 所以耕地只会在水源枯竭的情况下变为泥土.
农场允许城镇居民击杀里面的动物. 可以在配置内 global_town_settings.farm_animals 配置可击杀动物. 默认可击杀 “猪牛鸡羊和蘑菇牛”.

银行
银行是在0.93.00版本添加的新土地类型
前哨
普通的城镇区块只能围绕城镇中心区块扩建. 想要在荒郊野外声明区块,城主或助手需要设立前哨.
为了让玩家可以声明前哨, 必须设置allow_outposts: true 并且玩家需要有 towny.town.claim.outpost 权限.
管理员可以设置一个玩家可以声明多少个前哨, 可以在你的权限插件内的 info/option/meta 节点部分找到. 使用 towny_maxoutposts: {数字} 信息节点. 城镇权限列表在这.
前哨无法离城镇中心区块太近, 就如城主不能在已存在的城镇周围建城. 确切的数字可在这里设置: config.yml at min_distance_from_town_homeblock: 5. 默认前哨需要离城镇中心区块5个区块远.
前哨拥有两个设置,在 config.yml
  • 设置 allow_outposts: false 你可以完全关闭前哨.
  • 你也可以设置声明前哨所需的费用 price_outpost: 500.0
前哨也可以传送, 在城主声明的位置会被作为传送点 或使用 ‘/town set outpost’ 来传送. 玩家可以输入‘/town outpost x’ 传送到某个前哨(x 可以是 1 到服务器拥有的前哨数.)
市中之地

城主可以出售土地给居民. 必须设置 using_iconomy: true config.yml 来启用收费. 城主可以使用一个命令来设定所有待售地块的费用.

  • /town set plotprice {$}
  • 这只会设置新的设置为出售的土地, 已经设置了的则保持原价格. 如果没有设置, 地皮价格默认为 $0.
为了让土地可出售,当城主站在一块土地上, 输入 /plot forsale {价格} 居民需要输入站在这块出售的土地上输入 /plot claim 来购买.
地图
城镇地图展示了网格区块. 使用 /towny map 可以看到地图或者

每次你从一个区块走到另一个区块都可以看到:

  • 使用/res set mode map 来开启.
  • 使用/res set mode reset 来关闭.
可以用 /towny map 看到地图.

Townymap.jpg

大地图

输入/towny map big可查看城镇大地图,一次性显示整个城镇的区块分布.

Townybigmap.jpg

缩写解释:

  • J=jail=监狱
  • E=embassy=大使馆
  • A=arena=竞技场
  • S=shop=商店
  • W=wilds=荒野
  • I=inn=旅店
  • F=farm=农场
  • H=home=城镇之家(城镇中心区块)
土地回溯 & 未明之地

有4种影响城镇区块/土地的设置.

枯竭大地 归于原生
当一块土地荒芜后它将慢慢地恢复到成为城镇前的原始状态. 方块会缓慢地沿着时间线回溯直到归于原生.

要想完全恢复城镇区块就必须在区块快照被移除前尽快重新建立城镇.
译者注:区块快照指的是在玩家声明区块后插件会自动备份该区块的初始状态.你也许可以在后台看到这个消息:

Plot snapshots completed. 

如果重新声明回溯中的区块, 那么就可以停止回溯.
如果城镇区块再次荒废的话它仍会回溯至原生.

  • 可在这里关闭这项特性: towny\data\worlds\worldname.txt @ 'usingPlotManagementRevert=false'
  • 或站在你想要开关的世界上输入 ‘/tw toggle revertunclaim’.
  • 在配置内关闭这项特性 new_world_settings.plot_management.revert_on_unclaim.enabled
你可以设置一些方块种类无法回溯来阻止玩家挖回溯的钻石矿.
  • 不回溯的方块种类可以在data/worlds/worldname.txt内设置 block_ignore
  • 新世界默认的配置在new_world_settings.plot_management.revert_on_unclaim.block_ignore:

一个倒闭的城镇:

townyback.jpg
一个倒闭的城镇回溯中的建筑:

timmer.jpg

于荒芜之大地 溯余指之尘土
当一个城镇区块无人声明成为无主之地时,在配置中设置的某些类型的方块将会被回溯(默认包括牌子).

这在删除区块内的牌子时很有用, 但你需要确保Lockette或Deadbolt的牌子已解锁.(/plot clear 也可以清除牌子)

  • 可在这里关闭这项特性: towny\data\worlds\worldname.txt @ usingPlotManagementdelete=false
  • 可配置在新的世界关闭这个特性: new_world_settings.plot_management.block_delete.enabled
你可以配置每个世界会被移除的方块ID.
  • 这些ID的方块列表位于 towny\data\worlds\worldname.txt @ 'plotManagementDeleteIds=' 将会在废弃的城镇区块内被移除.
  • 默认新世界的配置在 new_world_settings.plot_management.block_delete.unclaim_delete 内
一城一地之主 亦可溯荒成流
对于城主可用的一个特性: /plot clear. 这个指令可以在一个已经搬到另一个区块或离开城镇的玩家拥有的区块内使用. 默认列表里只有牌子,对于城主移除门,箱子等方块上的牌子锁很有用.
  • 可在这里关闭这项特性: towny\data\worlds\worldname.txt @ usingPlotManagementMayorDelete=false
  • 在此关闭这项特性: new_world_settings.plot_management.mayor_plotblock_delete.enabled
你可以配置输入这个指令时移除的方块ID.
  • 方块ID列表位于 towny\data\worlds\worldname.txt @ plotManagementMayorDelete=WALL_SIGN,SIGN_POST
  • 新世界的配置默认位于 new_world_settings.plot_management.mayor_plotblock_delete.mayor_plot_delete

自从城镇 0.79.1.0 的版本后, 玩家可以在自家土地上使用这个指令.

荒芜大地之回溯
只需设置 wild_revert_on_mob_explosion. 荒芜的土地将会在一段时间后恢复爆炸破坏的方块.

自从 Towny 0.79.1.0 后的版本,你可以在这里添加有爆炸破坏的实体来回溯方块 (包括 Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,TNTPrimed). 这些设置被分在不同世界的文件夹, 所以你需要每个世界都更改才有效.

  • 可在这里关闭这项特性: towny\data\worlds\worldname.txt @ usingPlotManagementWildRegen=true
  • 或站在你想要开关的世界上输入 ‘/tw toggle revertexpl’ .
  • 在配置内关闭这项特性 new_world_settings.plot_management.wild_revert_on_mob_explosion.enabled
你可以设置回溯方块的速度.
  • 间隔可以在 towny\data\worlds\worldname.txt @ '设置'usingPlotManagementWildRegenDelay=5来改变
  • 新世界的设置默认在 config.yml 内的 new_world_settings.plot_management.wild_revert_on_mob_explosion.delay

指令


请查看指令页面


权限节点

请查看权限节点页面
城镇插件的权限默认是配置好的了,基本上不怎么需要修改. 但如果你想修改权限的话,你也可以用Groupmanger之类的权限插件或在Townyperms.yml文件内在你想要的头衔下增减相应权限


城镇地皮权限

有4种可以设置个人和城镇区块的权限, (城镇可以设置城镇全局权限并影响不属于任何玩家的土地.) 最基础的指令是 /resident set perm/town set perm.
城镇 0.77.0.0 及之后的版本每个土地可以有独立的权限. 土地使用默认设置的土地权限 (个人区块或城镇区块,) 但是地主可以给每个地皮设置不同的权限. 查看一个地皮的权限可以输入 /plot perm ,设置地皮权限可使用/plot set perm.
默认的个人地皮权限可以输入 /resident 查看 或输入 /town 查看城镇权限.

已知问题

已知问题
*Windows系统汉化荒野名会显示乱码
  • 玩家用城镇相关的ID登录服务器可以窃取城镇和国家的资金以及删除城镇和国家,你可以安装TownyFix来修复或手动封禁相关ID

Townyfix2.jpg

子页面

子页面
Towny/教程
Towny/常见问题
Towny/聊天系统
Towny/配置
Towny/权限节点
0.92.0.0更新记录
0.93.0.0更新记录

相关链接

相关链接
城镇官网
reddit
github
开发版下载地址
正式版下载地址
bStats城镇数据记录

相关插件

相关插件
TownyTitle
TownyFix
SlimefunTowny
TownyEntityLimits
TownyGUI

授权

Copyleft.png
该作者已授权以 署名-非商业性使用-相同方式共享-3.0(by-nc-sa-3.0) 方式使用其作品