Depenizen icon indicating copy to clipboard operation
Depenizen copied to clipboard

AdvancedRegionMarket Support

Open JeffP07 opened this issue 2 years ago • 0 comments

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

JeffP07 avatar Sep 14 '22 17:09 JeffP07