253 Commits
Author SHA1 Message Date
NotAlexNoyleandClaude Opus 5 10c82714ad fix: stop corrupt-shop deletion, guard null economy, pin Adventure
Corrupt shop loading was destructive and crashed. Both branches of the
debug.delete-corrupt-shops check called deleteShop, so a shop whose
container was temporarily missing lost its signs and its database row
even with the option disabled. deleteShop then refunded through a null
economy core and threw, aborting shop loading and ChunkLoadEvent.

- ContainerShop#handleLoading now unloads instead of deleting when
  delete-corrupt-shops is false, leaving the row and signs intact.
- SimpleEconomyTransaction fails transactions with a lastError instead
  of dereferencing a null core in checkBalance, commit and
  failSafeCommit.
- SimpleShopManager#refundShop skips and warns when no economy is
  loaded, matching the guards every other economy call site has.
- The economy bridge loads before shops instead of one tick after, so
  refunds during loading can see it. EconomyLoader#load is now
  idempotent and the post-startup attempt reports a missing bridge at
  WARN rather than only at debug level.

Adventure was compiled against 4.22.0 while Purpur 1.19.4 provides
4.13.1 at runtime, so any 4.14+ call would have been a
NoSuchMethodError. Pin the API to 4.13.1, align the platform artifacts
to 4.3.2 in both the build and plugin.yml, and drop the ANSI and JSON
serializers, which do not exist at 4.13.1 and were only used to print
classpaths in diagnostics.

Also:
- Add /qs beacon, which marks empty shops with particle columns that are
  only sent to the command runner.
- Add ShopManager#transferShopsOwnership so ShopBridge-OG can move shops
  to a new owner when an AreaShop-OG plot is transferred.
- Keep SubstAgent $ENV_VAR placeholders on disk. Bukkit reads configs
  through FileInputStream, which SubstAgent intercepts, so saving the
  config persisted resolved credentials. The config file is now only
  rewritten when a migration actually changed something, and every save
  restores the raw tokens read back through NIO.
- Use SubstAgent's $VAR syntax for the database credentials. The ^{VAR}
  form was never substituted, since SubstAgent only triggers on '$'.
- Read the configuration once instead of in both onLoad and onEnable.
- Name the log sink that logging.location selects instead of always
  claiming qs.log.
- Warn when an item expression references an unregistered item, which
  previously produced a rule that silently never matched.
- Stop shipping example rules as live config, and tolerate an empty
  limits.ranks section instead of throwing.
- Default debug.disable-debuglogger to false and legacy-updater
  shop-sign to false.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 16:52:34 -04:00
