regions.yml Old - alex9849/advanced-region-market GitHub Wiki

The regions.yml stores all regions that are managed by ARM.

SellRegions

Regions:
  world:
    test1:
      sold: true
      isHotel: false
      lastreset: 1
      regiontype: sellregion
      price: 50.0
      signs:
      - world;70.0;64.0;-78.0;GROUND;WEST
      kind: Default
      flagGroup: Default
      autoreset: true
      entityLimitGroup: Default
      doBlockReset: true
      allowedSubregions: 0
      isUserResettable: true
      boughtExtraTotalEntitys: 0
      boughtExtraEntitys: []
Variable/Placeholder Meaning/Function
world The name of the world that contains the region
test1 The ID of the region in WorldGuard
sold true if the region is sold false if not
isHotel The hotel-function can be used if you want that members and owners of the selected region should only be able to destroy blocks that they have placed
lastreset If the option isUserResettable has been enabled the owner of the region can restore the region (remove built blocks). Lastreset saves the time when the region has been reset at last to preset players from resetting their region too often. You can decide how often players can reset their region in the config.yml (Other.userResetCooldown)
regiontype Shows the plugin if it should parse the region as a sell-, rent- or contractregion. If you want to change this manually don't forget that some selltypes need other variables
price The price of the region
sings The coordinates of all signs that are linked to the region
kind The regionkind of the region
flagGroup The flagGroup of the region
autoreset If enabled the region will be automatically reset or offered to a member if the owner of the region has not been online for a certain amount of time. You have to activate it in the config.yml too
entityLimitGroup The entitylimitGroup of the region
doBlockReset If true the region will be automatically be reset if it gets reset automatically (rent expired/reset because of inactivity/...)
allowedSubregions Decides how many subregions the regionowner can create on that region
isUserResettable If true the owner of the region can remove all blocks that have been built on the region

RentRegions
In addition to all variables that are used by SellRegions RentRegions also use the following variables:

Variable Meaning
payedTill Saves the date which the region was paid to
maxExtendTime The max. time the region can be rented at once
rentExtendPerClick The time the region should be extended if a players extends the region

ContractRegions
In addition to all variables that are used by SellRegions ContractRegions also use the following variables:

Variable Meaning
extendTime The time the region should be extended if it extends itself
payedTill Saves the date which the region was paid to
terminated If true the region got terminated and will be reset after if expired