Commit Graph
586 Commits
Author SHA1 Message Date
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
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
Ceddix // Cedrik b03e71fb43 locales: Update German locales (de-de) (#657)
* Update de-de.yml

* Small oversight
2024-07-11 09:07:59 +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
jhqwqmc 6db0f7d481 locales: update zh-cn.yml (#642) 2024-06-14 17:57:05 +01:00
小蔡 1c7758e374 locales: update zh-tw.yml (#639)
* Update zh-tw.yml

* Update zh-tw.yml

* Update zh-tw.yml

* Update zh-tw.yml
2024-06-05 12:31:11 +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
Josh 7ad9104677 feat: add support for PostgreSQL data storage (#616)
Signed-off-by: PseudoResonance <[email protected]>
2024-04-23 19:00:40 +01:00
jhqwqmc 746d0bbfdc locales: Update zh-cn (#605) 2024-04-04 18:27:20 +01:00
William c72c71823f docs: update tagline 2024-04-01 14:52:43 +01:00
William 6658154ed4 build: update MineDown dependencies, close #568 2024-03-31 21:22:26 +01:00
William a95c3e03b7 feat: make warmup cancellation conditions configurable, close #564 2024-03-31 19:37:30 +01:00
William f4437806b6 fix: dismount before changing servers, close #555 2024-03-31 19:33:53 +01:00
William 9d2a73fd2c fix: inconsistencies with Pl3xMap loading, close #570 2024-03-31 19:07:16 +01:00
William e2a7fec1d1 fix: checkstyle issue 2024-03-31 17:43:32 +01:00
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 0135966c6e fix: edithome/warp overwriting existing, close #594 2024-03-31 16:39:20 +01:00
William 65cc90e79e refactor: add more edithome/warp perms 2024-03-31 16:36:14 +01:00
William 27713c7dd0 build: update locales, adjust tp perm logic, close #575 2024-03-31 16:22:48 +01:00
William f871f9e1f2 fix: Adjust date/time formatting, close #599 2024-03-31 16:11:55 +01:00
William 75a55b86a0 refactor: use system locale for date/time formatting, close #592 2024-03-31 14:08:52 +01:00
WinTone01andgithub-actions[bot] 70907cc985 locales: Update Turkish (tr-tr), courtesy of WinTone01 (#596)
* Update tr-tr.yml

---------

Co-authored-by: github-actions[bot] <[email protected]>
2024-03-30 15:10:25 +00:00
jhqwqmc d93ab7cda9 locales: update zh-cn (#583)
* Update zh-cn.yml

* Update zh-cn.yml
2024-02-26 09:40:47 +00:00
jhqwqmc c9d9c2f07d locales: correction in zh-cn (#582) 2024-02-25 23:54:35 +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