Commit Graph
501 Commits
Author SHA1 Message Date
William278 473c5e77cc refactor: Improve perm-restricted warps, close #763
* Changes permission restricted warps to use `huskhomes.warp.<name>` for better compat, without the `.command.` subnode
* Fixes wildcard permission support: `huskhomes.warp.*`
* Improves documentation
2025-02-02 18:01:33 +00:00
Preva1l 1009218bbc fix: rtp not using the selected server (#759) 2025-01-30 22:53:57 +00:00
Preva1l 3190a81b7d fix: being able to teleport a dead player (#758)
* fix: being able to teleport a dead player

* why did this changes not get commited

* chore: update javadoc
2025-01-30 22:53:44 +00:00
alazeprt 89db79da64 feat: allow setting max and min height for /rtp (#753) 2025-01-22 17:19:17 +00:00
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 1eebdb2718 fix: correct issues with same-server RTP validation 2024-12-13 17:33:49 +00:00
William eb79ee8107 docs: update a comment for clarity 2024-12-13 17:09:05 +00:00
William d952ef7703 feat: add API method for OnlineUser in common module 2024-12-13 16:39:38 +00:00
William 81f092b6d5 fix: Pl3xMap hook not annotated 2024-11-15 12:53:41 +00:00
Sinon 3705b3288d feat: Improve /rtp with world+server args, fix x-server /rtp (#719)
* feat: enhance /rtp command with flexible world and server options, and fix cross-server compatibility

* I'm not sure about the permission.

* Revert "I'm not sure about the permission."

This reverts commit c11942d0187690bf46dbcd21f2f6242f929f928b.

* revert accident reformat.

* change from review request
2024-11-12 20:32:52 +00:00
William a5ffee02c2 refactor: cleanup imports 2024-11-10 15:31:29 +00:00
William 964bca6130 feat: add status command, refactor hooks, fix EssX import 2024-11-10 15:29:19 +00:00
William b7d2391506 fix: change where player is removed from cache
Fixes a permission error
2024-11-08 21:14:31 +00:00
William 6f96c0a618 fix: make World Gson-safe 2024-11-05 23:22:48 +00:00
William 5ea12b97c4 fix: make User serializable by Gson 2024-11-05 22:43:18 +00:00
William c61b0a21b8 feat: default server.yml value to server dir name 2024-11-05 22:29:15 +00:00
William bece27a82f fix: Postgres schema upgrade using wrong syntax 2024-11-05 22:25:31 +00:00
William d89f79889c refactor: add bypass for home slot validation, fix #706 2024-11-05 22:04:39 +00:00
William 2d71e4a474 refactor: rework networking system 2024-10-31 17:04:21 +00:00
William aec6fdfa89 fix: /tpaall command not being registered
Also removes the now disused DisabledCommand
2024-10-31 11:05:00 +00:00
William 050f8a2d95 fix: get exact OnlineUser if name matches globally, close #700 2024-10-31 10:59:33 +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
William 1a49dd386c Merge remote-tracking branch 'origin/master' 2024-10-27 14:24:15 +00:00
William 3b8abe1b8a fix: ensure restricted worlds setting formats correctly, close #664 2024-10-27 13:45:31 +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 dda75564f4 fix: ensure TeleportationException is sent 2024-08-22 14:11:02 +01:00
William c1b0ebe93c fix: checkstyle 2024-08-22 13:50:55 +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
William 0a5ad6b594 fix: make Redis subscriber thread a daemon
Should auto-terminate on shutdown now
2024-08-22 13:32:56 +01:00
William 7029b50a42 fix: /tp TAB not serving players in arg 0, close #675 2024-08-22 13:28:43 +01:00
WuzzyLV ecc180eb88 feat: add permission-based teleport warmup (#682)
* Add permission based tp cooldowns

* Add permission based tp cooldowns

* Move permission warmup logic to OnlineUser
2024-08-22 13:24:19 +01:00
William 1c644b120e fix: use WAL mode on SQLite with NORMAL concurrency, close #658 2024-08-22 13:21:17 +01:00
Preva1l afae073ab7 fix: Teleport Invulnerability oversight & incorrect values on Sponge (#671) 2024-08-09 10:25:14 +01:00
Preva1l 2b9a9ae467 fix: redis disconnecting when RTP could not find the world on the target server (#648)
* fix: redis disconnecting when the world is not found
2024-06-25 16:12:45 +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 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 33d9868457 locales: add Vietnamese (vi-vn), courtesy of Iamsad_VN 2024-06-18 11:08:28 +01:00
William 8fd62aab7c refactor: remove erroneous TAB completed arg 2024-05-30 17:29:37 +01:00
William ac4b4365b2 refactor: remove commodore support
It doesn't support modern versions that well, and causes conflicts. We'll replace this with a native tab completion solution soonish
2024-05-30 17:18:25 +01:00
William 7d076c4c7f refactor: improve adapter on Bukkit 2024-05-30 17:16:23 +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 386ea57bbb fix: misleading error thrown expending free home slots, close #614 2024-05-30 00:21:21 +01:00
William c167b8fb57 fix: 0 seconds in cooldown shows empty space, close #615 2024-05-30 00:14:58 +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
alazeprt 2b436a23fa feat: Make /rtp in other worlds use world-specific command (#626)
* Update RtpCommand.java

* Fix bug about suggestion filtering

* Fix bug about suggestion filtering

* Fix bug about suggestion filtering

* Fix bug about suggestion filtering

* Filter restricted world
2024-05-11 13:13:39 +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