Skip to content

Releases: TownyAdvanced/SiegeWar

0.4.4 For Towny 0.97.0.0 +

25 Jul 18:59
d40f629
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.4.4 is a pre-release for SiegeWar 0.5.0

Changes Since 0.4.0

New Features:

  • Automatic dynmap-hiding-mode, by @Goosius1
    • Added new map-hiding mode: AUTOMATIC (default).
    • When this mode is enabled, any player is in the wilderness or a besieged town, is hidden on the dynmap.
    • This mechanic unlocks basic & advanced military strategies/tactics, as described in the FAQ.
  • New occupation management commands, by @Goosius1
    • /sw nation transferoccupation <town> <nation>: Nation transfers its occupation of a town to another nation.
    • /sw town inviteoccupation <nation>: Town invites a nation to occupy the town.
  • /swa revoltimmunity command, by @Goosius1
    • Allows SW admins to set revolt immunities for towns.

Improvements

  • Updated cannon sessions to apply to all towns, by @Goosius1
  • Added Axolotl to default siegezone-blocked-buckets, by @0xBit-MC
  • Added ice to default siegezone-blocked-blocks, by @Goosius1
  • Added SiegeEndEvent, by @Goosius1

Bug Fixes

  • Fixed /n list not being ordered correctly, by @Goosius1
    • This fix will only activate if you have Towny 0.97.0.14 or later.
  • Fixed support for no-economy, by @Goosius1
  • Removed double color code from lang file, by @illumeleet

Included Milestones

Update Guide:

  1. Update your SiegeWar config.yml file:
    • Add ice to the zone_block_placement_restrictions list.
    • Add axolotl_bucket to the zone_bucket_usage_restrictions list.
  2. Update your Towny townyperms.yml file, and add this to the mayor section:
   - siegewar.command.siegewar.town.*
  1. If you are using Dynmap, edit the configuration.txt file, and disable the following features:
    • hideifshadow ... delete this line or comment it out
    • hideifundercover ... delete this line or comment it out
    • hideifsneaking ... set this to false
    • hide-if-invisibility-potion ... set this to false
  2. Stop your server.
  3. In your plugins folder, delete the older version of the SiegeWar jar.
  4. In your plugins folder, drop in SiegeWar-0.4.4.jar.
  5. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.4.3 for Towny 0.97.0.0 +

18 Jul 11:07
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.4.3 is a **HOTFIX** pre-release
If you are on 0.4.1 or 0.4.2, deploy this asap.

Changes Since 0.4.0

New Features:

  • Automatic Dynmap Hiding, by @Goosius1
    • New map-hiding option mode added: AUTOMATIC (default).
    • When this mode is enabled, any player is in the wilderness or a besieged town, is hidden on the dynmap.
    • This mechanic is extremely helpful for military strategy/tactics, as described in the above link.
  • New occupation commands, by @Goosius1
    • /sw nation transferoccupation <town> <nation>: Nation transfers its occupation of a town to another nation.
    • /sw town inviteoccupation <nation>: Town invites a nation to occupy the town.

Improvements:

  • Updated cannon sessions to apply to all towns, by @Goosius1
  • Added SiegeEndEvent, by @Goosius1

Bug Fixes

Included Milestones

Update Guide:

  1. Ensure you have Towny 0.97.0.0 or newer.
  2. Update your Towny townyperms.yml file, and add the following to the mayor section:
   - siegewar.command.siegewar.town.*
  1. If you are using Dynmap, edit the configuration.txt file, and disable all native-dynmap features, as follows:
    • hideifshadow ... delete this line or comment it out
    • hideifundercover ... delete this line or comment it out
    • hideifsneaking ... set this to false
    • hide-if-invisibility-potion ... set this to false
  2. If you are using Dynmap-Towny, ensure you have version 0.85.
  3. Stop your server.
  4. In your plugins folder, delete the older version of the SiegeWar jar.
  5. In your plugins folder, drop in SiegeWar-0.4.3.jar.
  6. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.4.2 for Towny 0.97.0.0 +

17 Jul 20:56
423b14a
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.4.2 is a pre-release for SiegeWar 0.5.0

Changes Since 0.4.0

