Skip to content

0.3.6 for Towny 0.96.7.9 +

Pre-release
Pre-release
Compare
Choose a tag to compare
@Goosius1 Goosius1 released this 05 Apr 17:15
· 992 commits to master since this release
f3af1db

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: