feature/coreprotect-block-logging #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "UPSOKen/litematica-folia-ekaii-coreprotect-support:feature/coreprotect-block-logging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This covers block-state changes only; tile-entity NBT and entities are too complicated to hook into coreprotect properly in this initial feature.
Tested with
/co i.Merged. Thanks a lot for this one, it's exactly how I'd want an optional integration to look: no-op default, lazy classload so servers without CoreProtect never touch its classes, and fail-open everywhere. The
PluginEnableEventretry was a good catch too. Since this plugin isload: STARTUPand CoreProtect is POSTWORLD, the "late enable" path isn't an edge case, it's the normal path on every single boot.Before merging I ran it through the whole battery:
#litematica, identical re-paste writes zero rows, and a dirt-to-stone re-paste produces exactly 64 removals + 64 placements inco_block, rollback-compatibleOne thing you'll want to know for your own server: stock CoreProtect CE 24.0 refuses MC 26.2 at boot ("Minecraft 26.2 is not supported") and disables itself. Your integration correctly stays dormant when that happens (tested that path too). I assume your 24.0-rc1 was a newer dev build.
I added two small things on top: a
logging.coreprotectconfig toggle (default on) as an escape hatch for people pasting city-sized schematics, and README notes. Shipping as 0.6.0+26.2. You're credited in the README and the Modrinth changelog.