Repository navigation
Preserve MMOItems and MythicMobs identities in audit lookups - #21
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (16)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe change records MythicMobs internal identities with entity-kill data and adds custom item and mob labels to lookup output. It also updates the README with label behaviour, integration requirements, and limits. ChangesCustom audit labels
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant MythicMobsDeathEvent
participant MythicMobListener
participant EntityDeathListener
participant Queue
participant EntityKillProcess
participant EntityKillLogger
MythicMobsDeathEvent->>MythicMobListener: Read internal name and attach metadata
EntityDeathListener->>MythicMobListener: Take entity identity
MythicMobListener-->>EntityDeathListener: Return MythicIdentity or null
EntityDeathListener->>Queue: Queue entity kill with identity
Queue->>EntityKillProcess: Pass queued payload
EntityKillProcess->>EntityKillLogger: Log entity kill with identity
Merge Risk: ⚪ Minimal · up to The custom labels and optional identity capture appear mergeable after normal checks. Confirm MythicMobs event ordering for the supported version if that integration requires an additional compatibility guarantee. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Custom identities enrich audit records without changing lookup permissions or entity recovery behavior. No introduced security vulnerability was established. Remaining uncertainty concerns whether custom identities are consistently captured across supported plugin versions, event ordering and reload conditions. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
Comment |
MMOItems pickups and MythicMobs kills currently appear under vanilla material/entity labels. Preserve MMOItems type/ID and saved names in lookup labels, and capture MythicMobs internal IDs on new kills so custom identities remain distinguishable from renamed vanilla items.
Uses existing metadata storage and preserves rollback entity payloads. Historical named mobs remain explicitly labelled as names; no schema migration or history rewrite. Optional integration keeps the plugins optional.
Validation: 17 Java tests and Maven verification passed. Dev smoke on Paper verified a real MMOItems Mythril Ingot, a renamed vanilla ingot, and a spawned/killed MythicMobs rat through persisted rows and
/colookups, including after restart. Tested runtime package: 25.3.0-audit.1. Release packaging must use the existing tag-derived numeric version, not main-SNAPSHOT.Part of the coordinated Main release; no independent Main deployment.