Commit Graph
433 Commits
Author SHA1 Message Date
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
William 6455f15d92 Fixup config map reading inconsistencies, close #471 2023-07-24 11:42:09 +01:00
William bffc6fde76 Specify MySQL/MariaDB class by name 2023-07-22 13:37:26 +01: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 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 377e46ff92 Remove RedisEconomy hook due to instability (#447) 2023-06-28 12:29:17 +01:00
William e1e0c73f24 Update project GitHub URL in additional locations 2023-06-21 13:17:27 +01:00
William 2cbc46cd0e Fix invalid SELECT statement in MySQLDatabase 2023-06-18 10:11:20 +01:00
William 7c1862d867 [ci skip] Remove unused Plan hook member 2023-06-17 16:52:36 +01:00
William 3b1fc2a049 Make RequestsManager use a ConcurrentHashMap 2023-06-16 19:46:24 +01:00
William 24ebe6b26d [ci skip] Remove debug statements 2023-06-16 17:42:04 +01:00
William fc8d3b0098 Add ability to define cooldowns for actions (#437) 2023-06-16 17:39:54 +01:00
William fb052340c0 New task system & improve DB case-insensitive SELECTs, support fabric 1.20.1 (#433) 2023-06-16 12:19:31 +01:00
William 7af5ae6486 Offload importer registration from initialization 2023-06-07 18:33:39 +01:00
Namiu/うにたろう e080d65a44 Fix the teleport button not showing up in HomeEditor. (#427) 2023-06-03 23:33:06 +01:00
William 5c068855ff Fetch saved user from database when creating home if not cached 2023-06-03 19:44:45 +01:00
William d3248aae83 Use UUIDs for task tracking 2023-06-02 14:01:56 +01:00
William 9ca8492105 Merge remote-tracking branch 'origin/master' 2023-06-01 10:37:11 +01:00
Nailm f7f5b1dab9 Back command improvement (#422) 2023-06-01 10:36:39 +01:00
William d272c36432 Add clear method to database 2023-05-31 16:40:15 +01:00
William278 dd6c23168d Fix tasks not cancelling correctly, close #412, close #413 2023-05-25 19:12:46 +01:00