VectronCraft Towny Wars
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).

-
View User Profile
-
Send Message
Posted Feb 21, 2013Enjoy! Awaiting approval for it to appear in the sidebar.
UPDATE: Working with bukkitdev to get it approved.
@xakiru
Use the "Login as a Guest User" link at the bottom of the login box.
-
View User Profile
-
Send Message
Posted Feb 21, 2013when the released??? today thursday!!!!
-
View User Profile
-
Send Message
Posted Feb 20, 2013Your link
"http:gravypod.com:8111/repository/download/bt12/405:id/Towny.jar"
Requires us to login. Can you please mirror it?
-
View User Profile
-
Send Message
Posted Feb 20, 2013@mazza101
Ah sorry, mis-understood your question. I am working on neutral nations, neutral towns could be a possible future addition. Currently if your not in a nation, your a neutral town, so until a future date, perhaps just leave the nation.
-
View User Profile
-
Send Message
Posted Feb 20, 2013@DanielYRH
Sorry I didn't make myself very clear. I was wondering if it would be possible for specific towns from a nation to not be included in wars. For example, Town A and Town B are in a nation. Town A vs Town C go to war, but Town B remains neutral.
I don't know if it'd be possible to for an admin command perhaps to override whether a town is included in any wars or something. I'd be interested in that anyway :)
-
View User Profile
-
Send Message
Posted Feb 19, 2013@mazza101
1, Have not decided yet, sorry. 2, The core of this plugin really IS the towns, towns DO fight each other if in nations at war. That is how it works :) so most probably will not be adding in any extra special town wars separate from what is currently there.
-
View User Profile
-
Send Message
Posted Feb 19, 20131) Will the source be available? 2) Do you have any plans to do Town vs Town war as opposed to Nations? I have many people who dont want to be involved in wars but like to build together.
-
View User Profile
-
Send Message
Posted Feb 19, 2013-
View User Profile
-
Send Message
Posted Feb 19, 2013@DanielYRH
Most appreciated!
-
View User Profile
-
Send Message
Posted Feb 18, 2013@DanielYRH
Yes!! Finally! I have waited on a plugin like this forever! Thanks 1x10^999999999999999999999999!
-
View User Profile
-
Send Message
Posted Feb 18, 2013Releasing it for you folks on Thursday. Year more than welcome to come and test it on MC.Vectroncraft.com
-
View User Profile
-
Send Message
Posted Feb 18, 2013Is the testing over yet? I would like to test this before I release my server :D
-
View User Profile
-
Send Message
Posted Feb 18, 2013@wrecktify80
Yep, this was considered and resolved with the use of the max tax setting in towny. Should prevent abuse to a degree (set it to what is reasonable for your server).
-
View User Profile
-
Send Message
Posted Feb 18, 2013I have a scenario where a clan of PVP'ers of about 8 players runs their own town and own nation. They do not have any ally towns. Say they went to war with a bigger nation and conquered 2 smaller towns which then became part of their nation. They could then set a daily nation tax of like $10,000 to steal all their towns money. If the town didn't have the money then the town would fall. And even if this clan based nation had an ally town, they could strategically give each other money back and forth to exploit the conquered town and steal all their money and force them to fall into ruins. Seems like a sketchy situation to me.
-
View User Profile
-
Send Message
Posted Feb 17, 2013Implemented the following:
pper-kill (default is 0) - If killed during a war by an enemy town, your town will pay the killers town this amount.
declare-cost (default is 10) - It will cost nations this amount to declare war.
end-cost (default is 0) - It will cost both nations this amount if they decide to end the war peacefully.
-
View User Profile
-
Send Message
Posted Feb 17, 2013@GrandRiver
Neutral nations are a possible future feature, but currently the only way to stay out of a war is by not having said town in a nation.
@iWouter
Amazingly well! Smoothing out the bugs, found 1 minor exploit, fixing it. Its working quite well! If you have not tried it yet, checkout mc.vectroncraft.com. Major launch on the server is today, will release for you guys in a few days.
I doubt this will be added... Its more of a PvP arena.
@xakiru
-
View User Profile
-
Send Message
Posted Feb 17, 2013Hows the testing going?
-
View User Profile
-
Send Message
Posted Feb 16, 2013This plugin looks amazing and once it's released I think we'll be installing it on our server. I just have one question...
Can nations still be neutral? We have taken away the ability for kings make their nation neutral by denying use of the /n toggle neutral command with permission nodes. However, we do have our main Spawn Area in a nation that is neutral and we want to maintain that neutrality. Would that be affected?
-
View User Profile
-
Send Message
Posted Feb 16, 2013Is it possible to make a battlefield where they come when they declare each other a war. When you 'win' the war everyone in that kingdom/nation/town get .. xp ?
-
View User Profile
-
Send Message
Posted Feb 13, 2013Testing complete! first version is running stable on MC.VectronCraft.com!