Domain - Land Claiming & Protection icon

Domain - Land Claiming & Protection -----

Highly configurable land claiming, grief protection & protection fields for 1.14-1.20



Bug fixes, armor stands and new api functions
Change Log 1.5.5

First an update:
This is the last intended feature update for Domain 1.* for the foreseeable future. I'm currently working on a fairly major rewrite of a large portion of the code that will be released as 2.0. Bug fixes for the 1.* branch will continue.

On to the 1.5.5 Updates.

A bug fix has been put in place that corrects an issue with some item frames being accessible

The PREVENT_INTERACT_ARMOR_STAND_BY_NONALLOWED flag has been activated in the code. It will prevent non-allowed players from taking from armor stands.

Please add the following to your lang.yml file if you wish to edit the default text:

Code (YAML):
armorstand_deny : "&4You cannot access armor stands here"
armorstand_deny_bypass
: "&4You cannot interact with armor stands here, but have bypass mode enabled"
A new API event has been created that is fired when a Domain field is resized.

work.torp.domain.api.events.domain.DomainResizeEvent
Code (Text):
public DomainBlock getDomainBlock() - Gets the Domain Block that is being resized
public Location getCorner1() - Gets Corner 1 from the Domain block being resized
public Location getCorner2() - Gets Corner 2 from the Domain block being resized
 
And a new API function to set the corners of the field

work.torp.domain.api.DomainAPI.resizeField(int, Location, Location, UUID)
Code (Java):
/*
         * Name: resizeField()
         * Description: Updates the corners for a field - forces update without checks
         * Parameters:
         *  int domainBlockID - The domain block id to update
         *  Location corner1 - The corner1 location to set
         *  Location corner2 - The corner2 location to set
         *  UUID playerUUID - The player unique identifier to alert if they are online, they will
         *  also see an udpated visualization of the field.  If null, no messages or visualization
         *  will be shown to the player.
         * Return Type: void
         */
----------, Apr 28, 2020
Resource Information
Author:
----------
Total Downloads: 210
First Release: Jan 30, 2019
Last Update: Aug 23, 2024
Category: ---------------
All-Time Rating:
32 ratings
Find more info at torpkev.github.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings