DUXPLIMA Documentation

GP Expiration

A warning period before expired GriefPrevention claims are deleted, a menu of those claims, and fixes for claim loopholes in PvP.

GriefPrevention deletes the claims of players who have not played for a long time. On a PvP server that is a raiding chance, so this extension makes it fair: an expired claim is announced and deleted only after a delay, so everyone gets the same warning. It also closes a few ways claims are misused in fights. File: configs/extensions/GriefPrevention.yml. Module name: GPExpiration. Needs GriefPrevention.

Delayed expiration

When GriefPrevention expires a claim, the extension stops the deletion, announces the claim to everyone with its owner and position, and deletes it delaySeconds later with a second message.

Key in delayedExpirationDefaultMeaning
enabledtrueOff, GriefPrevention deletes expired claims at once as usual
delaySeconds900Seconds between the announcement and the deletion: 15 minutes
initialBroadcast"CLAIM EXPIRED: %owner%'s claim in %world% at %x%, %z% ..."Sent when the claim is queued. %owner%, %world%, %x%, %z%, %time% (seconds)
finalBroadcast"CLAIM REMOVED: The claim in %world% at %x%, %z% ..."Sent when it is deleted. %owner%, %world%, %x%, %z%

These messages use %...% placeholders, not {...}.

The queue is kept in memory. A restart empties it, and GriefPrevention expires those claims again on its next check.

The expired claims menu

/expiredclaims, or /eclaims, opens a menu of the claims waiting to be deleted: owner, world, position, size and time left. It needs uxmpvpcore.griefprevention.use, so give it to the players who should see what will open up. deletionPanel.enabled: false turns the command off; it also exists only while delayed expiration is on. The menu is menus/claims/expired_claims.yml.

Claiming during fights

Key in pvpClaimPreventionDefaultMeaning
enabledtrueRefuse new claims near players in combat
radius50Within this many blocks of any tagged player, the claimer included
message"You cannot claim land within %radius% blocks of a player in combat."Shown when refused

This keeps a player from claiming the ground under a fight to turn it into a safe zone.

Claim loopholes

KeyDefaultStops
doNotPushWindChargeClaimedAreatrueWind charges pushing players who stand in a claim. Ops are not stopped
preventMinecartTNTtrueTNT minecarts hurting players or blowing up inside claims, and dispensers shooting from outside a claim into one

Related: BlockLocker, Integrations