alex9849 / advanced-region-market

A Bukkit/Spigot plugin for renting/selling WorldGuard regions
https://www.spigotmc.org/resources/advancedregionmarket.58732/
69 stars 44 forks source link

Allow BUY/SELL regions to have their price set via command #36

Closed Technofied closed 3 years ago

Technofied commented 4 years ago

Reason: Currently rent regions are able to have their prices set via /arm setprice, but we cannot do the same for any buy/sell region without making a sign to create and define the price.

Proposal: Be able to run this command to set a region's price - /arm setprice regionname price

alex9849 commented 3 years ago

The setprice command can also be used to set prices for other region-types. You always have to specify a full rent-price (including extendtime and maxrenttime) The additional arguments will be ignored if the sell-type of the region doesn't need the additional information. The additional data is required because you can theoretically change the price for multiple regions (regionkinds) at once and you may have multiple regions with different sell-types in one regionkind)