Repository navigation
feat: stick と autostore の操作を Kansokusha に記録する - #656
Merged
Merged
Conversation
Record container transactions (stick) and item pickups (autostore) to Kansokusha next to the CoreProtect integration. The Kansokusha jars are provided by a local Maven repository in libs/. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0119Taj8Ugkc35RXVFmCvRiG
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0119Taj8Ugkc35RXVFmCvRiG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
CoreProtect に記録している箇所に Kansokusha への記録を追加します。CoreProtect 連携は変更していません。
kansokusha:container_transactionとして記録kansokusha:item_pickupとして記録(アイテムエンティティがある場合はその UUID を付与)Kansokushaプラグインが有効なときだけ動作し、失敗時は CoreProtect 連携と同様に無効化しますpaper-plugin.ymlにKansokushaを任意依存として追加libs/に擬似 Maven リポジトリとして配置(net.okocraft.kansokusha:kansokusha-api/kansokusha-paper0.0.1)依存
Kansokusha 側の公開ファサード
PaperExternalAuditEventsを使用します。okocraft/Kansokusha#295 がマージされ、正式な jar が公開されるまでは、libs/の jar はそのブランチからビルドしたものです。検証
:box-stick-feature:compileJava、:box-autostore-feature:compileJava、:box-autostore-feature:testが通ることを確認Generated by Claude Code