284 Commits
Author SHA1 Message Date
Starless 539a151f50 fix: make papi expansion persist through reloads (#890) 2025-08-29 13:19:47 +01:00
William278 6ab554f1e8 feat: make LuckPerms hook a (soft)depend 2025-03-02 15:50:58 +00:00
William278 115dd1d476 feat: add /huskhomes dump, improve config load warning 2025-02-27 00:04:11 +00:00
William278 412e25a1d7 fix: handle negative perms with perm restricted warps, close #779 2025-02-18 21:15:22 +00:00
William278 13a9dedd9b fix: hook stage loading overriding prior stage hooks 2025-02-14 14:46:38 +00:00
William278 230827512f fix: economy checks being used even if no hook loaded 2025-02-14 13:22:13 +00:00
William278 11f5a2337d fix: fix tests 2025-02-14 13:12:47 +00:00
William278 5721b730d7 fix: bind command and perm on Paper, close #737 2025-02-01 13:54:54 +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 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 d537952f67 refactor: remove unused override 2024-11-09 16:31:02 +00:00
William 6f96c0a618 fix: make World Gson-safe 2024-11-05 23:22:48 +00:00
William d89f79889c refactor: add bypass for home slot validation, fix #706 2024-11-05 22:04:39 +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
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
Preva1l afae073ab7 fix: Teleport Invulnerability oversight & incorrect values on Sponge (#671) 2024-08-09 10:25:14 +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 3c0e9318e4 refactor: refactor Adapter on Fabric 2024-05-30 18:57:10 +01:00
William 7ede171b6b refactor: refactor Adapter on Sponge 2024-05-30 17:46:59 +01:00
William c0b14e043c refactor: remove commodore leftovers 2024-05-30 17:19:52 +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 a3eba8407b refactor: fix plugin messaging on Fabric 2024-05-30 00:03:16 +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 f4437806b6 fix: dismount before changing servers, close #555 2024-03-31 19:33:53 +01: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 7ee4bae68a fix: plugin message channels not registering with Redis broker 2024-02-14 09:00:34 +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 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 34fefaf216 bukkit: Player#eject passengers before teleporting 2023-10-20 20:07:35 +01:00
William 36c8510605 Don't handle respawn on Bukkit module for >=1.19 2023-10-01 16:21:40 +01:00
William df3f2baff3 Fixup <1.19 RespawnEvent handling 2023-10-01 16:20:54 +01:00
William 072b0aead1 spigot: Use adventure again for sound playing 2023-09-30 16:16:34 +01:00
William 63f6b46497 importer: ignore max homes when importing 2023-09-30 16:07:31 +01:00
William 95e9fd4b63 spigot: Fixup tests 2023-09-30 15:58:56 +01:00
William ce30d6e7a9 spigot: remove commands from plugin.yml, fix registration on spigot servers 2023-09-30 15:37:27 +01:00
William278 2145d6925f Ensure player is dismounted before teleport, fix #496 2023-09-25 13:23:53 +01:00
William278 e579b2b05e Fix listeners registering twice 2023-09-10 17:59:25 +03:00