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

Towny/0.92.0.0:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
(创建页面,内容为“=介绍= 0.92为目前城镇的最新版本,包含: * Towny 0.92.0.0 * TownyChat 0.49 * TownyNameUpdater 1.0 * Questioner 0.6 =更新内容= ==配置变化== * under...”)
 
(+模版)
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
<center>{{Template:TownyBox}}</center>
=介绍=
=介绍=
0.92为目前城镇的最新版本,包含:
0.92为目前城镇的最新版本,包含:
第7行: 第8行:
=更新内容=
=更新内容=
==配置变化==
==配置变化==
* under town_mob_removal_entities: add SkeletonHorse,ZombieHorse,
* 城镇怪物移除的新实体: 骷髅马,僵尸马,
** they are not considered Monsters and if you want dont them spawning or walking into town they must be added to the config.
** 它们不被视为怪物,如果你不想要在城镇内看到它们你可以在配置内修改.
** new installs will have them added by default.
** 新版本会默认移除它们.
* under protection.switch_ids: add WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,SILVER_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX
* 添加物品交互保护的方块: WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,SILVER_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX(各种颜色的潜影盒)
** this will add shulker boxes under the protection of the switch flag.
** 新版本会默认保护它们.
** new installs will have them added by default.
* 物品使用保护: 头颅
* under protection.item_use_ids: add SKULL_ITEM
** 保护玩家皮肤头
** protects playerheads
==新增指令==
==新增指令==
* 新指令: /town plots {城镇名}
* 新指令: /town plots {城镇名}
** 显示城镇地皮数,已声明/可声明地皮数的屏幕.
** 显示城镇地皮数,已声明/可声明地皮数的屏幕.
** Displays numbers of different plot types (ex: farms, jails)
** 显示不同土地类型的数量 (例如: 农场数, 监狱数)
** Displays detailed stats on Embassies, Shops and Residential plots which includes:
** 显示大使馆,商店和居民土地的详细信息,这包括:
** * Number owned by residents,
** * 居民所有土地数,
** * Number currently for sale,
** * 出售中的土地数,
** * Number in town,
** * 在城镇中的总数,
** * Estimated revenue from different types of plot tax.
** * 不同类型的土地的税收.
** Optional {towname} to look up plot type information for other towns.
** 可选 {城镇名} 来查看其他城镇的不同类型土地的信息.
** Command uses towny.command.town.plots permission node.
** 需要towny.command.town.plots权限的指令.
* 新指令: /town reslist {城镇名}
* 新指令: /town reslist {城镇名}
* Previously you could only reslist your own town, now you can view the full resident list of any town.
* 以前你只能查看自己城镇的居民列表, 现在你可以查看任何城镇完整的居民列表了.
* New Command: /townyadmin set title [name] [title]
* 新指令: /townyadmin set title [name] [title]
* Ability for admins to edit titles’ of anyone on the server,
* 管理员可以编辑任何玩家的标题,
* bypasses nation-requirement.
* 不需要国家.
* 新指令: /townyadmin set surname [name] [surname]
* 新指令: /townyadmin set surname [name] [surname]
* Ability for admins to edit surnames’ of anyone on the server,
* 管理员可以编辑任何玩家的姓氏,
* bypasses nation-requirement.
* 不需要国家.
* 新指令: /townyadmin town [townname] rank [add/remove] [name] [rank]
* 新指令: /townyadmin town [townname] rank [add/remove] [name] [rank]
** Allows an admin to give a resident a rank.
** 允许管理员给予玩家头衔.
** Still requires the resident to be a member of town of course.
** 仍需要居民在一个城镇内.
* 新指令: /town say [message]
* 新指令: /town say [message]
** Broadcasts message to your town, prefixed with the town name.
** 在你的城镇内带有城镇名前缀的广播信息,.
** Requires permission node towny.command.town.say
** 需要 towny.command.town.say权限
* 新指令: /nation say [message]
* 新指令: /nation say [message]
** Broadcasts message to your nation, prefixed with the nation name.
** 在你的国家内带有国名前缀的广播信息.
** Requires permission node towny.command.nation.say
** 需要 towny.command.nation.say权限
* 新指令: /town outlaw [add/remove] [name]
* 新指令: /town outlaw [add/remove] [name]
** Requires permission node towny.command.town.outlaw
** 需要 towny.command.town.outlaw权限
** See Added section below for more information about outlaws.
** (不再)/放逐一名玩家.
* 新指令: /town outlawlist {town}
* 新指令: /town outlawlist {town}
** 使用不需要权限节点.
** 使用不需要权限节点.
** View outlaws of your town, or for other towns when the optional {town} is added to the command.
** 查看城镇的放逐者.
* 新指令: /towny war participants {page #}
* 新指令: /towny war participants {页数 #}
** Shows a list of towns and their nation who are in war events,
** 显示参战国,
** List highlights enemies, allies and capital towns,
** 列出高亮的敌国, 盟国和首都,
** Accepts page numbers for long lists.
** 支持翻页.
* 新指令: /town unclaim outpost, courtesy of Articdive
* 新指令: /town unclaim outpost
** Used to manually unclaim outposts, will enable a mayor to remove glitched outposts that were not automatically removed (mysql outpost bug)
** 手动放弃声明前哨  (mysql前哨bug)
* 新指令: /town outpost list, courtesy of Articdive.
* 新指令: /town outpost list
** Permission node towny.command.town.outpost.list (Inherited from the towny.town.spawn.town node, no added permission required.)
** 权限节点: towny.command.town.outpost.list (Inherited from the towny.town.spawn.town node, no added permission required.)
** List out a town’s outposts, showing #, plot name (if it has one), world and coords.
**列出城镇的前哨, 显示数量, 土地名 (如果有的话才会显示), 所处世界和坐标.
==新权限节点==
==新权限节点==
* 新权限节点: towny.command.town.plots
* 新权限节点: towny.command.town.plots
** 用于 /town plots {城镇名}
** 用于 /town plots {城镇名}
* 新权限节点: towny.outlaw.jailer
* 新权限节点: towny.outlaw.jailer
** Required to cause outlaws killed in your town to be sent to your jail.
** 用于杀死放逐者后将其收监.
** Newly made Townyperms.yml files will have this node given to mayors, assistants and sheriffs by default.
** 最新的 Townyperms.yml 将会默认把这个权限给城主、助手和警长.
** Add this node to those ranks to properly make use of the isJailingAttackingOutlaws.
** Add this node to those ranks to properly make use of the isJailingAttackingOutlaws.
** Add it to the default town rank if you want anyone in town to be able to jail outlaws killed in town.
** Add it to the default town rank if you want anyone in town to be able to jail outlaws killed in town.
* 新权限节点: towny.command.town.othertown
* 新权限节点: towny.command.town.othertown
** Used to disallow players from checking towns they do not belong to, using /town {name}
** 用来禁止玩家用 /town {城镇名} 指令来查看其他城镇的信息
** 默认开启.
** 默认开启.
* 新权限节点: towny.command.resident.otherresident
* 新权限节点: towny.command.resident.otherresident
** Used to disallow players from checking other residents, using /res {name}
** 用来禁止玩家用 /res {玩家名} 指令来查看其他玩家的信息
** 默认开启.
** 默认开启.
* 新权限节点: towny.command.nation.othernation
* 新权限节点: towny.command.nation.othernation
第76行: 第76行:
** 默认开启.
** 默认开启.
* 新权限节点: towny.command.townyadmin.town.spawn – courtesy of Articdive
* 新权限节点: towny.command.townyadmin.town.spawn – courtesy of Articdive
** A child node of towny.admin
** towny.admin的一个子权限
** Give this to allow a mod or someone of high rank on the server to be able to teleport to any town’s spawn.
** 可以让操作者或更高级头衔的玩家传送到任何城镇的传送点.
* 新权限节点: towny.command.townyadmin.town.spawn.freecharge – courtesy of Articdive
* 新权限节点: towny.command.townyadmin.town.spawn.freecharge – courtesy of Articdive
** towny.admin的子权限
** towny.admin的子权限
** Give this to make spawning to towns free for the person teleporting.
** 可以免费传送到任何城镇.
==Config.yml设置改变==
==Config.yml设置改变==
* Config Change: war.event.allow_block_griefing is now false by default, this setting should not be used unless the server wants the most chaotic war possible.
* Config Change: war.event.allow_block_griefing is now false by default, this setting should not be used unless the server wants the most chaotic war possible.
第90行: 第90行:
** When set to true when players cross into a Town they will see one of the new subtitles added to MC recently, broadcasting the town name.
** When set to true when players cross into a Town they will see one of the new subtitles added to MC recently, broadcasting the town name.
* 新设置选项: Minimum Town tax.
* 新设置选项: Minimum Town tax.
** Found in the config at town.default_taxes.minimumtax
** 在配置内的 town.default_taxes.minimumtax
** 默认数值: 0.0
** 默认数值: 0.0
** Sets the minimum tax required when mayors use the /t set taxes command. Affects both taxpercent/nontaxpercent situations.
** 设置 /t set taxes 指令可设置的最大税收. 同时适用于百分比税率和非百分比税率.
** Will not change any taxes already set by mayors.
** 不会改变城主已设置的税收.
* 新设置选项: plugin.database.sql.ssl
* 新设置选项: plugin.database.sql.ssl
** 默认关闭.
** 默认关闭.
** Adapts to Spigot’s recommendation that MySQL databases use SSL.
** Adapts to Spigot’s recommendation that MySQL databases use SSL.
* 新设置选项: Nation’s require towns to be within X townblocks.
* 新设置选项: 需要在离城镇X格城镇区块内才能建国.
** Found in the config at global_town_settings.nation_requires_proximity
** Found in the config at global_town_settings.nation_requires_proximity
** 默认数值: 0.0
** 默认数值: 0.0

2018年10月27日 (六) 12:21的最新版本

介绍

0.92为目前城镇的最新版本,包含:

  • Towny 0.92.0.0
  • TownyChat 0.49
  • TownyNameUpdater 1.0
  • Questioner 0.6

更新内容

配置变化

  • 城镇怪物移除的新实体: 骷髅马,僵尸马,
    • 它们不被视为怪物,如果你不想要在城镇内看到它们你可以在配置内修改.
    • 新版本会默认移除它们.
  • 添加物品交互保护的方块: WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,SILVER_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX(各种颜色的潜影盒)
    • 新版本会默认保护它们.
  • 物品使用保护: 头颅
    • 保护玩家皮肤头

新增指令

  • 新指令: /town plots {城镇名}
    • 显示城镇地皮数,已声明/可声明地皮数的屏幕.
    • 显示不同土地类型的数量 (例如: 农场数, 监狱数)
    • 显示大使馆,商店和居民土地的详细信息,这包括:
    • * 居民所有土地数,
    • * 出售中的土地数,
    • * 在城镇中的总数,
    • * 不同类型的土地的税收.
    • 可选 {城镇名} 来查看其他城镇的不同类型土地的信息.
    • 需要towny.command.town.plots权限的指令.
  • 新指令: /town reslist {城镇名}
  • 以前你只能查看自己城镇的居民列表, 现在你可以查看任何城镇完整的居民列表了.
  • 新指令: /townyadmin set title [name] [title]
  • 管理员可以编辑任何玩家的标题,
  • 不需要国家.
  • 新指令: /townyadmin set surname [name] [surname]
  • 管理员可以编辑任何玩家的姓氏,
  • 不需要国家.
  • 新指令: /townyadmin town [townname] rank [add/remove] [name] [rank]
    • 允许管理员给予玩家头衔.
    • 仍需要居民在一个城镇内.
  • 新指令: /town say [message]
    • 在你的城镇内带有城镇名前缀的广播信息,.
    • 需要 towny.command.town.say权限
  • 新指令: /nation say [message]
    • 在你的国家内带有国名前缀的广播信息.
    • 需要 towny.command.nation.say权限
  • 新指令: /town outlaw [add/remove] [name]
    • 需要 towny.command.town.outlaw权限
    • (不再)/放逐一名玩家.
  • 新指令: /town outlawlist {town}
    • 使用不需要权限节点.
    • 查看城镇的放逐者.
  • 新指令: /towny war participants {页数 #}
    • 显示参战国,
    • 列出高亮的敌国, 盟国和首都,
    • 支持翻页.
  • 新指令: /town unclaim outpost
    • 手动放弃声明前哨 (mysql前哨bug)
  • 新指令: /town outpost list
    • 权限节点: towny.command.town.outpost.list (Inherited from the towny.town.spawn.town node, no added permission required.)
    • 列出城镇的前哨, 显示数量, 土地名 (如果有的话才会显示), 所处世界和坐标.

新权限节点

  • 新权限节点: towny.command.town.plots
    • 用于 /town plots {城镇名}
  • 新权限节点: towny.outlaw.jailer
    • 用于杀死放逐者后将其收监.
    • 最新的 Townyperms.yml 将会默认把这个权限给城主、助手和警长.
    • Add this node to those ranks to properly make use of the isJailingAttackingOutlaws.
    • Add it to the default town rank if you want anyone in town to be able to jail outlaws killed in town.
  • 新权限节点: towny.command.town.othertown
    • 用来禁止玩家用 /town {城镇名} 指令来查看其他城镇的信息
    • 默认开启.
  • 新权限节点: towny.command.resident.otherresident
    • 用来禁止玩家用 /res {玩家名} 指令来查看其他玩家的信息
    • 默认开启.
  • 新权限节点: towny.command.nation.othernation
    • Used to disallow players from checking nations they do not belong to, using /nation {name}
    • 默认开启.
  • 新权限节点: towny.command.townyadmin.town.spawn – courtesy of Articdive
    • towny.admin的一个子权限
    • 可以让操作者或更高级头衔的玩家传送到任何城镇的传送点.
  • 新权限节点: towny.command.townyadmin.town.spawn.freecharge – courtesy of Articdive
    • towny.admin的子权限
    • 可以免费传送到任何城镇.

Config.yml设置改变

  • Config Change: war.event.allow_block_griefing is now false by default, this setting should not be used unless the server wants the most chaotic war possible.
  • 新设置选项: war.event.costs_townblocks,
    • 默认: 关闭
    • Setting to true causes bonus townblocks to be traded between winning and losing towns during war. Used to be always on, not configurable. See config’s comments for more details.
  • 新设置选项: Notification.Using_Titles
    • 默认关闭
    • When set to true when players cross into a Town they will see one of the new subtitles added to MC recently, broadcasting the town name.
  • 新设置选项: Minimum Town tax.
    • 在配置内的 town.default_taxes.minimumtax
    • 默认数值: 0.0
    • 设置 /t set taxes 指令可设置的最大税收. 同时适用于百分比税率和非百分比税率.
    • 不会改变城主已设置的税收.
  • 新设置选项: plugin.database.sql.ssl
    • 默认关闭.
    • Adapts to Spigot’s recommendation that MySQL databases use SSL.
  • 新设置选项: 需要在离城镇X格城镇区块内才能建国.
    • Found in the config at global_town_settings.nation_requires_proximity
    • 默认数值: 0.0
    • If greater than zero, towns must have their homeblock within that many or less townblocks from the nation’s capital’s homeblock to join.
    • If greater than zero, towns must have their homeblocks in the same world as the nation to join.
    • Also checked when a town moves their homeblock.
  • 新设置选项: town.max_claim_radius_value
    • 默认数值: 4
    • maximum number used in /town claim/unclaim # commands.
    • set to 0 to disable limiting of claim radius value check.
    • keep in mind that the default value of 4 is a radius, and it will allow claiming 9×9 (80 plots) at once.
  • 新设置选项: global_town_settings.max_residents_per_town
    • 默认数值: 0
    • The maximum number of residents that can be joined to a town. Setting to 0 disables this feature.
    • Will not remove residents from towns that are already over the maximum. The town will not be able to add new residents until they go below the cap.
  • 新设置选项: global_town_settings.outsiders_prevent_pvp_toggle – courtesy of Articdive
    • 默认: 关闭
    • 如果设置开启, Towny will prevent a town from toggling PVP while an outsider is within the town’s boundaries.
    • When active this feature can cause a bit of lag when the /t toggle pvp command is used, depending on how many players are online.
  • 新设置选项: global_town_settings.display_board_onlogin – courtesy of Articdive
    • 默认数值: true
    • If Towny should show players the townboard when they login.
  • 新设置选项: economy.daily_taxes.town_plotbased_upkeep_affected_by_town_level_modifier
    • 默认: 关闭
    • 如果设置开启, the plot-based-upkeep system will be modified by the Town Levels’ upkeep modifiers.
  • 新设置选项: plugin.interfacing.using_questioner.cooldowntime
    • 默认数值: 0m
    • 当设置大于 0m, the amount of time (in minutes) which must have passed between a player’s first log in and when they can be invited to a town.
  • 新设置选项: global_town_settings.minimum_amount_of_residents_in_town_for_outpost – courtesy of Articdive
    • 默认数值: 0
    • The amount of residents a town needs to claim an outpost.
    • Setting this value to 0, means a town can claim outposts no matter how many residents they have.