public class RPEconomyAPI extends Object
| Constructor and Description |
|---|
RPEconomyAPI() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getRegionValue(Region region)
Get the region value based on blocks, chests, itens inside chests and item enchantements inside chests too.
|
static boolean |
SellRegion(Region region,
String owner,
long value)
Put a region to sell.
|
public static boolean SellRegion(Region region, String owner, long value)
region - - Region to sell.owner - - Owner of the region;value - - Value to sell this region;true if successfull sell flag. false if theres an error on sell the region and the money will return to player.public static long getRegionValue(Region region)
region - - Region to get value.Long value of the region.Copyright © 2021. All rights reserved.