New Features:

  • Automatic Dynmap Hiding, by @Goosius1
    • New map-hiding option mode added: AUTOMATIC (default).
    • When this mode is enabled, any player is in the wilderness or a besieged town, is hidden on the dynmap.
    • This mechanic is extremely helpful for military strategy/tactics, as described in the above link.
  • New occupation commands, by @Goosius1
    • /sw nation transferoccupation <town> <nation>: Nation transfers its occupation of a town to another nation.
    • /sw town inviteoccupation <nation>: Town invites a nation to occupy the town.

Improvements:

  • Updated cannon sessions to apply to all towns, by @Goosius1
  • Added SiegeEndEvent, by @Goosius1

Bug Fixes

Included Milestones

Update Guide:

  1. Ensure you have Towny 0.97.0.0 or newer.
  2. Update your Towny townyperms.yml file, and add the following to the mayor section:
   - siegewar.command.siegewar.town.*
  1. If you are using Dynmap, edit the configuration.txt file, and disable all native-dynmap features, as follows:
    • hideifshadow ... delete this line or comment it out
    • hideifundercover ... delete this line or comment it out
    • hideifsneaking ... set this to false
    • hide-if-invisibility-potion ... set this to false
  2. If you are using Dynmap-Towny, ensure you have version 0.85.
  3. Stop your server.
  4. In your plugins folder, delete the older version of the SiegeWar jar.
  5. In your plugins folder, drop in SiegeWar-0.4.2.jar.
  6. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.4.1 for Towny 0.97.0.0 +

08 Jul 23:07
1f7fa72
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.4.1 is a pre-release for SiegeWar 0.5.0

Changes Since 0.4.0

New Features:

  • Automatic Dynmap Hiding, by @Goosius1
    • This feature renames map sneaking to map hiding, and adds a new option - AUTOMATIC mode.
    • When automatic mode is enabled, whenever any player is in the wilderness or a besieged town, they get hidden on the dynmap.
    • This mechanic has multiple beneficial and interesting effects, as described in the above link.

Improvements:

Bug Fixes

Included Milestones

Update Guide:

  1. Ensure you have Towny 0.97.0.0 or newer.
  2. If you are using Dynmap-Towny, ensure you have version 0.85.
  3. If you are using Dynmap, edit the 'configuration.txt' file, and disable all native-dynmap features, as follows:
    • hideifshadow ... comment this out
    • hideifundercover ... comment this out
    • hideifsneaking ... set this to false
    • hide-if-invisibility-potion ... set this to false
  4. Stop your server.
  5. In your plugins folder, delete the older version of the SiegeWar jar.
  6. In your plugins folder, drop in SiegeWar-0.4.1.jar.
  7. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.4.0 for Towny 0.97.0.0 +

26 Jun 15:02
2413d4a
Compare
Choose a tag to compare

SiegeWar 0.4.0 is a full release of the SiegeWar Plugin

New Features:

  • Town Occupation Refactor, by @Goosius1
    • Town occupation is now more stable for the occupier, and less harsh for the occupied:
      • After a town is invaded, it has 2 nations:
        • Natural nation
        • Occupying nation
      • Occupied towns remain full members of their natural nation, with the exception of the following 4 areas, in which they are counted as part of the occupying nation:
        • Bonus plots contributions
        • /n list rankings
        • Dynmap town colour
        • Guardian town influences
      • Towns can no longer escape occupation via /n leave, but instead must first win a Revolt Siege.
    • Peaceful Nations are now possible:
      • If a nation sets all its towns to peaceful, it is effectively a peaceful nation.
    • There now 4 siege types:
      • Conquest - Nation attacks unoccupied town.
      • Liberation - Nation attacks occupied town, to free town from occupation.
      • Revolt - Town revolts against its occupier, to free town from occupation.
      • Suppression - Nation attacks a town it occupies, to suppress rebel activity in the town.
  • Nation Siege Immunity, by @Goosius1
    • Optional Feature (i.e. off by default)
    • Mechanism:
      • If any nation town comes under siege, this is a 'home defence war'.
      • After any period of continuous home defence war, the entire nation gets a break from sieging,
        achieved by giving all its town some siege immunity.
      • To mitigate exploits, nations face some mild restrictions during home defence wars.
      • To mitigate annoyance sieges, the cost to siege a nation's towns increases as the nation size increases.

