We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
docs: Document new placeholders
docs: document new war events
refactor: code style cleanup
fix: Console exception in 3.0.1
docs: add ToC for Claims API page
docs: minor docs tweaks
api: API improvements and docs for v3
docs: fixup doc links
docs: Improve API docs, adjust layout
feat: Use ClopLib, make API multi-platform, remove API v1/v2, better configs (#400) * feat: migrate to ClopLib, deprecate old APIs, bump to v3 * deps: bump cloplib to 1.0-5d7a30d * fix: implement new ClopLib method * fix: exception with cancelChunkChange, events registering twice * deps: bump cloplib to 1.0 * deps: bump runtime dependencies * refactor: publish platform API modules, refactor stuff into providers * refactor: more refactor work * refactor: finish config refactor * docs: Document new version requirements * docs: Update docs with new config comments * docs: Update API compatibility table
docs: Fix formatting on Town Relations
docs: Update Town Roles info
docs: added small note to town wars
Update docs for v2.6 (#373) * Fixup `/town relations` command syntax * config: Add docs links to Settings, fix path * config: Town relationships -> Town relations * wars: Only allow PvP for active war participants * docs: Update docs for Town Relations & Wars * docs: add `/town relations` and `/town war` to commands
Re-add ability for town members to claim plots, fix placeholder issues (#369) * Re-add plot claiming * Update getting started docs * Refactor Town object schema, add Options. * Fixup `#of` call in `LegacyMigrator` * Fixup questionable test data * Add unit test for updating schema, fix NPE updating options * Simplify schema update test * Bump `runServer` to target 1.20.2 * fixup unnecessary locale check * Bump runtime dependencies * sqlite: use `RETURNING`, fix driver API deprecation * sqlite: fix SQLException due to bad `executeUpdate` call * papi: Fix wrong claim type check, close #371 * locales: refactor `N/A` use, add `#getNotApplicable` * papi: fix level-up cost exception at max level, close #372 * bukkit: Make armor stand use require `CONTAINER_OPEN`, close #325 * bukkit: Make `Openable`s (doors, etc.) need `BLOCK_INTERACT`, close #363
docs: Add BuiltByBit to sidebar
Add town points as fallback currency for servers without Vault (#342) * Format fallback town points currency if Vault not installed * Add `/admintown balance` command * Fix `/town level` money formatting * Tidy up `ADMIN_SET_BALANCE` in `Action.Type` enum * Fixup parsing wrong arg on `/admintown balance`
v2.6: HuskTowns at war (#334) * Start town relations system, add `/town relations` command * Only enable town relations system if relations are enabled * Update locales, fix relations list menu * Fixup use of deprecated `Town#of` * Add missing locales to ru-ru * Add allied towns friendly fire check * More structural work on war system * More war system plumbing * Add relations button to town overview, locale tweaks * More work on wars * Add War status * Remove unused War interface, add global user list tracking * Re-add town online user state, close #156 * Improve war status, new locales, bug fixes, surrender * More locale work, flee checking * locales: Add punctuation to claim adjacency error * Add startup pruning of town wars * Logic tweak to `pruneLocalTownWars` * Code cleanup * Fixup war victory condition checking * More tidying up * Fixup attacker spawn position resolution * Add war status to overview * Add boss bars to wars * Add missing war_boss_bar_title locale * Fixup boss bars, adjust locale, fix positioning * Use `String.format` to format Positions
docs: PostTownCreateEvent can't be canceled
add a PostTownCreateEvent, slight event refactor (#336)
Add /setlevel command, simplify logic for updating user preferences (#318) * Start work on setlevel admin command * Add new editPreferences consumer method * Add additional logic, edit locales, for town levelling * docs: Add /admintown setlevel * Refactor setlevel command logic
v2.5.4: add level-up confirm, restrict ender pearl teleport, fixes (#314) * Add operation type for restricting pearl teleports * Fix placeholder operation checks not being silent, close #312 * Ensure rule map wrapper is a mutable LinkedHashMap, close #311 * Bump to 2.5.4 * Add confirm to level-up, display level up cost in overview, close #218, close #37 * docs: add ENDER_PEARL_TELEPORT to flags.yml
docs: also fix api link in sidebar
docs: fix 404 with api page
docs: Fix wrong blurb in map hooks
Added Pl3xMap Support (#303) * Added Pl3xMap to dependencies and docs * Added Pl3xMapHook * Fixed layer name * Implemented temporary fixes * Removed world claim fix * Altered emoji * Removed todo and turned into a braced statement * Moved Pl3xMap EventsListener into new internal class * Update common/src/main/java/net/william278/husktowns/hook/Pl3xMapHook.java Co-authored-by: William <will27528@gmail.com> * Moved color formatting over to Adventure's TextColor * Added proper world filtering * Removed unnecessary code * Added null checks for claims map value * Removed setting stroke weight in favour of default weight --------- Co-authored-by: davidbryce <cooldcb@gmail.com> Co-authored-by: William <will27528@gmail.com>
v2.5.3: Bug fixes, deprecate usage of java.awt.Color, new regex validation options (#306) * Bump annotaml, use paperlib for command reg * Reduce unnecessarily large test count * Deprecate use of awt.Color, use adventure TextColor, close #304 * Cleanup leftover awt usage * Change color picker swatch to `|` (pipe) * Add ability to customize town name/meta regex, close #305 * Update config.yml comments and docs * Update default flag enabled character to `☑` * Fixup spawn reason checking logic, close #283 * Remove commands from plugin.yml * tests: Increase logout time for `testTownPruningWithMultipleInactiveMembers` * tests: Improve assertion rigidity for prune checking
docs: Document support for MariaDB
Add MariaDB support, refactor task system to prepare for folia (#300) * Use new task system * Add MariaDB database support * docs: Add Unsupported-Versions.md * Unmark Folia as supported for now * Add MariaDB database support, prepare for Folia * docs: Add Unsupported-Versions.md * Unmark Folia as supported for now * Bump guava to 32.1.1-jre * More data load error handling, dont log duplicate timestamps
Remove RedisEconomy hook