Class Api
java.lang.Object
sawfowl.regionguard.implementsapi.Api
- All Implemented Interfaces:
RegionAPI
-
Nested Class Summary
Nested classes/interfaces inherited from interface sawfowl.regionguard.api.RegionAPI
RegionAPI.PostAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTempRegion
(UUID user, Region region) Adding a temporary regionvoid
addTempRegion
(Region region) Adding a temporary regionvoid
deleteRegion
(Region region) Deleting a region.findIntersectsRegion
(Region region) Search for the region with which the intersection occurs.findRegion
(org.spongepowered.api.ResourceKey worldkey, org.spongepowered.math.vector.Vector3i position) Search for a region in the world using the specified coordinates.
If the region contains child regions, the deepest child region will be returned.findRegion
(org.spongepowered.api.world.server.ServerWorld world, org.spongepowered.math.vector.Vector3i position) Search for a region in the world using the specified coordinates.findRegion
(org.spongepowered.api.world.server.ServerWorld world, org.spongepowered.math.vector.Vector3i position, Predicate<Region> filter) Search for a region in the world using the specified coordinates.void
double
getBuyBlockPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the value of the block price for the player.double
getBuyClaimPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the value of the region price for the player.double
getBuyMembersPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the value of the price of the region's participant limit increase.double
getBuySubdivisionPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the value of the subdivision price for the player.long
getClaimedBlocks
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the number of blocks that belong to the player.long
getClaimedRegions
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the number of regions belonging to the player.org.spongepowered.api.service.economy.Currency
getCurrency
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the currency in which the player will perform the transaction.getDefaultFlags
(RegionTypes regionType) Get the default flags for a certain type of region.getGlobalRegion
(org.spongepowered.api.ResourceKey worldkey) Get world region.getGlobalRegion
(org.spongepowered.api.world.server.ServerWorld serverWorld) Get world region.long
getLimitBlocks
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the limit of blocks that can claiming the player.long
getLimitClaims
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the limit of regions that can claiming the player.long
getLimitMaxBlocks
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) The maximum limit of blocks a player can claim.long
getLimitMaxClaims
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) The maximum limit of regions a player can claim.long
getLimitMaxMembers
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) The maximum limit of members of the player region..long
getLimitMaxSubdivisions
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) The maximum limit of child regions a player can create.long
getLimitMembers
(UUID player) Getting the members limit for each region of a particular player.
Each region has its own separate members limit.long
getLimitMembers
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the members limit for each region of a particular player.
Each region has its own separate members limit.long
getLimitSubdivisions
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the maximum number of child regions a player can create.int
getMinimalRegionSize
(SelectorTypes selectorType) Get the minimum size of the region, which is set in the main configuration file.getPlayerData
(UUID player) Getting limits and other information on the player.getPlayerData
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting limits and other information on the player.getPlayerRegions
(UUID playerUUID) Obtaining all player regions.getPlayerRegions
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Obtaining all player regions.Getting all registered regions except globals.Map<org.spongepowered.api.ResourceKey,
Map<ChunkNumber, ArrayList<Region>>> Obtaining a map of regions by worlds.Getting all registered flags.getSelectorType
(UUID uuid) Obtaining a type of region selector from the player.getSelectRegionType
(UUID uuid) Getting the type of regions creating by the player.getSelectRegionType
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the type of regions creating by the player.double
getSellBlockPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the value of the block price for the player.double
getSellClaimPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the value of the region price for the player.double
getSellMembersPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the value of the price of the region members limit decrease.double
getSellSubdivisionPrice
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Get the value of the subdivision price for the player.getTempRegion
(UUID uuid) Get a temporary regionorg.spongepowered.api.item.inventory.ItemStack
Getting an item for selecting regions.Go to the API for visually highlighting regions with a mod on the WECui client.boolean
isRegisteredGlobal
(org.spongepowered.api.world.server.ServerWorld world) void
registerFlag
(String flagName, FlagConfig settings) FlagConfig registration.void
registerRegion
(Region region) Region registration.void
registerRegionAsync
(Region region) Region registration in asynchronous mode.void
removeTempRegion
(UUID uuid) Removing a temporary regionvoid
removeTempRegion
(Region region) Removing a temporary regionvoid
saveRegion
(Region region) Saving region data to disk.void
setCreatingRegionType
(UUID uuid, RegionTypes regionType) Specifies the type of regions created by the player.void
setCreatingRegionType
(org.spongepowered.api.entity.living.player.server.ServerPlayer player, RegionTypes regionType) Specifies the type of regions created by the player.void
setLimitBlocks
(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Change the limit of blocks a player can claim.void
setLimitClaims
(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Set the number of regions a player can own.void
setLimitMembers
(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Set the number of players that each player region can contain.void
setLimitSubdivisions
(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Set a limit to the subdivisions a player can create.void
setPlayerData
(UUID player, PlayerData playerData) Setting limits and other information on the player.void
setPlayerData
(org.spongepowered.api.entity.living.player.server.ServerPlayer player, PlayerData playerData) Setting limits and other information on the player.void
setSelectorType
(UUID uuid, SelectorTypes selectorType) Set a type of region selector for the player.void
setSelectorType
(org.spongepowered.api.entity.living.player.server.ServerPlayer player, SelectorTypes selectorType) Set a type of region selector for the player.void
unregisterRegion
(Region region) Remove the region from the list of registered regions.
This method will not remove the region from the disk.void
updateGlobalRegionData
(org.spongepowered.api.world.server.ServerWorld serverWorld, Region region) Update global region data.void
updatePlayerData
(UUID player) Update cached data on regions and blocks claimed by the player.void
updatePlayerData
(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Update cached data on regions and blocks claimed by the player.void
-
Constructor Details
-
Api
-
-
Method Details
-
generateDefaultGlobalRegion
public void generateDefaultGlobalRegion() -
getRegisteredFlags
Description copied from interface:RegionAPI
Getting all registered flags.- Specified by:
getRegisteredFlags
in interfaceRegionAPI
-
registerFlag
Description copied from interface:RegionAPI
FlagConfig registration. Values cannot be null.- Specified by:
registerFlag
in interfaceRegionAPI
-
updateGlobalRegionData
public void updateGlobalRegionData(org.spongepowered.api.world.server.ServerWorld serverWorld, Region region) Description copied from interface:RegionAPI
Update global region data.- Specified by:
updateGlobalRegionData
in interfaceRegionAPI
- Parameters:
serverWorld
- - worldregion
- - world region.
-
addTempRegion
Description copied from interface:RegionAPI
Adding a temporary region- Specified by:
addTempRegion
in interfaceRegionAPI
-
addTempRegion
Description copied from interface:RegionAPI
Adding a temporary region- Specified by:
addTempRegion
in interfaceRegionAPI
-
removeTempRegion
Description copied from interface:RegionAPI
Removing a temporary region- Specified by:
removeTempRegion
in interfaceRegionAPI
-
removeTempRegion
Description copied from interface:RegionAPI
Removing a temporary region- Specified by:
removeTempRegion
in interfaceRegionAPI
- Parameters:
uuid
- - owner uuid
-
getTempRegion
Description copied from interface:RegionAPI
Get a temporary region- Specified by:
getTempRegion
in interfaceRegionAPI
- Parameters:
uuid
- - owner uuid- Returns:
- Optional
or empty
-
getSelectorType
Description copied from interface:RegionAPI
Obtaining a type of region selector from the player.- Specified by:
getSelectorType
in interfaceRegionAPI
- Returns:
- Player-selected region selector type, or default selection type.
-
setSelectorType
public void setSelectorType(org.spongepowered.api.entity.living.player.server.ServerPlayer player, SelectorTypes selectorType) Description copied from interface:RegionAPI
Set a type of region selector for the player.- Specified by:
setSelectorType
in interfaceRegionAPI
selectorType
- - SelectorTypes
-
setSelectorType
Description copied from interface:RegionAPI
Set a type of region selector for the player.- Specified by:
setSelectorType
in interfaceRegionAPI
- Parameters:
uuid
- - player uuidselectorType
- - SelectorTypes
-
getSelectRegionType
public RegionTypes getSelectRegionType(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting the type of regions creating by the player.- Specified by:
getSelectRegionType
in interfaceRegionAPI
- Returns:
RegionTypes
-
getSelectRegionType
Description copied from interface:RegionAPI
Getting the type of regions creating by the player.- Specified by:
getSelectRegionType
in interfaceRegionAPI
- Parameters:
uuid
- - player uuid- Returns:
RegionTypes
-
setCreatingRegionType
public void setCreatingRegionType(org.spongepowered.api.entity.living.player.server.ServerPlayer player, RegionTypes regionType) Description copied from interface:RegionAPI
Specifies the type of regions created by the player.
You cannot assign the types: global, subdivision, unset.- Specified by:
setCreatingRegionType
in interfaceRegionAPI
-
setCreatingRegionType
Description copied from interface:RegionAPI
Specifies the type of regions created by the player.
You cannot assign the types: global, subdivision, unset.- Specified by:
setCreatingRegionType
in interfaceRegionAPI
-
getGlobalRegion
Description copied from interface:RegionAPI
Get world region.- Specified by:
getGlobalRegion
in interfaceRegionAPI
- Parameters:
serverWorld
- - the world of the region.- Returns:
- Region
-
getGlobalRegion
Description copied from interface:RegionAPI
Get world region.- Specified by:
getGlobalRegion
in interfaceRegionAPI
- Parameters:
worldkey
- - the world key of the region.- Returns:
- Region
-
getRegions
Description copied from interface:RegionAPI
Getting all registered regions except globals.- Specified by:
getRegions
in interfaceRegionAPI
- Returns:
- Collection
-
getRegionsPerWorld
public Map<org.spongepowered.api.ResourceKey,Map<ChunkNumber, getRegionsPerWorld()ArrayList<Region>>> Description copied from interface:RegionAPI
Obtaining a map of regions by worlds.
Without global regions.- Specified by:
getRegionsPerWorld
in interfaceRegionAPI
-
registerRegion
Description copied from interface:RegionAPI
Region registration.
The method does not save the region data to disk.- Specified by:
registerRegion
in interfaceRegionAPI
- Parameters:
region
- - Registrable region.
-
registerRegionAsync
Description copied from interface:RegionAPI
Region registration in asynchronous mode.- Specified by:
registerRegionAsync
in interfaceRegionAPI
- Parameters:
region
- - Registrable region.
-
unregisterRegion
Description copied from interface:RegionAPI
Remove the region from the list of registered regions.
This method will not remove the region from the disk.- Specified by:
unregisterRegion
in interfaceRegionAPI
-
saveRegion
Description copied from interface:RegionAPI
Saving region data to disk.- Specified by:
saveRegion
in interfaceRegionAPI
- Parameters:
region
- - Preservable region..
-
deleteRegion
Description copied from interface:RegionAPI
Deleting a region.- Specified by:
deleteRegion
in interfaceRegionAPI
- Parameters:
region
- - Removable region.
-
findRegion
public Region findRegion(org.spongepowered.api.world.server.ServerWorld world, org.spongepowered.math.vector.Vector3i position) Description copied from interface:RegionAPI
Search for a region in the world using the specified coordinates.
If the region contains child regions, the deepest child region will be returned.- Specified by:
findRegion
in interfaceRegionAPI
- Parameters:
world
- - The world in which the search will be performed.position
- - Checkable position.- Returns:
- - Found region or global region.
-
findRegion
public Optional<Region> findRegion(org.spongepowered.api.world.server.ServerWorld world, org.spongepowered.math.vector.Vector3i position, Predicate<Region> filter) Description copied from interface:RegionAPI
Search for a region in the world using the specified coordinates.
If the region contains child regions, the deepest child region will be returned.- Specified by:
findRegion
in interfaceRegionAPI
- Parameters:
world
- - The world in which the search will be performed.position
- - Checkable position.- Returns:
- - Found region or global region.
-
findRegion
public Region findRegion(org.spongepowered.api.ResourceKey worldkey, org.spongepowered.math.vector.Vector3i position) Description copied from interface:RegionAPI
Search for a region in the world using the specified coordinates.
If the region contains child regions, the deepest child region will be returned.- Specified by:
findRegion
in interfaceRegionAPI
- Parameters:
worldkey
- - The key of the world in which you want to search.position
- - Checkable position.- Returns:
- - Found region or global region.
-
findIntersectsRegion
Description copied from interface:RegionAPI
Search for the region with which the intersection occurs.- Specified by:
findIntersectsRegion
in interfaceRegionAPI
- Parameters:
region
- - Original region.- Returns:
- The first region found with which there is an intersection.
Or the original region if no intersection is found.
-
getPlayerRegions
public List<Region> getPlayerRegions(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Obtaining all player regions.- Specified by:
getPlayerRegions
in interfaceRegionAPI
- Parameters:
player
- - Owner of the regions.- Returns:
- - List of player regions.
-
getPlayerRegions
Description copied from interface:RegionAPI
Obtaining all player regions.- Specified by:
getPlayerRegions
in interfaceRegionAPI
- Parameters:
playerUUID
- - UUID of owner of the regions.- Returns:
- - List of player regions.
-
getWandItem
public org.spongepowered.api.item.inventory.ItemStack getWandItem()Description copied from interface:RegionAPI
Getting an item for selecting regions.- Specified by:
getWandItem
in interfaceRegionAPI
-
getMinimalRegionSize
Description copied from interface:RegionAPI
Get the minimum size of the region, which is set in the main configuration file.- Specified by:
getMinimalRegionSize
in interfaceRegionAPI
- Parameters:
selectorType
- - Type of region selection.- Returns:
- - The minimum number of blocks that should be in the region.
-
getDefaultFlags
Description copied from interface:RegionAPI
Get the default flags for a certain type of region.- Specified by:
getDefaultFlags
in interfaceRegionAPI
-
getClaimedBlocks
public long getClaimedBlocks(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the number of blocks that belong to the player.- Specified by:
getClaimedBlocks
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The amount of blocks the player owns according to the type of allocation of each region.
-
getClaimedRegions
public long getClaimedRegions(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the number of regions belonging to the player.- Specified by:
getClaimedRegions
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of regions belonging to the player.
-
getLimitBlocks
public long getLimitBlocks(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting the limit of blocks that can claiming the player.- Specified by:
getLimitBlocks
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of blocks available to the player for claiming.
-
getLimitClaims
public long getLimitClaims(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting the limit of regions that can claiming the player.- Specified by:
getLimitClaims
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of regions available to the player for claiming.
-
getLimitSubdivisions
public long getLimitSubdivisions(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the maximum number of child regions a player can create.
Each basic region has its own limit.- Specified by:
getLimitSubdivisions
in interfaceRegionAPI
- Parameters:
player
- - Checked player
-
getLimitMembers
public long getLimitMembers(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting the members limit for each region of a particular player.
Each region has its own separate members limit.- Specified by:
getLimitMembers
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of members limit for each region of a particular player.
-
getLimitMembers
Description copied from interface:RegionAPI
Getting the members limit for each region of a particular player.
Each region has its own separate members limit.- Specified by:
getLimitMembers
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of members limit for each region of a particular player.
-
getLimitMaxBlocks
public long getLimitMaxBlocks(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
The maximum limit of blocks a player can claim.- Specified by:
getLimitMaxBlocks
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of blocks available to the player for claiming.
-
getLimitMaxClaims
public long getLimitMaxClaims(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
The maximum limit of regions a player can claim.- Specified by:
getLimitMaxClaims
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of regions available to the player for claiming.
-
getLimitMaxSubdivisions
public long getLimitMaxSubdivisions(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
The maximum limit of child regions a player can create.
Each basic region has its own limit.- Specified by:
getLimitMaxSubdivisions
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The number of subdivisions available to the player for creating.
-
getLimitMaxMembers
public long getLimitMaxMembers(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
The maximum limit of members of the player region..
Each basic region has its own limit.- Specified by:
getLimitMaxMembers
in interfaceRegionAPI
- Parameters:
player
- - Checked player- Returns:
- - The maximum number of region members a player can add.
-
setLimitBlocks
public void setLimitBlocks(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Description copied from interface:RegionAPI
Change the limit of blocks a player can claim.- Specified by:
setLimitBlocks
in interfaceRegionAPI
-
setLimitClaims
public void setLimitClaims(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Description copied from interface:RegionAPI
Set the number of regions a player can own.- Specified by:
setLimitClaims
in interfaceRegionAPI
-
setLimitSubdivisions
public void setLimitSubdivisions(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Description copied from interface:RegionAPI
Set a limit to the subdivisions a player can create.- Specified by:
setLimitSubdivisions
in interfaceRegionAPI
-
setLimitMembers
public void setLimitMembers(org.spongepowered.api.entity.living.player.server.ServerPlayer player, long limit) Description copied from interface:RegionAPI
Set the number of players that each player region can contain.- Specified by:
setLimitMembers
in interfaceRegionAPI
-
getBuyBlockPrice
public double getBuyBlockPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the value of the block price for the player.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getBuyBlockPrice
in interfaceRegionAPI
-
getBuyClaimPrice
public double getBuyClaimPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the value of the region price for the player.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getBuyClaimPrice
in interfaceRegionAPI
-
getBuySubdivisionPrice
public double getBuySubdivisionPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the value of the subdivision price for the player.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getBuySubdivisionPrice
in interfaceRegionAPI
-
getBuyMembersPrice
public double getBuyMembersPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting the value of the price of the region's participant limit increase.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getBuyMembersPrice
in interfaceRegionAPI
-
getSellBlockPrice
public double getSellBlockPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the value of the block price for the player.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getSellBlockPrice
in interfaceRegionAPI
-
getSellClaimPrice
public double getSellClaimPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the value of the region price for the player.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getSellClaimPrice
in interfaceRegionAPI
-
getSellSubdivisionPrice
public double getSellSubdivisionPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Get the value of the subdivision price for the player.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getSellSubdivisionPrice
in interfaceRegionAPI
-
getSellMembersPrice
public double getSellMembersPrice(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting the value of the price of the region members limit decrease.
Depending on how the permissions plugin is set up, different players may have different prices.- Specified by:
getSellMembersPrice
in interfaceRegionAPI
-
getCurrency
public org.spongepowered.api.service.economy.Currency getCurrency(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting the currency in which the player will perform the transaction. Depending on how the permissions plugin is set up, different players may have different currencies.- Specified by:
getCurrency
in interfaceRegionAPI
-
setPlayerData
public void setPlayerData(org.spongepowered.api.entity.living.player.server.ServerPlayer player, PlayerData playerData) Description copied from interface:RegionAPI
Setting limits and other information on the player.- Specified by:
setPlayerData
in interfaceRegionAPI
-
setPlayerData
Description copied from interface:RegionAPI
Setting limits and other information on the player.- Specified by:
setPlayerData
in interfaceRegionAPI
-
updatePlayerData
public void updatePlayerData(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Update cached data on regions and blocks claimed by the player.- Specified by:
updatePlayerData
in interfaceRegionAPI
-
updatePlayerData
Description copied from interface:RegionAPI
Update cached data on regions and blocks claimed by the player.- Specified by:
updatePlayerData
in interfaceRegionAPI
-
getPlayerData
public Optional<PlayerData> getPlayerData(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionAPI
Getting limits and other information on the player.- Specified by:
getPlayerData
in interfaceRegionAPI
-
getPlayerData
Description copied from interface:RegionAPI
Getting limits and other information on the player.- Specified by:
getPlayerData
in interfaceRegionAPI
-
getWorldEditCUIAPI
Description copied from interface:RegionAPI
Go to the API for visually highlighting regions with a mod on the WECui client.- Specified by:
getWorldEditCUIAPI
in interfaceRegionAPI
-
updateWandItem
public void updateWandItem() -
isRegisteredGlobal
public boolean isRegisteredGlobal(org.spongepowered.api.world.server.ServerWorld world)
-