Commit Graph
32 Commits
Author SHA1 Message Date
William 4e9046395c feat: allow /phome <name> on uniquely named homes
If multiple public homes with the same name exist, typing /phome (name) will bring up a filtered public home list containing the list of public homes with that name for you to click on. The username-prefixed name will also be the only one to show up in TAB.

This commit also fixes a bug with home/warp lists showing a blank description on hover instead of `(none)`.
2024-03-31 17:40:38 +01:00
William 1723aa44fc refactor: Move to ConfigLib, use lombok (#563)
* refactor: move to configlib, adjust config structure

* fix: huskclaims typos

* fix: don't generate `server.yml` in local mode

* fix: NPE with server name
2024-02-12 16:54:23 +00:00
William 6bfd69f232 v4.5: Bulk delete, regex customization, QoL & API work (#486)
* Improve validator error specificity, fix #481

* Add more sanity-checking to cluster IDs, close #482

* Add bulk/player-delete command, close #484, close #257

* Fix checkstyle formatting in tests

* Add missing strings to other locale files

* Use morepaperlib for runtime command registration on spigot

* api: make creation methods return a future, close #473

* Add name/description restriction regex customization

* docs: Update config file with new regex options

* bump version number to 4.5

* fix typo, correct command confirmation logic

* Make confirmation locales more clear

* Fix confirmation checking logic
2023-08-28 16:31:48 +01:00
William 6455f15d92 Fixup config map reading inconsistencies, close #471 2023-07-24 11:42:09 +01:00
William beed438c16 Add H2 database support, use indexes to optimize queries, add maria-specific schema, bump adventure-fabric (#465)
* Add support for H2, bundle Maria driver, bump fabric adventure

* Bundle and download H2 drivers

* Fixup H2 schema, add indexes to DBs, add maria-specific schema

* docs: Add database type documentation

* Check plugin isn't disabled before task schedule, close #463

* Bump Annotaml to 2.0.4

* docs: Mention Maria in README and Setup
2023-07-18 15:03:31 +01:00
William c9f5262292 Add fabric builds for older MC versions & add checkstyle (#449)
* Remove instance getters, improve command logic, register APi

* Publish multiple fabric builds, enforce checkstyle

* Bump guava

* Bump to 4.4.2
2023-07-02 13:26:12 +01:00
William fc8d3b0098 Add ability to define cooldowns for actions (#437) 2023-06-16 17:39:54 +01:00
William d272c36432 Add clear method to database 2023-05-31 16:40:15 +01:00
William 971eb62507 Fixup tests 2023-05-03 17:53:01 +01:00
William 4db9bcf6ba Fix invalid warp locale not displaying, make home/warp lookup case-insensitive (#384) 2023-05-03 17:21:27 +01:00
William 29e0ed6ef4 Add Fabric 1.19.4 server-side mod support (#348) 2023-04-11 21:44:44 +01:00
William c4320edb2d Tweak permission registration 2023-03-23 23:26:30 +00:00
William278 6b8c515b61 New API methods, refactor position object to use static creators 2023-03-22 19:55:59 +00:00
William a959aa9519 Refactor cached data away from cache 2023-03-21 19:23:45 +00:00
William 93dd15007a New player list caching system, further refinements and fixes 2023-03-21 12:49:36 +00:00
William a72109667a More work on commands 2023-03-12 12:49:46 +00:00
William278 3e27f7c5b1 Start command refactor 2023-03-05 19:10:19 +00:00
William278 39e0b25d46 Further refactoring, move away from using future thread pool 2023-03-04 21:38:53 +00:00
William278 4c90e5498c Networking rework, further refactoring 2023-03-02 22:51:50 +00:00
William278 1cebdac9b8 More refactor work, encapsulate classes 2023-03-02 15:00:02 +00:00
William278 3e1ec09487 Start refactor work 2023-03-01 16:23:01 +00:00
William278 6a8851a446 Remove HuskHomes exceptions 2023-03-01 14:24:39 +00:00
William278 eb4652d6ff Remove server auto-fetching due to instability 2023-02-11 13:12:35 +00:00
William b7cf0fa590 Fix list and TAB completion issues; close #272, #273 2022-11-27 20:17:23 +00:00
William 834fdbfc0e delhome/delwarp all rewrite; add events for bulk-deletes, close #265 2022-11-22 21:58:23 +00:00
William 9630e53613 Bump to v3.1, rewrite Teleport/TimedTeleport and add TeleportBuilder, expose new Teleport API, remove TeleportManager, minor database utility refactoring 2022-10-18 17:45:44 +01:00
William a9e643d199 Create #getLocalPublicHomes and #getLocalWarps, use server for checks with world UID fallback, fix #215 2022-09-15 16:18:10 +01:00
William278 7a63e8c173 Database: Rename setHome and setWarp methods to "save" for consistency 2022-09-04 23:48:39 +03:00
William dcc4fe68ff Add SQLite migration 2022-08-29 13:07:34 +01:00
William c1df905b41 Use Annotaml instead of BoostedYaml for config loading 2022-08-15 00:56:00 +01:00
William ff2465ac85 Adjust schema, fix commands and user data refactoring 2022-08-09 18:46:12 +01:00
William ec1c0b744f Refactor bootstrap procedure, use enum for command loading 2022-08-09 14:18:48 +01:00