Skip to content

0.8.3 for Towny 0.98.2.0+

Pre-release
Pre-release
Compare
Choose a tag to compare
@LlmDl LlmDl released this 29 Jun 14:41
· 279 commits to master since this release

SiegeWar 0.8.3 is a pre-release of SiegeWar

Hello SiegeWarAdmins,

With the announcement of Goosius' return-to-acting-retired-during-his-retirement from plugin development, I have took it upon myself to go over some of SiegeWar's classes and make them more readable when looked at by fresh eyes.

You'll see that most of the changes below start with the word Refactor, this is when code is moved around but the core logic doesn't change. This pre-release is the first batch of refactor commits plus a couple of new things:

  • Ops and towny admins wont get double-up siege messages spammed at them.
  • You can now prevent a nation capital from changing hands while either the previous Capital or new Capital are under Siege.
    • This is defaulted to false, so go look for it in your config and set it to true if you want this sort of thing.

The rest of what you see below makes the code base simpler, and more easy to read for new developers. Consider this a call, if you've can code Java, can make a Pull Request that doesn't alter things unnecessarily, and want to help out SiegeWar: take a browse through the open Issue Tickets and then come into the Towny Discord and start up a chat with me so we can talk about how you might tackle your first SiegeWar pull request.

What's Changed

  • Refactor on PlaceBlock class to improve readability. by @LlmDl in #627
  • Refactor TownOccupationController for readability. by @LlmDl in #628
  • Refactor DestroyBlock for readbility and add Block methods to Siege. by @LlmDl in #629
  • Refactor InvadeTown for readability. by @LlmDl in #630
  • Refactor PeacefullySubvertTown for readability. by @LlmDl in #631
  • Refactor PlunderTown for readability and safety. by @LlmDl in #632
  • Refactor StartSuppressionSiege for readability. by @LlmDl in #633
  • Refactor Conquest, Revolt and Liberation SiegeStarters by @LlmDl in #634
  • Refactor PeacefullyRevolt for readability. by @LlmDl in #635
  • Unify SiegeCamp starting process from the StartSiege classes into the SiegeController. by @LlmDl in #636
  • Switch to using Towny's internal configmigrator. by @LlmDl in #637
  • Refactor adding SiegeType convenience methods to Siege. by @LlmDl in #638
  • Add option to prevent sieged nations from changing their capital. (Configurable.) by @LlmDl in #644
  • Prevent double messaging of SiegeWar announcements. by @LlmDl in #643
  • Refactor the BukkitEventListener and PlayerDeath classes by @LlmDl in #640

Full Changelog: 0.8.2...0.8.3

Included Milestones Since 0.8.0

Update Guide:

  1. Ensure you have Towny 0.98.2.0 or newer.
  2. Download SiegeWar-0.8.3.jar from the assets section below⏬, and drop it into your plugins folder.
  3. Restart your server.

Installation Guide

Wiki

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