Improvements:

  • Peaceful Town Influence Update, by @Goosius1
    • Nation influence on a peaceful town now depends on all nearby guardian towns, not just the biggest ones.
    • Peaceful towns without any natural-nation guardian town, no longer resist the influence of foreign nations.
    • See user guide for full details.
  • Battle Session Scheduler Improvements, by @Goosius1
    • Battle session start times can now be configured differently for weekdays vs. weekend-days.
    • The default number of start times has been greatly reduced, to just 2 on weekdays, and 5 on weekend-days.
    • These changes are expected to improve the quality of individual battles, by encouraging casual players to get involved, and by better facilitating opposing siege sides to actually meet in person for PVP.
  • Battle Points Distribution Improvements, by @LlmDl
    • 2 battle-points distribution options are now available:
      • Winner takes all points (default).
      • Winner and loser points are both counted.
  • Guardian towns now continue to operate even if sieged, by @Goosius1
  • Sieged, Occupied, & Peaceful towns can no longer move homebock, by @Goosius1
  • If nation wins the defence of one of their towns, the warchest goes to nation bank (instead of town bank), by @Goosius1
  • Pulling in peaceful towns in now controlled via nation enemy/non-enemy statuses, rather than town open status, by @Goosius1
  • Minimum required Towny version is now 0.97.0.0, by @LlmDl
  • Removed the pause-banner-control-session-if-enemy-is-present mechanic, by @Goosius1

Bug Fixes

  • Remove redundant Cannons warning from config, by @Goosius1
  • Synch terminology of nation war history with user-guide, by @Goosius1
  • Fix immunity help not being shown sometimes bug, by @Warriorrrr
  • Patch remaining methods to break siege banners bug, by @Warriorrrr
  • Fix index out of bounds exception on TownyBuildEvent when placing chest far away from town, by @Goosius1
  • Fix ConcurrentModificationException possible in HudManager, by @LlmDl
  • Fix typo in guide book, by @Warriorrrr
  • Fix Town Merge bug, by @Warriorrrr
  • Fix trap mitigation explosion handling if the Cannons integration is disabled, by @galacticwarrior9
  • Fix bug with explosions bypassing trap mitigation bug, by @Goosius1
  • Fix bug where bc sessions were not wiped at end of battle session, by @Goosius1

Included Milestones

Update Guide:

  1. Ensure you have Towny 0.97.0.0 or newer.
  2. If you are using Dynmap-Towny, ensure you have version 0.85.
  3. Stop your server.
  4. In your plugins folder, delete the older version of the SiegeWar jar.
  5. In your plugins folder, drop in SiegeWar-0.4.0.jar.
  6. In your Dynmap-Towny config.yml, add the following in to your town popup definition:

    <br/><span style="font-weight:bold;">Occupier&colon; %occupier%</span>
  7. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.3.10 for Towny 0.97.0.0 +

22 Jun 11:48
3661b8f
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.3.10 is a pre-release for SiegeWar 0.4.0

Changes Since 0.3.0

New Features:

  • Town Occupation Refactor, by @Goosius1
    • Town occupation is now more stable for the occupier, and less harsh for the occupied:
      • After a town is invaded, it has 2 nations:
        • Natural nation
        • Occupying nation
      • Occupied towns remain full members of their natural nation, with the exception of the following 4 areas, in which they are counted as part of the occupying nation:
        • Bonus plots contributions
        • /n list rankings
        • Dynmap town colour
        • Guardian town influences
      • Towns can no longer escape occupation via /n leave, but instead must first win a Revolt Siege.
    • Peaceful Nations are now possible:
      • If a nation sets all its towns to peaceful, it is effectively a peaceful nation.
    • There now 4 siege types:
      • Conquest - Nation attacks unoccupied town.
      • Liberation - Nation attacks occupied town, to free town from occupation.
      • Revolt - Town revolts against its occupier, to free town from occupation.
      • Suppression - Nation attacks a town it occupies, to suppress rebel activity in the town.
  • Nation Siege Immunity, by @Goosius1
    • Optional Feature (i.e. off by default)
    • Mechanism:
      • If any nation town comes under siege, this is a 'home defence war'.
      • After any period of continuous home defence war, the entire nation gets a break from sieging,
        achieved by giving all its town some siege immunity.
      • To mitigate exploits, nations face some mild restrictions during home defence wars.
      • To mitigate annoyance sieges, the cost to siege a nation's towns increases as the nation size increases.

Improvements:

  • Peaceful Town Influence Update, by @Goosius1
    • Nation influence on a peaceful town now depends on all nearby guardian towns, not just the biggest ones.
    • Peaceful towns without any natural-nation guardian town, no longer resist the influence of foreign nations.
    • See user guide for full details.
  • Battle Session Scheduler Improvements, by @Goosius1
    • Battle session start times can now be configured differently for weekdays vs. weekend-days.
    • The default number of start times has been greatly reduced, to just 2 on weekdays, and 5 on weekend-days.
    • These changes are expected to improve the quality of individual battles, by encouraging casual players to get involved, and by better facilitating opposing siege sides to actually meet in person for PVP.
  • Guardian towns now continue to operate even if sieged, by @Goosius1
  • Sieged, Occupied, & Peaceful towns can no longer move homebock, by @Goosius1
  • If nation wins the defence of one of their towns, the warchest goes to nation bank (instead of town bank), by @Goosius1
  • Pulling in peaceful towns in now controlled via nation enemy/non-enemy statuses, rather than town open status, by @Goosius1
  • Minimum required Towny version is now 0.97.0.0, by @LlmDl
  • Removed the pause-banner-control-session-if-enemy-is-present mechanic, by @Goosius1

Bug Fixes

  • Remove redundant Cannons warning from config, by @Goosius1
  • Synch terminology of nation war history with user-guide, by @Goosius1
  • Fix immunity help not being shown sometimes bug, by @Warriorrrr
  • Patch remaining methods to break siege banners bug, by @Warriorrrr
  • Fix index out of bounds exception on TownyBuildEvent when placing chest far away from town, by @Goosius1
  • Fix ConcurrentModificationException possible in HudManager, by @LlmDl
  • Fix typo in guide book, by @Warriorrrr
  • Fix Town Merge bug, by @Warriorrrr
  • Fix trap mitigation explosion handling if the Cannons integration is disabled, by @galacticwarrior9
  • Fix bug with explosions bypassing trap mitigation bug, by @Goosius1
  • Fix bug where bc sessions were not wiped at end of battle session, by @Goosius1

Included Milestones

Update Guide:

  1. Ensure you have Towny 0.97.0.0 or newer.
  2. If you are using Dynmap-Towny, ensure you have version 0.85.
  3. Stop your server.
  4. In your plugins folder, delete the older version of the SiegeWar jar.
  5. In your plugins folder, drop in SiegeWar-0.3.10.jar.
  6. In your Dynmap-Towny config.yml, add the following in to your town popup definition:

    <br/><span style="font-weight:bold;">Occupier&colon; %occupier%</span>
  7. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.3.9 for Towny 0.97.0.0 +

19 May 13:43
4b5ce41
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.3.9 is a HOTFIX pre-release

If you are on any pre-release from 0.3.1 on, deploy this hotfix asap

Changes Since 0.3.0

New Features:

  • Town Occupation Refactor, by @Goosius1
    • Town occupation is now more stable for the occupier, and less harsh for the occupied:
      • Less harsh for the occupied:
        • After a town is invaded, it has 2 nations: 1. Natural nation, 2. Occupier nation.
        • Occupied towns remain full members of their natural nation, with the exception of the following 3 areas, in which they are counted as part of the occupying nation:
          • bonus plots contributions
          • /n list rankings
          • dynmap town colour
        • This mechanic preserves the /n spawn even if the capital is occupied (important on servers without public t spawns).
      • More stable for the occupier:
        • Towns can no longer escape occupation via /n leave, but instead must first win a Revolt Siege.
        • Also, softer occupation means less motivation to revolt.
        • This added stability is expected to make empires easier to grow and hold together.
    • Peaceful Nations are now possible:
      • Peaceful towns do not move from their natural nation.
      • Thus if a nation sets all its towns to peaceful, it is effectively a peaceful nation.
    • There now 4 siege types:
      • Conquest - Nation attacks unoccupied town.
      • Liberation - Nation attacks occupied town, to free town from occupation.
      • Revolt - Town revolts against its occupier, to free town from occupation.
      • Suppression - Nation attacks a town it occupies, to suppress rebel activity in the town.
  • Nation Siege Immunity, by @Goosius1
    • Optional Feature (i.e. off by default)
    • Mechanism:
      • If any nation town comes under siege, this is a 'home defence war'.
      • After any period of continuous home defence war, the entire nation gets a break from sieging,
        achieved by giving all its town some siege immunity.
      • To mitigate exploits, nations face some mild restrictions during home defence wars.
      • To mitigate annoyance sieges, the cost to siege a nation's towns increases as the nation size increases.

