Skip to content

AdvancedRegionMarket Support #387

@JeffP07

Description

@JeffP07

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    PossibleMight be added - good candidate for a PR!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions