
描述:
喜欢 Towny 的土地管理功能,但觉得它过于温和?喜欢 Factions 的 PvP(玩家对战)体验,却发现你的玩家无处可以安心建造?隆重推出 Vectron Wars——一款 Towny Advanced 的附加插件,旨在弥合这两款插件之间的差距,让你的建造者能够在不担心精美作品被毁的前提下自由建造,同时仍允许你的城镇和国家参与类似 Factions 的混乱 PvP 元素。
基本理念:
当一个国家向另一个国家宣战时,处于战争状态的城镇将开启 PvP,两国互相宣告为敌(阻止城镇出生点传送),并且两国将获得一个防御值,其数值等于该国拥有的城镇数量;而每个城镇的防御值则等于居民数 * 2 + 已占用的城镇区块数(可配置)。
如果处于战争状态的国家的一名居民被敌对国家的成员击杀,受害者所在城镇的防御点将被扣除。一旦城镇防御值降至零,该城镇将被并入敌对国家,受害者国家的防御点将被扣除,且受害者国家的资金余额将被除以其城镇数量(在征服之前),并加到胜利方的资金余额中。然后,假设你已正确设置了权限,被征服的城镇必须留在征服它们的国家内,直到它们被踢出或被另一个国家再次征服(建议设置城镇和国家的最高税率以防止滥用)。玩家只有在敌方国家的所有其他城镇都被征服后,才能攻占该国的首都城市。
命令:
- /twar - 显示 TownyWars 的配置信息(点数计算设置及费用设置)。
- /twar help - 显示 TownyWars 帮助页面。
- /twar status - 显示正在进行中的战争列表。
- /twar status [nation] - 显示某个国家的城镇及其防御点数列表。
- /twar declare [nation] - 与另一个国家开始战争(需要你是国王/助手)。
- /twar end - 请求敌对国家的工作人员结束当前战争。(需要你是国王/助手)。
- /twar neutral [nation] - 使特定国家保持中立,其他玩家无法对其宣战。中立国家的成员也无法对其他玩家宣战。此命令需要 townywars.neutral 权限。
管理员命令:
- /twar reload - 重新加载插件
- /twar astart [nation] [nation] - 强制两个国家进入战争状态。
- /twar aend [nation] [nation] - 强制两个国家停止战争。
权限:
- townywars.admin - 授予管理员命令的访问权限
- townywars.neutral - 授予使国家保持中立的权限
配置:
- pper-player: 2.0 - 分配给城镇防御的每个居民防御点数 - (该设置值为浮点数)
- pper-plot: 1.0 - 分配给城镇防御的每个已拥有区块防御点数(该设置值为浮点数)
- death-cost: 0.0 - 如果在战争中被敌方城镇击杀,你的城镇将向击杀者所在的城镇支付此金额。(该设置值为浮点数)
- declare-cost: 0.0 - 国家宣战所需支付的金额。(该设置值为浮点数)
- end-cost: 0.0 - 如果双方决定和平结束战争,两国均需支付此金额。(该设置值为浮点数)
依赖项:
- 需要 Towny Advanced 0.82.1.6 及以上版本才能运行。
安装步骤:
- 下载插件并将其放入 plugins 目录
- 修改权限设置,确保普通 Towny 居民没有 towny.command.nation.leave 权限(这样可以防止城镇在加入国家后退出,必须通过征服或踢出方式处理)
- 重启服务器!
贡献代码
您是否愿意为本项目贡献力量?请访问我们的 Bitbucket(类似 GitHub 的服务),通过报告错误以及开发您希望看到的新功能来帮助我们!我们将把现有代码整合成插件,并每周发布到 BukkitDev(若有更新的话)。

Description:
Like the land management of Towny but think it's too tame? Like the PvP of Factions but nowhere for your players to build in peace? Introducing Vectron Wars - A Towny Advanced add-on that will bridge the gap between those two plugins and allow your builders to build without running the risk of having their beautiful creations destroyed, while still allowing your towns and nations to participate in the chaotic Factions-like PvP element.
Basic Idea:
When a nation declares war on another nation, PvP is turned on in the towns at war, the nations declare each other as enemies (prevents town spawn travel), and the two nations are given a defense value equal to the number of towns in the nation, and each town within those nations are given a defense value equal to the number of residents * 2 + claimed town chunks (configurable).
If a resident of a nation at war is killed by a member of the enemy nation, a defense point is taken off of the victims town. Once the town defense reaches zero, it gets added to the enemies nation, a defense point is taken off of the victims nation, and the victims nations balance divided by the number of towns in that nation (before the conquer), and added to the victors nations balance. Then assuming you have set up the permissions correctly, conquered towns must remain in the nation that conquered them until such a time as their kicked, or conquered by another nation (I recommend setting up a max tax on towns and nations to prevent abuse). Players may not capture a nations capitol city until all other towns in the enemy nation have been captured.
Commands:
- /twar - Displays TownyWars configuration information (how the point calculation is setup + costs setup).
- /twar help - Displays the TownyWars help page.
- /twar status - Displays a list of ongoing wars.
- /twar status [nation] - Displays a list of the nations towns and their defense points
- /twar declare [nation] - Starts a war with another nation (REQUIRES YOU TO BE A KING/ASSISTANT).
- /twar end - Request from enemy nations staff to end the ongoing war. (REQUIRES YOU TO BE A KING/ASSISTANT).
- /twar neutral [nation] - Makes a certain nation neutral so other cannot declare war on it. Neutral nation members will also not be able to declare war on others. This command requires the townywars.neutral permission.
Admin Commands:
- /twar reload - Reloads the plugin
- /twar astart [nation] [nation] - Forces two nations to go to war.
- /twar aend [nation] [nation] - Forces two nations to stop a war.
Permissions:
- townywars.admin - Grants access to admin commands
- townywars.neutral - Grants the ability to make a nation neutral
Configuration:
- pper-player: 2.0 - Defense Points allocated per resident to the town defense - (this setting is a double)
- pper-plot: 1.0 - Defense Points allocated per owned chunk to the town defense (this setting is a double)
- death-cost: 0.0 - If killed during a war by an enemy town, your town will pay the killers town this amount. (this setting is a double)
- declare-cost: 0.0 - It will cost nations this amount to declare war. (this setting is a double)
- end-cost: 0.0 - It will cost both nations this amount if they decide to end the war peacefully. (this setting is a double)
Dependencies:
- Requires Towny Advanced 0.82.1.6 and up to operate.
Setup:
- Download plugin and drop it into the plugins directory
- Change your permissions so regular Towny residents DO NOT have the permission: towny.command.nation.leave (this makes it so towns cannot leave the nation once they have joined and must be conquered back or kicked)
- Restart!
Contribute
Would you like to help contribute to this project? Please visit our bitbucket (github like service), and help us out by reporting bugs, and even programming new features that you would like to see! We will turn the current code into the plugin and publish it to bukkitdev weekly (if updates exist).
评论 0
登录后参与评分
还没有评论,来抢沙发吧