Improvements:

  • Peaceful town Influence Update, by @Goosius1
    • Nation influence on a peaceful town now depends on all nearby guardian towns, not just the biggest ones.
    • Peaceful towns without any nearby natural-nation guardian town, no longer resist the influence of foreign nations.
    • See user guide for full details.
  • Siege, Occupied, & Peaceful towns can no longer move homebock to exploit (or at all), by @Goosius1
  • Guardian towns now continue to operate even if sieged, by @Goosius1
  • If nation wins the defence of one of their towns, the warchest goes to nation bank (instead of town bank), by @Goosius1
  • Instead of setting town open to control pulling in nearby peaceful towns, nations now control this via nation enemy/non-enemy operations, by @Goosius1
  • Removed unused imports, by @LlmDl
  • Add battle sessions defensive code, by @Goosius1
  • Patch remaining methods to break siege banners bug, by @Warriorrrr
  • Improved siege loading safety and logging, by @Goosius1
  • Remove NRE and EconomyException catches, by @LlmDl
  • Minimum required Towny version is now a full release - 0.97.0.0, by @LlmDl

Bug Fixes

  • Remove redundant Cannons warning from config, by @Goosius1
  • Synch terminology of nation war history with user-guide, by @Goosius1
  • Fix immunity help not being shown sometimes bug, by @Warriorrrr
  • Fix index out of bounds exception on TownyBuildEvent when placing chest far away from town, by @Goosius1
  • Fix ConcurrentModificationException possible in HudManager, by @LlmDl
  • Fix typo in guide book, by @Warriorrrr
  • Fix Town Merge bug, by @Warriorrrr
  • Fix trap mitigation explosion handling if the Cannons integration is disabled, by @galacticwarrior9
  • Fix bug with explosions bypassing trap mitigation bug, by @Goosius1

Included Milestones

Update Guide:

  1. Ensure you have Towny 0.97.0.0 or newer.
  2. If you are using Dynmap-Towny, ensure you have version 0.85.
  3. Stop your server.
  4. In your plugins folder, delete the older version of the SiegeWar jar.
  5. In your plugins folder, drop in SiegeWar-0.3.9.jar.
  6. In your Dynmap-Towny config.yml, add the following in to your town popup definition:

    <br/><span style="font-weight:bold;">Occupier&colon; %occupier%</span>
  7. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.3.8 for Towny 0.97.0.0 +

17 May 18:11
53772e3
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.3.8 is a pre-release for SiegeWar 0.4.0

Changes Since 0.3.0

New Features:

  • Town Occupation Refactor, by @Goosius1
    • Town occupation is now more stable for the occupier, and less harsh for the occupied:
      • Less harsh for the occupied:
        • After a town is invaded, it has 2 nations: 1. Natural nation, 2. Occupier nation.
        • Occupied towns remain full members of their natural nation, with the exception of the following 3 areas, in which they are counted as part of the occupying nation:
          • bonus plots contributions
          • /n list rankings
          • dynmap town colour
        • This mechanic preserves the /n spawn even if the capital is occupied (important on servers without public t spawns).
      • More stable for the occupier:
        • Towns can no longer escape occupation via /n leave, but instead must first win a Revolt Siege.
        • Also, softer occupation means less motivation to revolt.
        • This added stability is expected to make empires easier to grow and hold together.
    • Peaceful Nations are now possible:
      • Peaceful towns do not move from their natural nation.
      • Thus if a nation sets all its towns to peaceful, it is effectively a peaceful nation.
    • There now 4 siege types:
      • Conquest - Nation attacks unoccupied town.
      • Liberation - Nation attacks occupied town, to free town from occupation.
      • Revolt - Town revolts against its occupier, to free town from occupation.
      • Suppression - Nation attacks a town it occupies, to suppress rebel activity in the town.
  • Nation Siege Immunity, by @Goosius1
    • Optional Feature (i.e. off by default)
    • Mechanism:
      • If any nation town comes under siege, this is a 'home defence war'.
      • After any period of continuous home defence war, the entire nation gets a break from sieging,
        achieved by giving all its town some siege immunity.
      • To mitigate exploits, nations face some mild restrictions during home defence wars.
      • To mitigate annoyance sieges, the cost to siege a nation's towns increases as the nation size increases.

