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).
@oSS_Seth
All commands are usable by anyone, except for the admin and neutral commands which require permissions.
Sorry if I'm stupid, but what are the permission nodes for the basic commands? I can't find them anywhere.
"On the topic of the ads, i would like to apologize to those i chased away because of them. Upon further thought i decided to remove them."
Thank you for finally understanding how pathetic they were. Well done. Fight ALL devs who do it.
DanielYRH your plugin that you created is fabulous and my server is looking to replace factions with it, that being said our server's staff would like a little more customization for our server needs. Now it is your decision if you make it more customizable or not, but here our my personal ideas for this plugin, I am not asking you to change the whole plugin I just want this to be an option in the config.
1) Instead of having the enemy nation take over all the land of the town with 0 power, make it so the town who's power is equal to 0 no longer has block protection in there land, making it so the enemy town can plunder and destroy what they want. If claiming is your type of this though you can make it so after the town has a negative amount of power the enemy nation can claim over bits of your land for every negative point. Example- Town a has -10 power so town B can claim 10 pieces of land from them.
I can't declare war even though I'm the king of mine nation
When 2 nations go to war, PVP isn't being turned on in the nation's towns. How do I fix this?
Hi guys,
Sorry for the lack of updates, have been extremely busy. Development has been resumed. I just put out the latest update, awaiting bukkitdev approval. It adds neutral nations, fixes bugs, updates to the latest CB & towny versions and removes the ads.
On the topic of the ads, i would like to apologize to those i chased away because of them. Upon further thought i decided to remove them.
Does this work for 1.5.2 R1.0?
@Dee1010
REQUIRES the Towny Advanced DEV BUILD VERSION 0.82.1.6 (includes new events the plugin needs). - WILL NOT WORK WITHOUT THE CORRECT VERSION!
Plugin name : Towny wars...
Choose urself, will it work with factions or not?
Does This Work With Factions
when is the update going to be available for 1.5.2 :'( i want it sooooo bad this plugin ROCKS. I do think a lot of people would donate for this plugin
Would it be possible to add in a command (Along with a permission node) that an admin can use to force on ALL pvp and ALL explosions for all towns server wide? And another to turn it off? That (as an option in config for explosions) would be exactly what I'd want for my server.
But, if you are going to advertise your server through your plugin, nobody will use it... If you really want to get paid for your plugins, you'd make more money through donations if you had a good plugin then if you tried to siphon users.
All in all, looks good, but I'm not downloading if it gives me ads.
Damn. I thought this would allow TOWNS to go to war instead of nations.
@Kazi42
Thanks for the suggestions Kazi! I debated having both parties accept the war, but in the end decided to go with the more-realistic-method of wars.
I would happily replace my current ad for an ad such as that, but i believe i would then be in violation of Bukkitdevs policies.
also why not an ad that says "if you like this plugin goto blahblahblah website to donate. Your donations help keep this plugin running!"
This plugin was also suggested for the server that I am on, but as we do not allow advertising other servers we wont be getting it. Also I'd recommend either requiring both nations to agree to the war or someway for a nation to opt out of it. I don't like the idea of forcing people to pvp if they don't want too.
I actually wouldn't mind a commercial ad as much as I do you trying to pull users from my server to yours just cause I use your plugin. Thats ridiculous and if you fail to see why then this argument is pointless. I'd rather not use your plugin then let you try to siphon users from my server. I would of been much more likely to donate if you had make a great plugin without your spam
That's a shame, advertising on my server is not allowed for players and I certainly won't be using a plugin that breaks my own rule.
@wrecktify80
The general purpose of an ad is not always to make money, it is to attract people to your product, service, or yes in this case, server.
Displaying an ad for joes hairspray is a desperate attempt to siphon people from bobs hairspray just because joe released a hairspray product? Its called advertising.
I spend my time developing & enhancing the plugin to provide a feature to towny that does not currently exist in any other form elsewhere, and in return i display a small, non-obtrusive ad every half hour.
If every plugin i utilize on the server requested a $10 fee or an ad, i would happily pay them the fee, or if i could not, i would happily display their ad as a thank you to the developer for his hard work on a plugin that my server benefits from.
Promoting your own server on other servers though? That's cheap and desperate. You aren't even making money off the ad, it's a desperate attempt for you to siphon users from other servers just cause you released a plugin.
A world without ads? We are talking about bukkit plugins here where there are thousands upon thousands of plugins who never try to promote their own server in a timed message on other servers. That doesn't make you money, it's an attempt to increase your user count on your server by pulling players away from the servers.