Domain - Land Claiming & Protection icon

Domain - Land Claiming & Protection -----

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



API Updates
Change Log 1.5.3

Fairly small update that just adds a couple of features to the API. If you do not use the API, you can skip this release.

Added new event:

work.torp.domain.api.events.domain
DomainMergeEvent

This event fires when a block is being merged.
  • getPlayer() - Gets the player who is merging the block
  • getDomainBlock() - Gets the Domain Block that is being merged
  • getCancelReason() - Get the reason for cancellation
  • isCancelled() - Get the cancellation flag
  • setCancelled(boolean cancel) - Sets the cancellation flag

Also added a new API call

work.torp.domain.api.DomainAPI
getAllBlocksInField(int domainBlockId)

Returns an APIResponse with List<Block> of all the blocks within the field. Returns null if the Domain Block ID is invalid or if no blocks are found in the field.
----------, Apr 19, 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