Townships+ Battle for Resources, Control and Glory! icon

Townships+ Battle for Resources, Control and Glory! -----

The best Town plugin for Minecraft



War System Update!
A method for allowing players to declare war and cause economy harm to the losing towns.
Code (Text):

politics:
  # Toggles whether players can teleport to the spawn location of allies.
  ally_spawns: true
  # Base currency required to declare war on another town.
  # This follows the formula: Base + (AtkLevel/DefLevel)*20 + (AtkChunks/DefChunks)*60 - DefPlayers + AtkLevel*50 + PastWars^5
  war_declare: 100.0
  # Maximum amount it can cost to declare war. 0 to disable the limit.
  war_declare_max: 10000.0
  # The amount to multiply the declare cost before giving it to the winner of the war.
  # For example, if the war starts with the attacker paying 1500.0, then a 2.0 multiplier will give the winner 3000.0.
  # If there is a tie, neither side will receive this money.
  reward_multiplier: 2.0
  # Base currency required to surrender a war.
  # This follows the formula: Base + (SurrenderTownLevel / EnemyTownLevel * 200) - (PastWars * 10)
  peace_sue: 0.0
  # Minimum amount it can cost to surrender.
  peace_sue_min: 100.0
  # The time between when a war is declared and when it actually starts.
  # Uses a Duration string (w[eek], d[ay], h[our], m[inute], s[econd])
  war_warmup: 5m
  # Time between messages that should be announced to both towns to inform them when the warmup ends and war begins.
  # Uses a Duration string (w[eek], d[ay], h[our], m[inute], s[econd])
  war_msg_interval: 1m
  # Time that the war will last between towns.
  # Uses a Duration string (w[eek], d[ay], h[our], m[inute], s[econd])
  war_max_time: 1d
  # Points required on either side to win the war.
  war_max_points: 100
  # Whether the towns involved should stop producing (e.g. harvests) during wartime.
  economic_halt: true
  # Time in minutes until a town can be declared upon.
  war_cooldown: 720
  # Points that will be given to either town for...
  conflict:
    # ...killing an enemy player.
    enemy_kills: 5
    # ...an enemy player dying.
    enemy_loss: 3
    # ...no enemies being online for an amount of time.
    enemies_offline:
      time: 60m
      points: 1
[/SIZE]
 


#234 (Sep 3, 2016 1:56:59 AM)

  1. Fix stupid errors — morphanone / gitlab
#233 (Sep 2, 2016 4:12:42 PM)
  1. Little fixes — morphanone / gitlab
#232 (Sep 1, 2016 6:01:16 AM)
  1. add more dutch translations — blackcoyoteproductions / gitlab
#231 (Sep 1, 2016 5:24:56 AM)
  1. add initial dutch.yml template — blackcoyoteproductions / gitlab
#230 (Sep 1, 2016 5:14:46 AM)
  1. Update english.yml — morphanone / gitlab
#229 (Sep 1, 2016 4:19:31 AM)
  1. Add '/town helper <player>' to toggle a player as a helper (can build, — morphanone / gitlab
#228 (Sep 1, 2016 3:36:40 AM)
  1. Add '/township admin passive' to disable conquesting for yourself — morphanone / gitlab
#227 (Sep 1, 2016 2:58:09 AM)
  1. Add '/ts admin reload' — morphanone / gitlab
#226 (Sep 1, 2016 2:11:39 AM)
  1. Allow teleporting to ally spawns (configurable) — morphanone / gitlab
#225 (Sep 1, 2016 1:55:34 AM)
  1. Add nicer taxexempt messages and stuff — morphanone / gitlab
#224 (Sep 1, 2016 1:31:59 AM)
  1. Apply limits to taxes, reset to 0 when taxpercent is toggled — morphanone / gitlab
#223 (Sep 1, 2016 1:12:18 AM)
  1. Improve user handling — morphanone / gitlab
  2. Allow users to have multiple ranks, separate promote/demote cmds — morphanone / gitlab
#222 (Aug 31, 2016 10:43:07 PM)
  1. Fix /town members [town] — morphanone / gitlab
#221 (Aug 31, 2016 10:34:07 PM)
  1. Save addon data properly because Bukkit is weird — morphanone / gitlab
#220 (Aug 31, 2016 12:54:44 AM)
  1. Add configurable enemies_offline points — morphanone / gitlab
#219 (Aug 30, 2016 11:54:59 PM)
  1. Add a war warmup phase, improve some code — morphanone / gitlab
#218 (Aug 30, 2016 6:38:11 PM)
  1. Make '/town map' respect language file — morphanone / gitlab
#217 (Aug 30, 2016 6:30:16 PM)
  1. Add conquest points to /town map — morphanone / gitlab
#216 (Aug 30, 2016 6:16:36 PM)
  1. Fix conquest announcements — morphanone / gitlab
#215 (Aug 28, 2016 4:56:20 PM)
  1. Fix tie spamming — morphanone / gitlab
#213 (Aug 28, 2016 4:31:27 PM)
  1. Fix war cost message — morphanone / gitlab
#212 (Aug 28, 2016 4:35:28 AM)
  1. Yet another NPE patch — morphanone / gitlab
#211 (Aug 28, 2016 4:25:38 AM)
  1. Fix more NPEs — morphanone / gitlab
#209 (Aug 28, 2016 4:12:53 AM)
  1. Fix / 0 exceptions — morphanone / gitlab
#208 (Aug 28, 2016 4:00:38 AM)
  1. Another old save patch — morphanone / gitlab
#207 (Aug 28, 2016 3:52:28 AM)
  1. Fix NPEs on old town files — morphanone / gitlab
#206 (Aug 27, 2016 3:54:18 PM)
  1. Implement war — morphanone / gitlab
#203 (Aug 14, 2016 2:27:09 AM)
  1. Fix stupid issues with v1_8_R1 and v1_9_R2 — morphanone / gitlab
----------, Sep 3, 2016
Resource Information
Author:
----------
Total Downloads: 124
First Release: Jul 15, 2016
Last Update: Nov 8, 2024
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings