Commit Graph
455 Commits
Author SHA1 Message Date
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
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
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
Emibergo02 bf5ba2a7a3 fix: Add missing other permission check in teleport command logic (#567)
* Permission for player tp only

* Changed according to Docs
huskhomes.command.tp.other
instead of
huskhomes.command.tp.player

* Documentation update

* Revert "Documentation update"

This reverts commit 902703e16876bc57e88cc32840413534f14eb7d0.

* Requested changes

* Check if the target has username before checking his permissions
2024-02-18 14:02:39 +00:00
William278 7ee4bae68a fix: plugin message channels not registering with Redis broker 2024-02-14 09:00:34 +00:00
William 8d0871af78 fix: Fix checkstyle 2024-02-13 17:47:21 +00:00
William d79fcaacb6 refactor: Simplify teleport execution logic (#565)
* refactor: simplify teleport execution logic

* docs: document better way of executing a teleport

* fix: TimedTeleport should still handle internal errors

* fix: Wrong builder method calls

* fix: Typos

* fix: More typos

* fix: Cancel timed teleport on failed execute
2024-02-13 15:56:55 +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 d4d6b02037 fix: bad comments on rtp radiuses 2024-02-04 21:24:10 +00:00
William afd64251f6 fix: credit WinTone01 for Turkish locales, close #552 2024-01-24 01:16:15 +00:00
William 5f36c3250f refactor: Credit new locale translators 2024-01-14 13:11:42 +00:00
Davi Duarte 5496b9d1ec feat: Add option to return to spawn when dies (#540)
* feat: user return to spawn when dies

* feat: add return to spawn in config docs

* feat: improve respawn feature variable name
2023-12-30 10:59:06 +00:00
William a78e775717 refactor: Use #isEmpty() in favor of #size() > 0 2023-12-27 17:42:24 +00:00
William fb9b882bf7 fix: /delwarp not being operator-restricted by default 2023-12-27 17:40:53 +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 bcac151410 fix: don't teleport users locally to beds if broken 2023-12-26 15:34:57 +00:00
William 1ea1a44ec8 fix: editUserData methods not working 2023-12-20 16:59:48 +00:00
William 2e3c851d7f refactor: Use native platform adventure implementations 2023-12-20 16:29:48 +00:00
William 6c5d09ff79 Fixup checkstyle errors 2023-12-10 00:27:00 +00:00
William 859993b37e Fix edithome permission logic check & warn against bad rtp spawn radius (#531)
* Fixup edithome logic

* Add warning against bad spawn radius
2023-12-05 16:30:26 +00:00
William 6a88b02bbd settings: fix regex keys using town. 2023-10-24 20:33:13 +01:00
William d951223364 Improve way titles are sent to players 2023-10-13 18:53:06 +01:00
William 63bfa2119e Invalidate home/warp list caches when deleting all homes/warps 2023-10-10 19:47:21 +01:00
William 1ab115456e Fix warp list permission check using wrong perm 2023-10-05 17:56:44 +01:00
William e7972fc576 Fix wrong description in about menu 2023-09-30 16:28:47 +01:00
William 911b0cb4a1 api: add #createHome with validation suppression flags 2023-09-30 16:07:58 +01:00
William 63f6b46497 importer: ignore max homes when importing 2023-09-30 16:07:31 +01:00
William278 3ad9a869db Fix SQLite JDBC no longer supporting returning generated keys 2023-09-30 14:11:52 +01:00
William278 52f9999991 Minor formatting tweaks 2023-09-10 17:08:20 +03:00
William278 c1f2b2bcaa Improve description format in command list 2023-09-10 16:52:51 +03:00
ApliNi f8218d78a2 The delete command also deletes records in the position_data table. (#492)
* The delete command also deletes records in the position_data table.

* fix typos

* Optimize SQL statements, add delete respawn_position
2023-09-10 15:55:03 +03:00
William 89aa490568 Fix sound effect playing on spigot 2023-08-28 17:03:37 +01: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