docs: document Operations API
d2403bc
refactor: internal user maps, add `/husktowns status` (#561)
* feat: begin implementing new user provider
* refactor: finish refactoring user caching for perf
* feat: add `/husktowns status` command, refactor meta system
* test: add an assertion to make sure
* build: bump gson
* build: bump runtime dependencies
01159fb
build: bump ClopLib to 2.0
50997cc
docs: add new operation types to `flags.yml`
7009333
docs: Document new placeholders
398b550
docs: document new war events
cb034ab
refactor: code style cleanup
7ca8317
fix: Console exception in 3.0.1
e60fd03
docs: add ToC for Claims API page
f1dd24f
api: API improvements and docs for v3
7100f6f
docs: Improve API docs, adjust layout
9dcc11a
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
2792b5c
docs: Fix formatting on Town Relations
6bcdebf
docs: Update Town Roles info
788c97c
docs: added small note to town wars
5f0f61e
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
bc9b344
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
2d436d7
docs: Add BuiltByBit to sidebar
d7fb294
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`
28ba33d
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
71b9304
docs: PostTownCreateEvent can't be canceled
3a3b21c
add a PostTownCreateEvent, slight event refactor (#336)
ea3ab8b
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
39d0732
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
bad4fd4
docs: also fix api link in sidebar
b6b5859
docs: fix 404 with api page
d965470
docs: Fix wrong blurb in map hooks
5dd6791
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 <[email protected] >
* 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 <[email protected] >
Co-authored-by: William <[email protected] >
c2766ae