Improvements:

  • Peaceful town Influence Update, by @Goosius1
    • Nation influence on a peaceful town now depends on all nearby guardian towns, not just the biggest ones.
    • Peaceful towns without any nearby natural-nation guardian town, no longer resist the influence of foreign nations.
    • See the user guide for full details.
  • Siege, Occupied, & Peaceful towns can no longer move homebock to exploit (or at all), by @Goosius1
  • Guardian towns now continue to operate even if sieged, by @Goosius1
  • If nation wins the defence of one of their towns, the warchest goes to nation bank (instead of town bank), by @Goosius1
  • Instead of setting town open to control pulling in nearby peaceful towns, nations now control this via nation enemy/non-enemy operations, by @Goosius1
  • Removed unused imports, by @LlmDl
  • Add battle sessions defensive code, by @Goosius1
  • Patch remaining methods to break siege banners bug, by @Warriorrrr
  • Improved siege loading safety and logging, by @Goosius1
  • Remove NRE and EconomyException catches, by @LlmDl
  • Minimum required Towny version is now a full release - 0.97.0.0, by @LlmDl

Bug Fixes

  • Remove redundant Cannons warning from config, by @Goosius1
  • Synch terminology of nation war history with user-guide, by @Goosius1
  • Fix immunity help not being shown sometimes bug, by @Warriorrrr
  • Fix index out of bounds exception on TownyBuildEvent when placing chest far away from town, by @Goosius1
  • Fix ConcurrentModificationException possible in HudManager, by @LlmDl
  • Fix typo in guide book, by @Warriorrrr
  • Fix Town Merge bug, by @Warriorrrr
  • Fix trap mitigation explosion handling if the Cannons integration is disabled, by @galacticwarrior9
  • Fix bug with explosions bypassing trap mitigation bug, by @Goosius1

Included Milestones

Update Guide:

  1. Ensure you have Towny 0.97.0.0 or newer.
  2. If you are using Dynmap-Towny, ensure you have version 0.85.
  3. Stop your server.
  4. In your plugins folder, delete the older version of the SiegeWar jar.
  5. In your plugins folder, drop in SiegeWar-0.3.8.jar.
  6. In your Dynmap-Towny config.yml, add the following in to your town popup definition:

    <br/><span style="font-weight:bold;">Occupier&colon; %occupier%</span>
  7. Start your server.

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.3.7 for Towny 0.96.7.9 +

28 Apr 18:11
3fa5166
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.3.7 is a pre-release for 0.4.0

Changes Since 0.3.0

New Features:

  • Town Occupation Refactor, by @Goosius1
    • Town occupation is now less harsh:
      • After a town is invaded, it has 2 nations: 1. Natural nation, 2. Occupier nation.
      • Occupied towns remain full members of their natural nation, with the exception of the following 3 areas, in which they are counted as part of the occupying nation:
        • bonus plots contributions
        • /n list rankings
        • dynmap town colour
      • This mechanic preserves the /n spawn even if the capital is occupied (important on servers without public t spawns).
    • Peaceful Nations are now possible:
      • Peaceful towns do not move from their natural nation.
      • Thus if a nation sets all its towns to peaceful, it is effectively a peaceful nation.
    • Growing an empire by conquest is now easier:
      • Softer occupation means less motivation to revolt.
      • Also towns can no longer escape occupation via /n leave, but instead must first win a Revolt Siege.
    • There now 4 siege types:
      • Conquest - Nation attacks unoccupied town.
      • Liberation - Nation attacks occupied town, to free town from occupation.
      • Revolt - Town revolts against its occupier, to free town from occupation.
      • Suppression - Nation attacks a town it occupies, to suppress rebel activity in the town.
  • Nation Siege Immunity, by @Goosius1
    • Optional Feature (i.e. off by default)
    • Mechanism:
      • If any nation town comes under siege, this is a 'home defence war'.
      • After any period of continuous home defence war, the entire nation gets a break from sieging,
        achieved by giving all its town some siege immunity.
      • To mitigate exploits, nations face some mild restrictions during home defence wars.
      • To mitigate annoyance sieges, the cost to siege a nation's towns increases as the nation size increases.

