Skip to content

Releases: WiIIiam278/HuskTowns

HuskTowns 3.0.8 - 1.21.4 support, bug fixes

22 Dec 16:59
508901e
Compare
Choose a tag to compare

HuskTowns 3.0.8 improves support for 1.21.4 and fixes bugs. This release will perform database migrations on startup, and requires updating or regenerating your flags.yml file.

  • Added PLACE_VEHICLE and BREAK_VEHICLE operation types and added handling for boats with chest in 1.21.4
  • Improved the performance of SQLite database mode; data is now stored in jsonb format
  • Fixed usernames with multiple underscores being formatting-escaped causing /town invite accept/decline to not work (#532)
  • Fixed a NoSuchElementException that could occur when using the town invite command (#531)
  • Fixed reeling an entity in with a fishing rod not being correctly protected against (#534)

To update, just drag+drop and update your flags.yml file (or regenerate if you haven't modified it from the default) with the new PLACE_VEHICLE and BREAK_VEHICLE operation types.

HuskTowns 3.0.7 - Bug fixes

05 Nov 21:40
5ede9c6
Compare
Choose a tag to compare

HuskTowns 3.0.7 fixes several bugs.

  • Players now require build trust by default to start raids in town claims.
  • Fixed a race condition when loading map hooks
  • Fixed damage dealt by the Sweeping Edge enchantment causing player damage in some cases, even when the PVP flag was disabled
  • Fixed thrown eggs & lit arrows by non-trustees can hatch chickens & light campfires in claims

To update, drag+drop and add the START_RAID operation type to the PUBLIC_BUILD_ACCESS flag in flags.yml.

HuskTowns 3.0.6 - Bug fixes

05 Oct 14:54
a657d27
Compare
Choose a tag to compare

HuskTowns 3.0.6 is fixes a few bugs present in the previous release.

  • Added Traditional Chinese (zh-tw) locales, courtesy of @yichifauzi (#494)
  • Added German (de-de) locales, courtesy of @Bensonheimer992 (#492)
  • Fixed using an ender pearl within a claim not working properly due to an improper victim damage check (#505)
  • Fixed a NullPointerException that could occur when a dynmap marker marker was removed, courtesy of @Rubenicos (#501)
  • API: Added new events for town wars: TownWarCreateEvent and TownWarEndEvent, courtesy of @thomasz05 (#491)

✅ Compatible with: Spigot/Paper 1.17.1-1.21.1 (download the right version for your server).

HuskTowns 3.0.5 - Minecraft 1.21, bug fixes

18 Jun 23:14
052e9c3
Compare
Choose a tag to compare

HuskTowns 3.0.5 adds support for Minecraft 1.21, adds more placeholders, and fixes bugs.

  • Added support for Minecraft 1.20.6 and Minecraft 1.21
    • Town advancements have been temporarily disabled in this release due to a compatibility issue
  • Significantly improved the PlaceholderAPI hook, courtesy of @Rubenicos (#463)
    • All the current_location_town and town_leaderboard_{type}_{index} placeholders now can get an extensive town information, like mayor, members, member_count, claim_count, max_claims, max_members, crop_growth_rate, mob_spawner_rate, money, money_formatted, level_up_cost, level, max_level.
    • New money_formatted placeholder to get town money with a short formatting method, for example 1003000 will be converted to 1M3k.
    • Leaderboard placeholders now can be parsed without providing a player.
  • Fixed the WorldGuard hook failing to initialize in most cases, courtesy of @ProdPreva1l (#468)
  • Fixed calculated flags not caching correctly, causing performance regressions (#458)
  • Removed the "brigadier tab completion" and commodore support. A better solution will be implemented in the future.

To update, just drag+drop.

📋 HuskTowns binaries are only distributed on Spigot, Polymart, or BuiltByBit.

HuskTowns 3.0.4 - Hotfix

09 Apr 19:18
cea319b
Compare
Choose a tag to compare

HuskTowns 3.0.4 fixes a critical bug in the previous release, v3.0.3.

  • Fixed town claims failing to persist in 3.0.3

To update, just drag+drop.

📋 HuskTowns binaries are only distributed on Spigot, Polymart, or BuiltByBit.

HuskTowns 3.0.3 - Better performance, WorldGuard hook

04 Apr 17:21
4362057
Compare
Choose a tag to compare

HuskTowns 3.0.3 improves plugin performance and adds a WorldGuard hook.

  • Significantly improved claim caching for faster lookups. This should have considerable performance improvements for larger servers.
  • Added WorldGuard API hook for land claim prevention, courtesy of @ProdPreva1l (#435)
  • Added config options for changing chat characters used in the town map, courtesy of @ProdPreva1l (#427)
  • Updated the Simplified Chinese (zh-cn) locales, courtesy of @jhqwqmc and @MSCMDD (#421, #426, #439)
  • Fixed some missing startup error trace logging

To update, just drag+drop.

📋 HuskTowns binaries are only distributed on Spigot, Polymart, or BuiltByBit.

HuskTowns 3.0.2 - Hotfix

19 Feb 13:11
2aee5e4
Compare
Choose a tag to compare

HuskTowns 3.0.2 fixes a console spam error in the previous release

  • Fixed a NullPointerException related to flag caching.

To update from 3.0.1, just drag+drop. To update from v3.0, you may wish to regenerate your flags.yml. You should also regenerate your messages-xx-xx.yml file.

📋 HuskTowns binaries are only distributed on Spigot, Polymart, Craftaro, or BuiltByBit.

HuskTowns 3.0.1 - Bug fixes

19 Feb 10:18
92169d8
Compare
Choose a tag to compare

HuskTowns 3.0.1 fixes a few issues present in the previous release.

  • Fixed passive mobs failing to spawn
  • Fixed friendly fire not being prevented even if the setting was enabled
    • A new locale has been added for describing that players cannot damage town members/allies
  • The MONSTER_SPAWNING default flag now also restricts the passive mob spawning operation type if disabled
    • It has been renamed "Mob Spawning" in the locale file
    • Feel free to create your own custom flags in flags.yml if you want to edit this
  • Fixed performance issues caused by passive mob spawning checks (#412)
  • Fixed performance issues when using the LuckPerms context hook (#289)
  • Calculated flag and rule maps are now cached to improve system performance

To update, drag+drop. If you haven't modified it, you may wish to regenerate your flags.yml. You should also regenerate your messages-xx-xx.yml file.

📋 HuskTowns binaries are only distributed on Spigot, Polymart, Craftaro, or BuiltByBit.

HuskTowns 3.0 - API changes, bug fixes

05 Feb 14:14
901c820
Compare
Choose a tag to compare

Please note, as announced on Discord, starting with this release support for Minecraft 1.16 and Java 16 has been dropped. HuskTowns now requires Java 17 / Minecraft 1.17.1 as a minimum.

HuskTowns 3.0 is a major version release that makes breaking changes to the developer API. Please make sure your plugins that depend on HuskTowns have been updated to support HuskTowns API v3 — for developers, this should be quite easy, but it is a breaking change nonetheless. A few other bug fixes and locale updates have been made for this release, requiring a locale file regneration.

  • Improved the way config files are loaded. Config validation on startup will now be more strict.
  • Added Korean (ko-kr) locales, courtesy of awrwag
  • Updated the Simplified Chinese (zh-cn) locales, courtesy of @jhqwqmc (#392)
  • Updated the Spanish (es-es) locales, courtesy of @pipearaneda
  • Fixed a bug that meant servers using a MySQL/MariaDB database that encountered a startup problem involving the loading of town data would not properly terminate plugin initialization.
  • Fixed a bug where issues with the serialization of Map objects in Towns would not be correctly handled were a duplicate key to be inserted into them
  • API: API v2 (and the original deprecated API v1) have been removed.
    • The way the HuskTowns API is published has been changed: APIs are now published per-platform; husktowns-bukkit and husktowns-common can now be targeted.
    • Simply update your build scripts to target the net.william278.husktowns:husktowns-bukkit artifact
    • HuskTownsAPI is no longer an abstract class; you can now retrieve an instance of the base class with HuskTownsAPI.getInstance()
    • HuskTowns now uses ClopLib
      • The built-in Operation.Type is now OperationType.
      • Operation and OperationType now live in the net.william278.husktowns.libraries.cloplib package.
      • This is the same system in use on my other plugin, HuskClaims.
    • Added API methods for getting a player's Privilege.
    • Fully documented the API (at last!).

To update from v2.6.x, just drag+drop and regenerate your locales file (messages-xx-xx). You should not need to touch your other config files unless they are very outdated (regenerate it if so!)

📋 HuskTowns binaries are only distributed on Spigot, Polymart, Craftaro, or BuiltByBit.

HuskTowns 2.6.1 - Bug fixes, 1.20.4

14 Dec 12:57
f01a5a3
Compare
Choose a tag to compare

HuskTowns 2.6.1 fixes bugs introduced in the last release (particularly with the War module), and updates compatibility with 1.20.4.

  • The plugin will now use the native adventure implementation on Paper servers, improving support for future MC versions and adding support for 1.20.4.
  • Fixed an exception generating map hook chunk highlights for towns with UTF-8 names (#375)
  • Fixed bucket fill and empty operation handlers checking against the wrong event Block, letting users place fluids on claim edges (#383)
  • Fixed war wagers not being subtracted at start, meaning towns got paid more than the sum of wagers (#380)
  • Fixed war win-check logic being inverse when determining who won a war by alive members (#379)
  • Fixed a NullPointerException being thrown when trying to modify the relations map of a town migrated from <2.6 due to the migrator not instantiating a new Map.
  • Fixed wartime flags being applied to users other than active battle participants (#378)

To update from v2.6, just drag+drop. Check the v2.6 patch notes if you're uploading from an earlier version for instructions—you'll want to regenerate your config files!

📋 Official HuskTowns binaries are only distributed on Spigot, Polymart, Craftaro, or BuiltByBit.