Skip to content

Releases: castledking/GriefPrevention3D

17.2.0

18 Feb 21:11

Choose a tag to compare

Overview

  • Add removeInheritedPermissions to properly remove trusted players on /rsc

Full changelog: 17.1.9...17.2.0

17.1.9

18 Feb 03:36

Choose a tag to compare

Overview

  • Fix /rsc command in 3D subclaims

Full changelog: 17.1.8...17.1.9

17.1.8

16 Feb 21:27

Choose a tag to compare

Overview

  • Restore ClaimPermission.Inventory as deprecated alias to fix compatibility with plugins
  • Upstream GriefPrevention kept Inventory as a #Deprecated(forRemoval = true)
    alias for Container, but commit 88b5a82 removed it entirely. This broke
    plugins like SpawnerMeta that reference ClaimPermission.Inventory.
  • Also updates isGrantedBy() to normalize Inventory to Container for proper
    permission comparison.

Full changelog: 17.1.7...17.1.8

17.1.7

16 Feb 00:18

Choose a tag to compare

Overview

  • Improve claim subdivision error handling
  • Fixed /restrictsubclaim command
  • Bumped version to 17.1.7

Full changelog: 17.1.6...17.1.7

17.1.6

12 Feb 23:22

Choose a tag to compare

Overview

Improve 2D visualiation to start at player Y level, instead of starting
at max world height

  • Merge FakeBlockVisualization with upstream
  • Remove SnapOverrideHelper
  • Bump version to 17.1.6

Full changelog: 17.1.5...17.1.6

17.1.5

08 Feb 05:44

Choose a tag to compare

Overview

  • Enhanced command/tabcompletion addon implementation for GPExpansion to extend
  • Improve visualization snapping
  • Bumped version to 17.1.5

Full changelog: 17.1.4...17.1.5

17.1.4

07 Feb 02:14

Choose a tag to compare

Overview

Add back legacy /givepet command

  • Merging with upstream 4a426f6
  • /givepet command and messages are now supported in this project.

Full changelog: 17.1.3...17.1.4

17.1.3

06 Feb 07:54

Choose a tag to compare

Overview

  • Added support for a new 'toplevel' option in the /claim abandon command to delete a claim and all its subdivisions.
  • Resizing claims now selects them and allows /claim abandon to delete them.
  • Replaced the old ResizeStart message with ClaimSelected and ClaimSelectedTopLevel. When you load with an existing ResizeStart in messages.yml, it is backed up automatically (see below).

ResizeStart removed — backup and new messages

The message ResizeStart was removed. It is replaced by two messages so the plugin can suggest the right command depending on whether the selected claim has subdivisions or not.

Backup (automatic)

If your messages.yml contained Messages.ResizeStart (or Messages.ResizeStart.Text), the plugin backs it up on load:

# Where:  Same folder as messages.yml (your GriefPrevention data folder)
# File:   ResizeStart-backup.yml
#
# The backup file contains your old ResizeStart value and a short header explaining that
# ClaimSelected and ClaimSelectedTopLevel replaced it. After the backup is written,
# ResizeStart is removed from messages.yml so the plugin does not use it anymore.
# You can copy any formatting (e.g. color codes) from ResizeStart-backup.yml into
# ClaimSelected or ClaimSelectedTopLevel in messages.yml if you want to keep it.

New messages

# ClaimSelected
#   When:  Shown when you select a claim corner and that claim has no subdivisions.
#   Suggests: /claim abandon to delete the claim.
#   Default: "Claim selected. Use your shovel again to set the other corner and resize, or use /claim abandon to delete this claim."

# ClaimSelectedTopLevel
#   When:  Shown when you select a claim corner and that claim has subdivisions.
#   Suggests: /claim abandon toplevel to delete the claim and all its subdivisions.
#   Default: "Claim selected. Use your shovel again to set the other corner and resize, or use /claim abandon toplevel to delete this claim and its subdivisions."

Full changelog: 17.1.2...17.1.3

17.1.2

04 Feb 10:53

Choose a tag to compare

Overview

  • Improved permission checks for 3D claims in ProtectionHelper and Claim classes to ensure proper inheritance for first-child subdivisions.
  • Added migration logic in DatabaseDataStore and FlatFileDataStore to set inheritance correctly for new 3D subdivisions.

Full changelog: 17.1.1...17.1.2

17.1.1

03 Feb 00:46

Choose a tag to compare

Overview

  • fix: New standalone master switch and fixes for alias.yml

What to edit in alias.yml (in plugins/GriefPreventionData/) to use the new options. Reload with /gpreload after changes.

1. Global Toggles (top of file)

# Master switch: false = no alias system, use default English command names
enabled: true

# Standalone commands: false = only /claim and /aclaim (or their translations) exist
# No /trust, /trapped, /abandonclaim, etc. – use /claim trust, /claim trapped, etc. instead**
standalone: true

2. Root command names (claim / aclaim)

Under commands:claim: or aclaim: use the commands: list. Every entry is a full root command (not just the first one).

Example – allow both /claim and /claims:

commands:
  claim:
    enable: true
    commands: [claim, claims]   # /claim create and /claims create both work
    # ...
  aclaim:
    enable: true
    commands: [aclaim, aclaims] # /aclaim restore and /aclaims restore both work
    # ...

Full changelog: 17.1.0...17.1.1