Releases: TownyAdvanced/FlagWar
FlagWar v0.6.4
What's Changed
- translate to zh_CN by @Kongchenglige in #371
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.6.0 by @dependabot in #362
- Bump com.github.spotbugs:spotbugs-annotations from 4.8.3 to 4.8.6 by @dependabot in #364
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.5.0 by @dependabot in #370
- Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.1 to 3.5.0 by @dependabot in #368
- Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.5 to 3.5.0 by @dependabot in #369
- Bump version number for release. by @LlmDl in #372
New Contributors
- @Kongchenglige made their first contribution in #371
Full Changelog: 0.6.3...0.6.4
FlagWar v0.6.3
This version of Flag War is made for Towny 0.100.3.7 and newer!
This version will not run unless your Towny is 0.100.3.7 or newer, check your Towny version before installing.
What's Changed
- Bump org.jetbrains:annotations from 24.0.1 to 24.1.0 by @dependabot in #338
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.3 by @dependabot in #340
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.13.0 by @dependabot in #354
- Bump com.puppycrawl.tools:checkstyle from 10.12.7 to 10.15.0 by @dependabot in #357
- Update for breaking TransactionType change post 0.100.3.7. by @LlmDl in #359
Full Changelog: 0.6.2...0.6.3
FlagWar v0.6.2
What's Changed
Full Changelog: 0.6.1...0.6.2
FlagWar v0.6.1
What's Changed
- Bump com.github.spotbugs:spotbugs-annotations from 4.7.3 to 4.8.3 by @dependabot in #327
- Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.0 to 3.3.1 by @dependabot in #316
- Bump com.puppycrawl.tools:checkstyle from 10.12.4 to 10.12.7 by @dependabot in #331
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.5 by @dependabot in #332
- Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.1.2 to 3.2.5 by @dependabot in #333
- Fix/cell attack thread not running by @LlmDl in #334
Full Changelog: 0.6.0...0.6.1
FlagWar v0.6.0
What's Changed
- Bump com.palmergames.bukkit.towny:towny from 0.99.5.0 to 0.99.6.0 by @dependabot in #308
- Add support for Folia, bump min. Towny version to 0.100.0.0. by @LlmDl in #324
- Do a better job of implementing Folia. by @LlmDl in #325
- Update files for 0.6.0 release. by @LlmDl in #330
Full Changelog: 0.5.4...0.6.0
FlagWar v0.5.4
Another year, another FlagWar release, just kidding.
0.5.4 marks the first release after FlagCourier marked his retirement from the FlagWar project.
Check out the CHANGELOG.md or the Full Changelog at the bottom of this release. As always, reach out or file a ticket if you see unexpected behavior. We are currently seeking testers who want to see if #84 can be closed or not.
What's Changed
- Correct version number typo. by @LlmDl in #192
- Bump Snapshot and Baseline Targets by @TheFlagCourier in #196
- Bump towny from 0.98.4.0 to 0.98.4.3 by @dependabot in #197
- Bump checkstyle from 10.3.4 to 10.4 by @dependabot in #193
- Bump maven-shade-plugin from 3.4.0 to 3.4.1 by @dependabot in #190
- Bump maven-checkstyle-plugin from 3.2.0 to 3.2.1 by @dependabot in #214
- Bump bstats-bukkit from 3.0.0 to 3.0.1 by @dependabot in #223
- Bump checkstyle from 10.4 to 10.8.0 by @dependabot in #229
- Bump annotations from 23.0.0 to 24.0.1 by @dependabot in #231
- Make use of new Town#isAllowedToWar Towny feature. by @LlmDl in #221
- Bump maven-surefire-plugin from 2.22.2 to 3.0.0 by @dependabot in #241
- Bump maven-javadoc-plugin from 3.4.1 to 3.5.0 by @dependabot in #235
- Bump maven-compiler-plugin from 3.10.1 to 3.11.0 by @dependabot in #236
- Bump maven-failsafe-plugin from 2.22.2 to 3.0.0 by @dependabot in #243
- Bump checkstyle from 10.8.0 to 10.9.2 by @dependabot in #245
- Bump towny from 0.98.6.0 to 0.99.0.2 by @dependabot in #251
- Bump bstats-bukkit from 3.0.1 to 3.0.2 by @dependabot in #247
- Bump checkstyle from 10.9.2 to 10.9.3 by @dependabot in #246
- Bump maven-failsafe-plugin from 3.0.0 to 3.1.2 by @dependabot in #272
- Bump maven-surefire-plugin from 3.0.0 to 3.1.2 by @dependabot in #273
- Bump maven-checkstyle-plugin from 3.2.1 to 3.3.0 by @dependabot in #264
- Bump checkstyle from 10.9.3 to 10.12.0 by @dependabot in #268
- Bump towny from 0.99.0.2 to 0.99.1.3 by @dependabot in #274
- Bump towny from 0.99.1.3 to 0.99.5.0 by @dependabot in #287
- Bump checkstyle from 10.12.0 to 10.12.1 by @dependabot in #281
- Bump maven-source-plugin from 3.2.1 to 3.3.0 by @dependabot in #275
- Bump maven-shade-plugin from 3.4.1 to 3.5.0 by @dependabot in #279
- Transfer of Maintainership by @TheFlagCourier in #288
- Bump com.puppycrawl.tools:checkstyle from 10.12.1 to 10.12.4 by @dependabot in #303
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 by @dependabot in #300
Full Changelog: 0.5.3...0.5.4
Flag War v0.5.3
It's been a good long while since we've done a proper Flag War release. ( Has it really been almost a year? 📆 🙄 ) I (F.C.) apologize for all delays - real-world events, work, and burnout have been taking their cuts from my fiscal and mental budgets.
Anyways, here's what you can expect in this release. It's not exhaustive, but you can also view the CHANGELOG.md or the Full Changelog at the bottom of this release. As always, reach out or file a ticket if you see unexpected behavior.
What's Changed
- Ceilings & Broadcasts Macro PR ( #168 ), by @TheFlagCourier
- Adds ability to place flags below world ceilings, and some structures.
- To compensate, a rudimentary system for checking against being below sea-level was added.
- Under-attack messages can now be configured for precision.
- Modifies CheckStyle rules
- Misc. Changes (review commits)
- Adds ability to place flags below world ceilings, and some structures.
- Add russian language by @HighError in #101
- Fix beacon blocks being checked against when beacons are false in the config. by @LlmDl in #107
- Remove deprecated calls to TownyMessaging.sendResidentMessage. by @LlmDl in #108
- Allow for an empty editable materials list. by @LlmDl in #117
- Fix FlaggedInteractCooldown not parsing with TimeTools. by @LlmDl in #116
- Update the static min towny versions by @LlmDl in #142
- Feature: Neighbouring plots protect from attack. by @LlmDl in #141
- Bump various dependencies — @dependabot
New Contributors
- @HighError made their first contribution in #101
Full Changelog: 0.5.2...0.5.3
FlagWar 0.5.2: Targets on the Run!
Yet Another FlagWar Minor Release.
This one brings in a lot of internal changes to handle ones made upstream. The big changes of note include a new WarZone configuration section and relevant API endpoints; as well as the ability to prevent nations from toggling neutral (which was removed from Towny in 0.97.2.15.)
If you are using Towny 0.97.2.15+, or the recently release 0.97.3.0, please update to this release as soon as you can to avoid potential issues.
Changes (from CHANGELOG.md
)
Known-Issues
- Impossible to attack plots that have blocks placed at world build height. Marked as release-blocker for the next release (0.5.3, or, 0.6.0)
Added
-
VALIDATED_TOWNY_VER
version field:- Stores a manually-updated version string, containing the highest tested version of Towny that we've validated FlagWar for.
- If a newer version of Towny is run, a startup warning is issued from either of the following translation keys.
startup.check-towny.new.stable-release
- "Running Version of Towny released after FlagWar version. Are you up-to-date?"
startup.check-towny.new.pre-release
- "This Towny Pre-Release is newer than what we've tested. Please report any issues."
- _French and Spanish (MX) keys were machine-translated using bing translate. If you are familiar with either, feel free to drop in and make sure that the translation is appropriate. _
-
rules.nations_can_toggle_neutral
config setting. Default:FALSE
(#96, @LlmDl )- Replaces the now removed option that was in Towny. If False, prevents Towny from allowing Nations to become neutral.
- ℹ️It is important for users to not run FlagWar 0.5.1, or older, with Towny 0.97.2.15, or newer. The required API used for determining player-set neutrality in older releases is no longer present in newer Towny versions.
-
WarZone Configuration Section and Enhancements
(#88, @LlmDl )- Bumps Config version to 1.5
- New Config section 'warzone' containing the following keys:
warzone.editable_materials
(list)- List of materials that can be interacted with in war zones; Or, alternatively, cannot be interacted with.
- Accepts wildcards
*
and negations-{material}
.
warzone.item_use
(boolean)- Enables / Disables item usage in war_zones.
warzone.switch
(boolean)- Enables / Disables use of switches in war zones.
warzone.fire
(boolean)- Enables / Disables fire in war zones, add
-fire
towarzone.editable_materials
for complete fire protection when this is false.
- Enables / Disables fire in war zones, add
warzone.explosions
(boolean)- Enables / Disables explosions in war zones.
warzone.explosions_break_blocks
(boolean)- Enables / Disables explosions effecting Blocks.
- API: Enhanced FlagWarConfig
- Add
#setEditableMaterials()
(void) - Add
#isAllowingExplosionsInWarZone()
(bool) - Add
#isAllowingExplosionsToBreakBlocks()
(bool) - Add
#isAllowingFireInWarZone()
(bool) - Add
#isAllowingSwitchInWarZone()
(bool) - Add
#isAllowingItemUseInWarZone()
(bool) - Add
#isEditableMaterialInWarZone(Material)
(bool)
- Add
Changed
-
Build System
- Bumped SpotBugs-Annotations, Checkstyle, and IntelliJ Java Annotations
- Bumped Minimum Towny Version to 0.97.3.0. Same as validated version.
-
Refactored Holograph line population methods to reduce complexity. (commit: b08e1fa)
- This is a code-quality change, and should have no bearing on server operations.
-
Changed how time is tracked and calculated: (#89)
- FlagWar will now use Duration and Instant instead of the primitive
long
when storing cool-downs and timestamps.
- FlagWar will now use Duration and Instant instead of the primitive
-
Changed how payments / fees are calculated: Using BigDecimal to avoid IEEE754 floating-point inconsistencies. Scale to 2, use "Bankers' Rounding" (HALF_EVEN)
-
Refactored how Messaging.debug(string, args) functions: Use
Object...
overObject[]
, mimicking String.format().- Avoids passing args as
new Object[]{arg1,arg2,etc}
- Avoids passing args as
Fixed
- Fix
Cell#parse(WorldCoord)
(Also from #88)
Deprecated API ✂️
CellAttackEvent#getTime()
(long)CellAttackEvent#setTime()
(long)CellUnderAttack#formatTime(int, string)
(String)FlagWarAPI#getFlaggedTimestamp(Town)
(long)FlagWarConfig#getFlagWaitingTime()
(long)FlagWarConfig#getTimeBetweenFlagColorChange()
(long)FlagWarConfig#getTimeToWaitAfterFlagged()
(long)
FlagWar 0.5.1: French Translation, WarZoneListener Adjustments, Misc. Fixes (Amended Release)
Release 0.5.1 (Amended)
This release of FlagWar is a minor one, and replaces 0.5.0 as a supported version. It adds a French translation, and address a few things. Thanks to @Bibithom and @LlmDl for their contributions.
Note: This release was amended to include #87.
Summary of Changes
Added
-
Expansion of the WarZoneListener
(#87, @LlmDl)- Now implements listeners for the following Towny Events:
TownyBurnEvent
TownyExplodingBlocksEvent
TownyExplosionDamagesEntityEvent
TownBlockPVPTestEvent
- Follows the Towny WarZoneConfig like the Build/Destroy/Switch/ItemUse events do.
- Also adds
Cell#parse(WorldCoord)
method for convenience.
- Now implements listeners for the following Towny Events:
Fixed
v0.5.0: More attacker options & respect Towny's per-world war restrictions
Hello, again!
Well... It has been a busy couple of months here, so I do apologize for not making an earlier release.
For developers, this marks the first release with working Jitpack support, since at least https://github.com/TownyAdvanced/FlagWar/releases/tag/0.2.0-devel. So, depend away!
For administrators, you will need to run Towny 0.97.2.0, or later. Support for earlier versions has been dropped. Also, a bit of a warning to early-adopters: This release is severely lacking in the testing department.
Please report any regressions ASAP so that they can be taken care of.
FlagWar 0.5.0 Summary Changelog
Added
-
New Option to require a specific number of attackers to be online in the attacking Town and/or Nation.
(#72, @LlmDl)- Modifies behavior. Originally, this quota was determined by the same method used for defenders.
-
New Option to have conquered Town blocks unclaimed instead of transferred to the attacker.
(#73, @LlmDl)
Changed
-
Towny Target:
- Minimum version required is 0.97.2.0 - though it is recommended to use the latest version available to you.
-
Updated CHANGELOG.md, conforming to Keep a Changelog
-
FlagWar will now respect Towny's per-world settings for allowing war.
(#69 nice..., @LlmDl)- Originally used exclusively for Towny's EventWar.
-
GitHub Actions
- Now tests against Eclipse Temurin, from Adoptium.
- Tests against both JDK 16 and JDK 17.
-
In
CellUnderAttack.class
, replace uses ofscheduleSyncRepeatingTask()
withrunTaskTimer()
.- Should be purely aesthetic, but also removes a deprecation warning. SSRT simply calls RTT under the hood.
Fixed
-
Fixed NullPointerException found in OutlawEventListener.
(#79, @LlmDl) -
Fixed Jitpack building.
- Specifically uses Microsoft's build of OpenJDK 17, and Maven 3.8.3 (As opposed to Oracle JDK 8, Maven 3.6.1)
- Tested Working
Full Comparison: 0.4.0...0.5.0