VectronCraft Towny Wars

VectronWars Logo

VectronWars Logo


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.


  • /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.


  • townywars.admin - Grants access to admin commands
  • townywars.neutral - Grants the ability to make a nation neutral


  • 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)


  • Requires Towny Advanced and up to operate.


  1. Download plugin and drop it into the plugins directory
  2. 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)
  3. Restart!


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).

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of whitemong2 whitemong2 Jul 24, 2014 at 12:59 UTC - 0 likes


    I have fixed your plugin. I won't post it to git because I recoded so much badly coded and broken parts that it's hardly the same project anymore. Would you guys be intressted in the fixed version, or is the project archived?

    You can contact me on [email protected]

  • Avatar of Majorbloxxer Majorbloxxer Jul 07, 2014 at 10:09 UTC - 0 likes

    Purely awesome, that's what Towny needed. By the way, can you make a "smaller-scale" war type? I mean, not nations, but cities fight each other, plot by plot, (like in original war, but the plots will be attached to the attacking city) What do you thinK?

  • Avatar of Dysthymical Dysthymical May 13, 2014 at 14:59 UTC - 0 likes

    @andrewcramer: Go

    Just use the Towny integrated war system, it does that and it's already made. This plugin is pretty much the opposite of what you are asking for it seems.

  • Avatar of crunchycamsta crunchycamsta May 01, 2014 at 14:52 UTC - 1 like

    Does a player only get that certain amount of defence points lost when they get killed or can that number keep going down per kill? AKA 1 person joins the enemy town waits till everyone else is offline then allows his friends in another nation to spam kill him to conquer that town.

  • Avatar of andrewcramer andrewcramer Apr 09, 2014 at 02:58 UTC - 0 likes

    I have a suggestion could you make it so if a town loses a war there town gets disbanded and open to raiding? but have it off by default just have it in the config file as a option

  • Avatar of doomlordking doomlordking Mar 24, 2014 at 08:34 UTC - 1 like

    Is there anyway to can make it turn pvp on for the 2 towns? 2 towns can declare but they can't kill.

  • Avatar of REMLIK1 REMLIK1 Mar 21, 2014 at 21:21 UTC - 0 likes

    I am also experiencing the same permissions issues with ending wars. It also seems that upon reload, the config.yml resets itself to the default values. This plugin looks promising and I hope it gets fixed soon. Using Essentials GroupManager and gringotts

  • Avatar of doomlordking doomlordking Mar 18, 2014 at 01:32 UTC - 0 likes

    I downloaded the newest version the 1.1.4, /twar start works but i had to problems. /twar end still says "You are not powerful enough...". Also the econ setting death-cost: 1.0 works but the declare is not charging (can't test end perms). PS i'm using gringotts.

  • Avatar of Zombiemold Zombiemold Mar 15, 2014 at 05:10 UTC - 0 likes

    Question about the main mechanics of this plugin:

    What stops players from just not ever having their town be a part of a nation in the first place?

    Vox Populi Minecraft 1.8 [ Spells, Werewolves, Vampires, PvP, McMMO, Jobs, Towns, Shops, Clans, Arenas and more!]

  • Avatar of DanielYRH DanielYRH Mar 13, 2014 at 17:07 UTC - 1 like

    Sorry guys, been pretty busy with work, didn't have time to work on it.

    Thank you VariousArtist for the fix!

    If you want to download pre-bukkit-check, here you go:


What do you want to see for v2? Add suggestion in the comments!

  1. Choices:

  1. Results
  2. 10 comments


Date created
Jan 12, 2013
Last update
Mar 13, 2014
Development stage
  • enUS
All Rights Reserved
Curse link
VectronCraft Towny Wars
Recent files



Required dependency
Towny Advanced