Improvements:

  • Siege, Occupied, & Peaceful towns can no longer move homebock to exploit (or at all), by @Goosius1
  • Guardian towns now continue to operate even if sieged, by @Goosius1
  • If nation wins the defence of one of their towns, the warchest goes to nation bank (instead of town bank), by @Goosius1
  • Instead of setting town open to control pulling in nearby peaceful towns, nations now control this via nation enemy/non-enemy operations, by @Goosius1
  • Removed unused imports, by @LlmDl
  • Add battle sessions defensive code, by @Goosius1
  • Patch remaining methods to break siege banners bug, by @Warriorrrr

Bug Fixes

  • Remove redundant Cannons warning from config, by @Goosius1
  • Synch terminology of nation war history with user-guide, by @Goosius1
  • Fix immunity help not being shown sometimes bug, by @Warriorrrr
  • Fix index out of bounds exception on TownyBuildEvent when placing chest far away from town, by @Goosius1
  • Fix ConcurrentModificationException possible in HudManager, by @LlmDl
  • Fix typo in guide book, by @Warriorrrr
  • Fix Town Merge bug, by @Warriorrrr
  • Fix trap mitigation explosion handling if the Cannons integration is disabled, by @galacticwarrior9
  • Fix bug with explosions bypassing trap mitigation bug, by @Goosius1

Included Milestones

  • 0.3.7
    • Replaced 'all nation sieges' feature with 'nation immunity' feature, by @Goosius1
    • Fixed plunder not distributing correctly in revolt sieges, by @LlmDl
    • Fixed admin spawning into besieged towns, by @Goosius1
    • FIxed bug with display of historic nation participants, by @Goosius1
    • Revolt siege attacker name fix, by @Goosius1
    • Restrict homeblock move for sieged & occupied towns, by @Goosius1
    • Guardian towns continue to operate event if sieged, by @Goosius1
  • 0.3.6
  • 0.3.5
  • 0.3.4
  • 0.3.3
  • 0.3.2
  • 0.3.1

Update Guide:

  1. Ensure you have Towny 0.96.7.9 or newer.
  2. If you are using Dynmap-Towny, ensure you have version 0.85
  3. Stop your server
  4. In your plugins folder, delete the older version of the SiegeWar jar
  5. In your plugins folder, drop in SiegeWar-0.3.7.jar
  6. In your Dynmap-Towny config.yml, add the following in to your town popup definition:

    <br/><span style="font-weight:bold;">Occupier&colon; %occupier%</span>
  7. Start your server

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below:

0.3.6 for Towny 0.96.7.9 +

05 Apr 17:15
f3af1db
Compare
Choose a tag to compare
Pre-release

SiegeWar 0.3.6 is a pre-release for 0.4.0

