Major update to plugin config options to group together and have increased control over what happens when. (Below is an example of the new config.yml file and how they map to the old config values on the right. On update, the config.yml file values should be preserved. Please make a backup copy of your config.yml file before upgrading.
general:
regionPriority: 1 [buyland.landpriority]
configVersion: 2
buyland:
offlineLimit:
days: 30 [buyland.offlinelimitindays]
enable: true [buyland.offlinelimitenable]
checkMembers: false [new option see Ticket 63]
onCreate:
denyEntry: false [buyland.denyentrytoland]
greetMessage:
display: true [buyland.landgreeting]
erase: false [buyland.landgreetingerasemsg] (only available if display = false)
Add "Week" as a valid parameter to identify time periods.
Ticket 63 - Completed
Currently the region is sold back if the owner has not logged on for x days.
Extend the check to also include members of the region.
Allow config setting to disable additional member check
Ticket 62 - Fix bugs introduced in 0.8.5
/buyland list - command not recognizing buyland.list perm
Fixed: there was an incorrect additional permission requirement of buyland.buy
This would have also affected /buyland tp, /buyland addMemeber, /buyland removeMember as they had different permission requirements than buyland.buy
/rentland reset - command not working from console
Fixed: Now works from console
Negative number in rentdb.yml can cause issues
Fixed: Negative numbers are prevented from being placed in the db.yml and rentdb.yml files by the plugin.
Ticket 52 - Allow for a WorldGuard region flag set that will automatically be added or cleared when a region is created, rented, expired, purchased, or sold.
This will be implemented for the following actions:
buyland:
onCreate:
worldGuardFlags:
default: ' '
region_name: (example of flag usage for sample region)
snow-fall: allow (example of adding a flag)
ice-form: clear (example of clearing a flag)
onBuyFromBank:
onSaleToBank:
rentland:
onCreate:
onRentBegin:
onRentExtend:
onRentExpire:
Each of the default sections can be copied to a region specific version by creating a section under the worldGuardFlags named the same as the region in lower case: and including flags underneath that. See worldGuard wiki for the flags and names.
Ticket 11 - A command that let people show the "Top Players" with: owned lands, cash spent, rented lands
New Command:
/buyland top [Owners/Renters/CashSpent] (Player Qty)
The type is required and can be: Owners, Renters, or CashSpent
The Quantity to show is optional and defaults to: 10
buyland top owners will have an output similar to:
Top 10 region owners:
the_nut - 3 regions
chriztopia - 2 regions
buyland top renters will have an output similar to:
Top 10 region renters:
chriztopia - 3 regions
the_nut - 2 regions
buyland top cashSpent will have an output similar to:
Top 10 spenders on regions:
chriztopia - 165.32
the_nut - 163.17
The things tracked in the db.yml and rentdb.yml files have changed and are as follows:
old structure of db.yml and rentdb.yml files:the_nut:0New structure of db.yml:the_nut:own:3earned:170.0 (adds to this when player sells a region)spent:100.00 (adds to this when player buys a region)new structure of rentdb.yml:the_nut:renting:2earned:0.0 (not tracked, but for possible future use)spent:63.17 (adds to this when player rents a region)