- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Towny/0.92.0.0
介绍
0.92为目前城镇的最新版本,包含:
- Towny 0.92.0.0
- TownyChat 0.49
- TownyNameUpdater 1.0
- Questioner 0.6
更新内容
配置变化
- 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
- 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 {城镇名}
- 显示城镇地皮数,已声明/可声明地皮数的屏幕.
- 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.
- 新指令: /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]
- Ability for admins to edit titles’ of anyone on the server,
- bypasses nation-requirement.
- 新指令: /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]
- Allows an admin to give a resident a rank.
- Still requires the resident to be a member of town of course.
- 新指令: /town say [message]
- Broadcasts message to your town, prefixed with the town name.
- Requires permission node towny.command.town.say
- 新指令: /nation say [message]
- Broadcasts message to your nation, prefixed with the nation name.
- Requires permission node towny.command.nation.say
- 新指令: /town outlaw [add/remove] [name]
- Requires permission node towny.command.town.outlaw
- See Added section below for more information about outlaws.
- 新指令: /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 #}
- 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
- Used to manually unclaim outposts, will enable a mayor to remove glitched outposts that were not automatically removed (mysql outpost bug)
- 新指令: /town outpost list, courtesy of Articdive.
- Permission node 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
- 用于 /town plots {城镇名}
- 新权限节点: 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.
- 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
- Used to disallow players from checking towns they do not belong to, using /town {name}
- 默认开启.
- 新权限节点: towny.command.resident.otherresident
- Used to disallow players from checking other residents, using /res {name}
- 默认开启.
- 新权限节点: 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
- A child node of 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.admin的子权限
- Give this to make spawning to towns free for the person teleporting.
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.
- Found in the config at town.default_taxes.minimumtax
- 默认数值: 0.0
- Sets the minimum tax required when mayors use the /t set taxes command. Affects both taxpercent/nontaxpercent situations.
- Will not change any taxes already set by mayors.
- 新设置选项: plugin.database.sql.ssl
- 默认关闭.
- Adapts to Spigot’s recommendation that MySQL databases use SSL.
- 新设置选项: Nation’s require towns to be within X townblocks.
- 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.