NotAlexNoyle 756819303e Handle Hikari (GPLv3) databases, replace Vault permissions with LuckPerms permissions 2026-07-26 10:43:06 -04:00
NotAlexNoyle 32c39c84b6 Update to gradle 8.14.3 2025-08-27 09:01:20 -04:00
NotAlexNoyle 3a81df4788 Feat: Maven -> Gradle 8.14.2 2025-06-20 16:19:28 -04:00
Ghost_chu 9cf49d413d update version 2023-12-10 15:39:40 +08:00
Ghost_chu fd3bd9e8fb 1.20.3/4 Initial support 2023-12-09 00:22:48 +08:00
Ghost_chu 8e20f1b8fa 5.2.0.6 2023-11-17 01:16:09 +08:00
Ghost_chu bb86508abd bump version 2023-10-15 00:16:22 +08:00
Ghost_chu 20a6b5f24a Revert "re-added 1.18.1 and 1.18 compatibility"
This reverts commit 21d5b04bbc.
2023-09-24 22:17:46 +08:00
Ghost_chu ebd79a041c Revert "change EOL status"
This reverts commit 6d7180fd47.
2023-09-24 22:17:44 +08:00
Ghost_chu 6d7180fd47 change EOL status 2023-09-24 22:14:53 +08:00
Ghost_chu 21d5b04bbc re-added 1.18.1 and 1.18 compatibility 2023-09-24 21:59:58 +08:00
Ghost_chu dcc44a86a7 bump version 2023-09-24 21:27:26 +08:00
Ghost_chu 944933cce2 clean up 2023-09-24 21:19:23 +08:00
Ghost_chu 3ae3f2ef61 add brackets for if statement 2023-09-24 21:07:26 +08:00
Ghost_chu c3a1bef168 bump version 2023-09-24 11:37:57 +08:00
Ghost_chu 7704814949 bump version 2023-09-23 22:49:47 +08:00
Ghost_chu 095d4aafd8 Format code 2023-09-22 19:01:38 +08:00
Ghost_chu 3d5feb8da4 bump both Hikari and Adventure versions 2023-09-22 15:47:53 +08:00
Ghost_chu 5fd494cc45 turn display in game-version back true 2023-09-22 14:45:34 +08:00
Ghost_chu af6187ae50 Prepare for 1.20.2 snapshot 2023-09-22 14:40:00 +08:00
Ghost_chu 7e73e7db24 Initial 1.20.2 support 2023-09-22 12:20:25 +08:00
Ghost_chu b150a39ff5 5.2.0.0 2023-09-21 19:08:17 +08:00
Ghost_chu b631471b1e re-publish 2023-09-20 22:28:26 +08:00
Ghost_chu 281f321d46 5.1.2.0 2023-09-20 21:59:44 +08:00
Ghost_chu ff1ae88005 Allow re-use the exists CompleteableFuture to avoid create ton of same futures to run out of resources 2023-09-20 14:26:47 +08:00
Ghost_chu b5cb14d0ed update to github 2023-09-20 14:05:24 +08:00
Ghost_chu 096d1b3673 5.1.1.1 2023-09-19 22:42:57 +08:00
Ghost_chu b581fb125a Fix shopId not setup correctly issue 2023-09-18 22:14:22 +08:00
Ghost_chu d685d7cd3e 5.1.1.0 2023-09-18 21:27:13 +08:00
Ghost_chu 558e4e44c5 5.1.0.1 2023-09-18 16:19:26 +08:00
Ghost_chu edeaa16ac4 Fill the error handling 2023-09-17 16:43:59 +08:00
Ghost_chu 54c90af33f Use lombok annotations instead 2023-09-17 16:42:54 +08:00
Ghost_chu 7978ec335d bump version 2023-09-17 16:20:33 +08:00
Ghost_chu 51d4e2e61b Reworked shop cache system 2023-09-17 15:24:57 +08:00
Ghost_chu c50ed91488 Reworked shop cache system 2023-09-17 14:47:21 +08:00
Ghost_chu 8f9d557544 Avoid un-necessary chunk loading 2023-09-17 13:16:30 +08:00
Ghost_chu f8d8c2b482 Able to cancel the event before reach the MONITOR listener 2023-09-15 11:44:02 +08:00
Ghost_chu c70ef8eff8 bump version 2023-09-06 14:51:50 +08:00
Ghost_chu 7f394d9c07 5.0.0.6 2023-08-31 21:52:32 +08:00
Ghost_chu 120c96c583 5.0.0.5 2023-08-31 18:49:55 +08:00
Ghost_chu 3454532ba2 Handle the player messages fetch from async thread, do not save it in memory 2023-08-30 23:06:08 +08:00
Ghost_chu 7f7f6567be bump version 2023-08-30 17:38:15 +08:00
Ghost_chu 599e869830 Fix space 2023-08-29 21:39:29 +08:00
Ghost_chu 8d889f7995 Bump version 2023-08-29 21:22:42 +08:00
Ghost_chu 85a59cc236 Bump version 2023-08-28 02:32:17 +08:00
Ghost_chu d9c9d8aa14 bump version number 2023-08-24 17:53:21 +08:00
Ghost_chu 1fdfd8af9d fix some possibly NPE 2023-08-24 17:45:26 +08:00
Ghost_chu f987249ea5 Fix taxAccount cannot be null issue 2023-08-24 17:42:14 +08:00
Ghost_chu 4c242dcf6c Fix build failed 2023-08-22 15:29:39 +08:00