New Features:

  • All-Nation-Sieges, by @Goosius1
    • This is a re-launch of the home-defence feature from the last pre-release, with multiple improvements to functionality and better documentation.
    • Description:
      • When a nation home town is attacked, the nation faces the challenge as a team:
        • All other nation towns become immune to siege attack.
        • The immunity lasts for a few days after the siege ends.
        • During the siege, some war restrictions apply to all towns.
    • Benefits to Nation:
      • The nation cannot be forced to fight more than one siege at a time,
        but it can choose to fight more, by attacking/occupying/revolting.
      • After each home defence siege, the entire nation team gets a server-configurable break from sieging,
        default 4.5 days for a full-duration siege.
    • Costs to Nation:
      • During a home-defence siege, the nation cannot recruit new towns.
      • During a home-defence siege, all home towns receive a milder version of the usual siege restrictions.
        (cannot claim/unclaim/recruit, and PVP on except for peaceful towns).
    • Benefits to Server:
      • The server can better protect player health, as players are no longer forced to fight 7 days a week.
      • The server can more carefully control the exact amount of siege aggression which they would like on the server.
  • Town Occupation Refactor, by @Goosius1
    • Town occupation is now less harsh:
      • After a town is invaded, it has 2 nations: 1. Home nation, 2. Occupier nation.
      • Occupied towns remain full members of their home nation, with the exception of the following 3 areas, in which they are counted as part of the occupying nation:
        • bonus plots contributions
        • /n list rankings
        • dynmap town colour
      • This mechanic preserves the /n spawn even if the capital is occupied (important on servers without public t spawns).
    • Peaceful Nations are now possible:
      • Peaceful towns do not move from the home nation.
      • Thus if a nation sets all its towns to peaceful, it is effectively a peaceful nation.
    • Growing an empire by conquest is now easier:
      • Softer occupation means less motivation to revolt.
      • Also towns can no longer escape occupation via /n leave, but instead must first win a Revolt Siege.
    • There now 4 siege types:
      • Conquest - Nation attacks unoccupied town.
      • Liberation - Nation attacks occupied town, to free town from occupation.
      • Revolt - Town revolts against its occupier, to free town from occupation.
      • Suppression - Nation attacks a town it occupies, to suppress rebel activity in the town.

Improvements:

  • Stopped peaceful towns using homeblock-move exploit, by @Goosius1
  • If nation wins a home town defence, the warchest goes to nation bank (instead of town bank), by @Goosius1
  • Allow nations to choose which peaceful towns to occupy - they only occupy enemy/non-nation towns, by @Goosius1
  • Removed the open-town requirement for guardian towns, by @Goosius1
  • Removed unused imports, by @LlmDl
  • Add battle sessions defensive code, by @Goosius1
  • Patch remaining methods to break siege banners bug, by @Warriorrrr

Bug Fixes

  • Remove occupation when town goes to ruin, by @Goosius1
  • Remove redundant Cannons warning from config, by @Goosius1
  • Synch terminology of nation war history with user-guide, by @Goosius1
  • Fix immunity help not being shown sometimes bug, by @Warriorrrr
  • Fix bug in 0.3.1, where defending soldiers were only counted if they were part of the besieged town, by @Goosius1
  • Fix bug in 0.3.1, where guardian towns did not operate if occupied, @Goosius1
  • Fix bug in 0.3.1, harmless errors, by @Warriorrrr
  • Fix bug in 0.3.1, where /sw nation ... commands did not work
  • Fix bug in 0.3.2, where players all got a warning each 20 seconds on a battle session break, by @Goosius1
  • Fix bug in 0.3.1, where a soldier death in a siege zone might not be recognized, by @Goosius1
  • Fix bug in 0.3.1, where the population modifier feature was showing an index out of bounds exception, by @LlmDl
  • Fix index out of bounds exception on TownyBuildEvent when placing chest far away from town, by @Goosius1
  • Fix ConcurrentModificationException possible in HudManager, by @LlmDl
  • Fix typo in guide book, by @Warriorrrr
  • Fix Town Merge bug, by @Warriorrrr
  • Fix trap mitigation explosion handling if the Cannons integration is disabled, by @galacticwarrior9
  • Fix bug with explosions bypassing trap mitigation bug, by @Goosius1

Update Guide:

  1. Ensure you have Towny 0.96.7.9 or newer.
  2. If you are using Dynmap-Towny, ensure you have version 0.85
  3. Stop your server
  4. In your plugins folder, delete the older version of the SiegeWar jar
  5. In your plugins folder, drop in SiegeWar-0.3.6.jar
  6. In your Dynmap-Towny config.yml, add the following in to your town popup definition:

    <br/><span style="font-weight:bold;">Occupier&colon; %occupier%</span>
  7. Start your server

Installation Guide

Wiki

⏬ Download available as a .jar file in the Assets section below: