GriefPrevention3D v18.4.14
What's new
v18.4.14: claimed cushions protected on both platforms; per-player glow toggle
GriefPrevention3D v18.4.14
Wiki: https://github.com/castledking/GriefPrevention3D/wiki
Fixes
Claimed cushions can no longer be broken by untrusted players (#13). A cushion is an entity, not a block, so the block protection that covers everything else never applied to it. On top of that, it is a non-living entity: a hit on one raises no damage event at all, so the creature protection that covers armor stands and item frames never saw it either. All of these now need build trust in the cushion's claim:
- Paper / Purpur / Folia. Melee, arrows, snowballs, eggs and fire all go through the cushion's break event now. Reeling one in with a fishing rod takes container trust, as with armor stands.
- Fabric. Melee and arrows are stopped before the hit lands, and a new mixin on the cushion's own damage
handling stops snowballs and eggs, which bypass the melee hook. Sitting on a cushion in a claim you can't
build in is still allowed, matching
Claims.PreventCushionMount(default false) on Paper. Reeling one in takes container trust. - Both.
EntityDamageHandlerno longer carries a deadCUSHIONentry that could never fire.
Cushions only exist on Minecraft 26.3 and later, so older servers are unaffected.
New features
- Per-player glow toggle for claim visualizations.
/claimglow(or/claim glow) lets each player turn the glowing outline on or off for themselves, independently of the server-wideVisualizationGlowsetting. The setting persists across restarts in the player data file./gpglowlets an administrator flip the global setting at runtime; it is always available, while/claimglowonly works while the global setting is on.- Paper:
/claimglow [on|off](griefprevention.glow),/gpglow [on|off](griefprevention.debug). - Fabric: the same two commands, registered through the alias system.
- Toggling either setting refreshes any visualization the player currently has drawn, so the change shows up immediately.
- Paper:
Upgrade notes
Nothing to migrate. The player data file gains a fifth line (glowEnabled, defaulting to true) the first time
a player's data is rewritten; old four-line records keep working and default to glow on. The VisualizationGlow
config key is unchanged.
Both versions still ship in one GriefPrevention3D.jar: 1.8 through the latest release on Spigot, Paper, Purpur
and Folia, and 1.21.2 through 1.21.11 and 26.1 through 26.3 on Fabric.
This mod has no additional files