Towny Advanced Portal


> War Hub \ Event War

Prerequisites:

  • using_economy: true in your towny config.yml.
  • At least 2 nations which consider each other enemies.
  • An admin using /ta toggle war to being the war.

Current Status: Included in Towny.jar.

Future Status: EventWar will be removed as of the 0.97.3.0 release of Towny. Look forward to the release of EventWar.jar. See discord for details.

Introduction/Game-play:

Event War consists of a server-wide war, where every nation which has at least one mutually-enemy (both nations are enemied towards each other,) is added into a war over townblocks' "HP" and killing Mayors and Kings, which results in a monetary reward.

Event War can be completely non-destructive, with no transfer of land to the victors, no transfering of Towns to conquering Nations, and no griefing in claimed land (even with the explosion-revert enabled.)

Or, Event War can be a punishing, Towns-stealing-land, Nations-conquering-Towns, greif-fest. Event War is entirely configurable.

Event War makes use of Towny's explosion-revert-system inside of Towns, allowing for TNT and TNT cannons to be used freely, with blocks regenerating after 60 seconds.
Event War also makes generous use of the Towny Jail plots, players killed in enemy territory will be transferred to the enemy jail to live as a POW (prisoner-of-war.) Jail breaks will occur either via explosives opening a wall, or the Jail plot's HP being dropped to 0.

Event War begins with every townblock owned by Towns in the Nations involved gaining a HP stat. Homeblocks can have a larger HP than normal TownBlocks. Enemy players will lower the HP if they out-number the Allied players in the townblock. Allied players outnumbering the enemies will result in the TownBlock gaining HP (if healing isn't disabled in the config.) When a TownBlock is dropped to 0 HP is it permanently removed from the war. It can be configured so that the winning Town gains the TownBlock permanently.

A Town can be knocked out of a war when their Home Block falls or if their Mayor is killed. A Nation can be knocked out of a war if its capital city is knocked out of the war, or if the King is killed. Points in war given for the following:
  • A enemy killed: 1
  • A townblock stolen: 1
  • A town knocked out of the war: 10
  • A nation knocked out of the war: 100
Event War ends when there is only one nation who's Home Block has not been conquered or when the admin toggles war off. Although the townblocks are restored at the end of war, the damage from any griefing is permanent.

Feature Breakdown:

  • /towny war hud: Useful during war is the /towny war hud command which will make a scoreboard appear for the player, which details points and properties of the townblock they are standing in.
  • /towny war participants {page #}: Also useful is the /towny war participants {page #} command. It shows a list of towns and their nation who are in the war event.The list highlights enemies, allies and capital towns. While war is in effect, each competing town has a health points property attached to it.
  • is_jailing_attacking_enemies: When players are killed in a town where they are considered to be enemies in the war, they may be sent to the town's Jail. This is configurable at jail.is_jailing_attacking_enemies: 'false'. If the jail plot is attacked and has its HP reduced to 0, any prisoners-of-war imprisoned there will be let free in a 'jailbreak'. POWs are also freed if the town they are kept in falls out of the war.
  • price_nation_neutrality: Nations can also pay a daily Neutrality cost to avoid taking part in a war. The cost of neutrality is set in the config.yml using price_nation_neutrality: 100.0. In this example, a nation would pay 100 dollars from its nationbank each 'Towny Day'. /n toggle neutral will set the status.
  • warning_delay: The amount of time in seconds on the event war countdown, begun after using /ta toggle war.
  • towns_are_neutral: During war Nations fight each other. Towns without a nation are not included, cannot score points and cannot have their townblocks griefed. The config has the option towns_are_neutral: 'true' if you would like nation-less towns to still be able to fight and be attacked (but still not score points.)
  • only_attack_borders: When true, only plots bordering the wilderness and fallen townblocks can be attacked. This prevents players going in to directly attack a homeblock.
  • healable: When true, allies can heal TownBlocks' HP stat.
  • firework_on_attacked: When a townblock is under attack, fireworks appear above. Red for damage, red creeperhead for a won townblock, and green when a townblock is being healed by a defender. Fireworks can be turned off in the config at war.event.plots.firework_on_attacked.
  • remove_on_monarch_death: When true, if a mayor is killed their Town is taken out of the Event War. If that mayor is the king of a Nation, that nation will also be removed from the war.
  • allow_block_griefing If you would like to bybass the WarzoneBlockPermissions fine-grained approach and allow anyone to do anything during war you can set the the config's war.event.allow_block_griefing option to true.
  • town_block_hp: the HP stat of normal TownBlocks.
  • home_block_hp: the HP stat of Town homeblocks.
  • base_spoils: The amount which is added to the War Chest at the start of each Event War.
  • wartime_town_block_loss_price: This amount is taken from the losing town for each plot lost. If it cannot be paid, the town is removed from the war.
  • price_death_wartime: This amount is taken from the player if they die during the event. If it cannot be paid, the Town is removed from the war.
  • costs_townblocks: If set to true when a town drops an enemy townblock's HP to 0, the attacking town gains a bonus townblock, and the losing town gains a negative (-1) bonus townblock.
  • winner_takes_ownership_of_townblocks: If set to true when a town drops an enemy townblock's HP to 0, the attacking town takes full control of the townblock. One available (bonus) claim is given to the victorious town, one available (bonus) claim is removed from the losing town. Will not have any effect if war.event.winner_takes_ownership_of_town is set to true.
  • winner_takes_ownership_of_town: If set to true when a town knocks another town out of the war, the losing town will join the winning town's nation. The losing town will enter a conquered state and be unable to leave the nation until the conquered time has passed.
  • conquer_time: The number of Towny new days until a conquered town loses its conquered status and can use /n leave.
  • min_height: When enemies are below this Y-level, they do not count as attackers.
  • Warzone Block Permissions: Event War allows for a great deal of customizability when it comes to griefing. The config's editable_materials applies to Event War and Flag War. This means you may set which blocks can be placed and broken by players in the war. By default that list includes: tnt,fence,ladder,wood_door,iron_door,fire. Switch, Item_use, Fire and Explosion protections can be overriden during Event War as well. explosions_break_blocks & explosions_regen_blocks: 'true' will determine whether the explosions break blocks and whether the explosion will regenerate or if the griefing is permanent. The explosions_ignore_list is a configurable list of blocks which will not explode.






Website powered by Skeleton