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:
Code (Text):
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
Code (Text):
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