Outlaw Teleportation Protections & 1.16.5 support
This release is a minor upgrade over https://github.com/TownyAdvanced/FlagWar/releases/tag/0.3.0.
Key Changes (See CHANGELOG.md for more)
- Platform Support: Set API level to 1.16; 1.16.5 supported*.
- A good portion of the Towny community still relies on 1.16.5
- *Java 16 is still required. Recommended: Amazon Corretto, Eclipse Adoptium, or the Microsoft Build of OpenJDK
- Support will be dropped in the future when 1.18.x is targeted. The goal is to support the two most recent API branches, if possible.
- NEW (Feature) Adds the
OutlawListener
, with anOutlawTeleportEvent
Event Handler.- Prevents enemy outlaws from being teleported away by Towny's outlaw entry prevention system while there is an active War Flag in play.
- Bump Required Towny version to 0.97.0.17+ (Required for the
OutlawListener
.)
- NEW (API): Added
FlagWarAPI#isUnderAttack(Nation)
, which checks if any town within a Nation is under attack.
Checksums
Be sure to validate the files, especially if you did not get them from here.
You can run the following from bash (or cygwin terminal), provided md5sum / sha256sum exist.
# For bash
md5sum -c md5.sums
sha256sum -c sha256.sums
# Or manually compare
cat ./sha256.sums
sha256sum ./FlagWar-0.4.0.jar
You can do something similar in PowerShell, too.
cat .\sha256.sums # See valid SHA256 sums
Get-FileHash -Path ".\FlagWar-0.4.0.jar" -Algorithm SHA256