You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Events that can be added: https://github.com/alex9849/advanced-region-market/wiki/API
AddRegionEvent (Is called if a new region gets added to ARM)
BuyRegionEvent (Is called if a region gets bought)
ExtendRegionEvent (Is called if a rentregion or contractregion gets extended)
RemoveRegionEvent (Is called if a region gets removed from ARM)
ResetBlocksEvent (Is called if a region gets resetted)
UnsellRegionEvent (Is called if a region gets unsold) - if possible, getting the reason from the unsell would be helpful
UpdateRegionEvent (Is called if a region gets maked as unsaved)
All events are cancelable.
https://github.com/alex9849/advanced-region-market/blob/master/advancedregionmarket/src/main/java/net/alex9849/arm/regions/Region.java
Some of the most generally helpful seem to be
getRegionKind
isSold
isSubregion
isHotel
isAllowSubregions
isTakeoverReady
getLandlord
getM2Amount
getPricePerPeriod
getPricePerM2
getPricePerM3
getDimensions
getParentRegion
getRegionworld
getRegion (this gets the worldguard region)
getSubregions
isBuyable
setSold(boolean)
setSold(player) - sets sold = true and sets owner at the same time
setLandlord
setRegionKind
setOwner
The text was updated successfully, but these errors were encountered:
Source code can be found here: https://github.com/alex9849/advanced-region-market
Events that can be added:
https://github.com/alex9849/advanced-region-market/wiki/API
AddRegionEvent (Is called if a new region gets added to ARM)
BuyRegionEvent (Is called if a region gets bought)
ExtendRegionEvent (Is called if a rentregion or contractregion gets extended)
RemoveRegionEvent (Is called if a region gets removed from ARM)
ResetBlocksEvent (Is called if a region gets resetted)
UnsellRegionEvent (Is called if a region gets unsold) - if possible, getting the reason from the unsell would be helpful
UpdateRegionEvent (Is called if a region gets maked as unsaved)
All events are cancelable.
Tags that could be added:
https://github.com/alex9849/advanced-region-market/blob/master/advancedregionmarket/src/main/java/net/alex9849/arm/regions/RegionManager.java
getRegion(wgregion) - get ARM region by wgregion
getRegionByNameAndWorld - get ARM region
getRegionsByLocation
getRegionsByRegionKind
getRegionsBySelltype
getBuyableRegions
getRegionsByMember
getRegionsByOwner
https://github.com/alex9849/advanced-region-market/blob/master/advancedregionmarket/src/main/java/net/alex9849/arm/regions/Region.java
Some of the most generally helpful seem to be
getRegionKind
isSold
isSubregion
isHotel
isAllowSubregions
isTakeoverReady
getLandlord
getM2Amount
getPricePerPeriod
getPricePerM2
getPricePerM3
getDimensions
getParentRegion
getRegionworld
getRegion (this gets the worldguard region)
getSubregions
isBuyable
setSold(boolean)
setSold(player) - sets sold = true and sets owner at the same time
setLandlord
setRegionKind
setOwner
The text was updated successfully, but these errors were encountered: