Commit Graph
76 Commits
Author SHA1 Message Date
William 65aa93c3da fix: add invulnerability flag to cached user in map, close #728 2024-12-13 17:50:41 +00:00
William 5d63899aff fix: ensure user cache is cleared on login, close #724 2024-12-13 17:47:22 +00:00
William 54560a1f02 refactor: fix fabric build, update CI for 1.21.4 2024-12-13 16:36:51 +00:00
William 964bca6130 feat: add status command, refactor hooks, fix EssX import 2024-11-10 15:29:19 +00:00
William 294f24f278 fix: ensure caching respects player state 2024-11-10 14:28:24 +00:00
William 80ef674306 fix: teleports fail after respawn on Fabric, close #714 2024-11-08 22:40:44 +00:00
William 9d17faf722 fix: /back not working on Fabric, close #713
Also broke the command list (`/huskhomes help`)
2024-11-08 22:21:37 +00:00
William d55260fe9b refactor: store invulnerability as tag, fix #687 2024-10-31 10:51:59 +00:00
William ffe995ef5f refactor: significantly refactor internals, remove Sponge (#708)
* feat: start database refactor

Adds database migrations

* refactor: refactor database system

Now supports migrations

* refactor: begin major internals rewrite

move to using provider-style interfaces similar to huskclaims
bukkit done, still need to do fabric and sponge

* refactor: remove sponge, checkstyle

Low usage and high maintenance time cost. We will examine Forge instead in the future.

* refactor: implement refactoring changes on fabric

also fix various refactor quirks on Bukkit

* refactor: tidy metrics logic

* build: bump deps
2024-10-28 20:49:57 +00:00
Williamand[email protected] 05bcad9249 feat: Support Minecraft 1.21.3 on Fabric (#707)
* feat: start database refactor

Adds database migrations

* feat: support Fabric 1.21.3

* build: target adventure_platform_mod 6.1.0

* Revert "feat: start database refactor"

This reverts commit 010a8103

* docs: document server rejoining as a FAQ

* locales: improve home privacy UX consistency

* feat: fully update to Minecraft 1.21.3

---------

Co-authored-by: [email protected] <wiiiiam278>
2024-10-27 16:13:43 +00:00
alazeprt 27a4dccf77 feat: add a separate event for random teleport (#685)
* Add rtp event

* Change the style of code

* Add sponge event

* Fix bugs
2024-10-15 16:36:19 +01:00
William ab7237faac refactor: pass user in sync teleport task on fabric 2024-08-22 16:17:08 +01:00
William 8188a80d46 fix: don't serve private home TAB suggestions w/o perms, close #649 2024-08-22 13:45:11 +01:00
Preva1l afae073ab7 fix: Teleport Invulnerability oversight & incorrect values on Sponge (#671) 2024-08-09 10:25:14 +01:00
William f97371f95f fix: slightly adjust formatting 2024-07-19 17:34:57 +01:00
Vince 38df119d2e fix: Fabric thread exhaustion/deadlock causing crashes (#661)
Attempt to fix thread issue on Fabric
2024-07-19 17:31:07 +01:00
Preva1l af3a691976 feat: Add the option to random teleport cross-server (#647)
* feat: Cross-Server RTP

* feat: Cross-Server RTP

* feat: Cross-Server RTP

* docs

* fix req changes

* amend for api whoops
2024-06-24 13:25:59 +01:00
William 6223c3153f fix: bad world lookup on Fabric 2024-06-24 11:43:05 +01:00
William 1a258264f8 feat: target Minecraft 1.21 on Fabric, add API
Also adjusts how the HuskHomes API on Fabric is versioned. Now has the pattern: `net.william278.huskhomes:huskhomes-fabric:<version>+<mc_version>`

Closes #640
2024-06-24 11:43:03 +01:00
William 3c0e9318e4 refactor: refactor Adapter on Fabric 2024-05-30 18:57:10 +01:00
William 02574ce266 refactor: adjust task system to better support folia 2024-05-30 01:34:41 +01:00
William b555b43968 feat: actually set the world spawn on /setspawn, close #622 2024-05-30 01:12:05 +01:00
William a3eba8407b refactor: fix plugin messaging on Fabric 2024-05-30 00:03:16 +01:00
William 9b323198ac fabric: support Minecraft 1.20.6 2024-05-29 23:50:03 +01:00
AlexDev_ 4d86f580ae feat: add new API event for TeleportWarmupCancelledEvent (#628)
* Added TeleportWarmupCancelledEvent

* Changed docs

* Added more JavaDocs
2024-05-09 15:32:58 +01:00
Josh 7ad9104677 feat: add support for PostgreSQL data storage (#616)
Signed-off-by: PseudoResonance <[email protected]>
2024-04-23 19:00:40 +01:00
William 865243873e fabric: move off impactor economy deprecated API methods 2024-04-01 14:48:45 +01:00
William f4437806b6 fix: dismount before changing servers, close #555 2024-03-31 19:33:53 +01:00
William278 979d0a117c fix: checkstyle 2024-02-25 18:22:57 +00:00
William278 61fd14a7c3 build: bump to 4.6.2, fix checkstyle 2024-02-25 18:17:56 +00:00
Preva1l 1cb56f93fb feat: add tp invulerability option, show privacy in /homelist (#577)
* Renamed PrivateHomeListCommand.java to HomeListCommand.java as it shows all homes not just private homes

* Implemented https://github.com/WiIIiam278/HuskHomes/issues/543

* Implemented https://github.com/WiIIiam278/HuskHomes/issues/515

* added changes to all lang files, removed un used imports, fix error where it would not remove invulnerability from player on sponge
2024-02-25 16:47:16 +00:00
William278 842f7d4297 refactor: housekeeping, update docs 2024-02-18 14:22:03 +00:00
ahdg 046d8e99f7 feat/fabric: Add Support for Impactor Economy and PlaceholderAPI (#572)
* Fabric: add economy and placeholderapi hook

* Update gradle.properties
2024-02-18 14:03:01 +00: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 f8ad215b76 refactor: Fabric 1.20.4, Sponge API v10, Java 17, Platform APIs (#562)
* deps: bump dependencies

* refactor: bukkit 1.17.1, Sponge v10, fabric 1.20.4

* refactor: release platform-specific API modules

* fix: checkstyle javadoc comment

* docs: update API docs

* docs: mention API platforms in events api docs
2024-02-12 11:18:50 +00:00
William a78e775717 refactor: Use #isEmpty() in favor of #size() > 0 2023-12-27 17:42:24 +00:00
William 1ddd107631 fix: Update FabricEventDispatcher, bump to 4.5.5 2023-12-27 17:40:30 +00:00
William d519014cce feat: Expose original home/warp in Edit events
Also fixes an editwarp description locale placeholder issue
2023-12-27 17:37:14 +00:00
William 2e3c851d7f refactor: Use native platform adventure implementations 2023-12-20 16:29:48 +00:00
William 93eedc1b2b fabric: Update to 1.20.2 (#499) 2023-09-25 13:37:03 +01:00
William278 2145d6925f Ensure player is dismounted before teleport, fix #496 2023-09-25 13:23:53 +01:00
William278 d0747d6668 fabric: Improve command suggestions 2023-09-10 16:47:51 +03: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 ea23bbd53e Fix BlueMap hook not being registered on Fabric, close #453 2023-07-15 13:52:23 +01:00
William 4c056d1be2 Use fabric-dimensions API for x-dimension teleportation, fix #457 2023-07-15 13:37:12 +01:00
William e86fd4181b fabric: Tweak build scripts slightly 2023-07-08 15:29:51 +01:00
William 8f7247dc11 fabric: Only build 1.20.1 2023-07-08 14:46:21 +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
Jacob McSwain 771c16ed1a Prevent suffocation while using /rtp (#445)
* rtp: check for suffocation before teleport

* safety resolvers: teleport to middle of block

* rtp: Fix negative coordinates being off by one

* unsafe blocks: add campfires and magma

* unsafe blocks: deduplicate block id formatting
2023-06-29 10:05:57 +01:00
William e1e0c73f24 Update project GitHub URL in additional locations 2023-06-21 13:17:27 +01:00