BuyRegion
As BukkitDev staff have left the team I am no longer updating the plugin on here, Please visit the discussion on Spigot, I will move all updates and information over soon - If plugin releases start to get accepted I will think about moving over downloads back to bukkit - As for other plugins you can view my uploads here

Allows you to create signs which can be used to buy or rent WorldGuard regions. The plugin works with all Vault supported economy systems as it requires Vault for economy support.
Please create a ticket for problems else they get lost in the comments.
Plugin work and update
I have pushed build 1.1.7 out (Pending to be released) to squat bugs and fix anything that appears, The plugin has been tested on a spigot / bukkit 1.7.8 build and is working successful with no errors. Please report anything you get into the comments so we can go through and fix these problems together :)
PS: Try and use pastebin when pasting a error
UUID's:
A UUID safe build will be released soon along with bug fixes when some are found.
Installation
- Put BuyRegion.jar in your plugins directory.
- Do a /reload to reload your plugins.
- Configure your permissions if needed.
- Enjoy!
Permissions
- buyregion.create - allows the creation of [BuyRegion] and [RentRegion] signs.
- buyregion.admin - allows usage of admin commands.
- buyregion.exempt - allows player to bypass BuyRegionMax
- buyregion.buy - allows player to buy a region (if config requires)
- buyregion.rent - allows player to rent a region (if config requires)
(note: OPs have all nodes)
Usage
Create a BuyRegion Sign
- : [BuyRegion]
- : <regionname>
- : <price>
- : unused/any
Example Sign
- [BuyRegion]
- epic_store
- 200
The previous would make a sign that would sell region 'epic_store' for '200' of your economy currency.
Create a RentRegion Sign
- : [RentRegion]
- : <regionname>
- : <price>
- : <timespan>
Example Sign
- [RentRegion]
- epic_store
- 200
- 7 days
The previous would make a sign that would rent region 'epic_store' for '200' of your economy currency for 7 days. Once rented properties expire, the region is automatically put back up for rent. If the renter has auto-renew turned on, the property will be renewed to them if they have the available money. See notes for information about sign replacement.
Buy a Region
- The player must enter buy mode by typing /buyregion
- The player must right-click a BuyRegion sign.
(note: if the player right-clicks a BuyRegion sign while not in buy mode, they will be prompted to enter buy mode.)
(note: if RequireBuyMode is set to false the player will not be required to enter buy mode before buying or renting a region.)
Rent a Region
- Same as buying a region, see above.
Player Commands
- /buyregion - toggles buy mode
- /buyregion renew <region> - renews rental on <region>
- /buyregion autorenew - shows current autorenew status
- /buyregion autorenew <true/false> - sets auto-renew for all of the player's rentals
- /buyregion help - shows help screen
Admin Commands
- /buyregion buycheck <player> - checks total bought regions for <player>
- /buyregion rentcheck <player> - checks total rented regions for <player>
- /buyregion buyset <player> <amount> - sets total bought regions for <player>
- /buyregion rentset <player> <amount> - sets total rented regions for <player>
- /buyregion buymax - displays current BuyRegionMax
- /buyregion buymax <amount> - sets BuyRegionMax
- /buyregion rentmax - displays current RentRegionMax
- /buyregion rentmax <amount> - sets RentRegionMax
- /buyregion buymode - shows the current RequireBuyMode setting
- /buyregion buymode <true/false> - sets RequireBuyMode
- /buyregion buyperms - shows the current RequireBuyPerms setting
- /buyregion buyperms <true/false> - sets RequireBuyPerms
- /buyregion rentperms - shows the current RequireRentPerms setting
- /buyregion rentperms <true/false> - sets RequireRentPerms
- /buyregion evict <region> - performs an eviction on <region>
- /buyregion help - shows all commands
(note: Setting BuyRegionMax or RentRegionMax to 0 makes it unlimited)
Timespans
Timespan Examples
- 1 day
- 15 secs
- 20 mins
- 5 h
Accepted Time Values
- Seconds: s, sec, secs, second, seconds
- Minutes: m, min, mins, minute, minutes
- Hours: h, hour, hours
- Days: d, day, days
Config Options
- BuyRegionMax - max regions a player can buy with BuyRegion
- RentRegionMax - max regions a player can rent with BuyRegion
- CheckExpirationsInMins - how often to check for expired rented regions IN MINUTES
- RequireBuyMode - is buy mode required to be on to use buy/rent signs? Recommended: true
- RequireBuyPerms - require the player to have buyregion.buy to buy a region
- RequireRentPerms - require the player to have buyregion.rent to rent a region
- DateFormat - Sets the date format - Accepted Values: Default, US, EU
Date Formats
- Default - year/month/day
- US - month/day/year
- EU - day/month/year
Message Configuration
- All messages that are sent to a player can be changed by editing your config.yml in the 'Messages' section.
- Between the name of the field and the contents you should be able to figure out which is which.
- Sentences that seem to just end will probably have the value placed there.. consider this when making changes.
- No admin messages can be changed... would be a lot of work on my end for nothing.
Notes
- Auto-renew is defaulted to OFF for all players. They will only need to turn it on once, however.
- Only use 1 [RentRegion] sign per rentable region. For performance reasons it does not properly support multiple signs per region. It will let you create them, but it will probably lead to strange behavior. This applies to [BuyRegion] signs also.
- I would recommend trying to avoid original RentRegion signs being destroyed.. the replacement of them is still a little sketchy for positioning. I do plan to look at this but was trying to get a release out with the renting for all the people currently dead in the water from that other plugin going inactive.
- The CheckExpirationsInMins config setting can accept decimals.. so 0.05 = 3 seconds for instance. Although I wouldn't recommend going less than 0.5 for that setting. With a lot of rented regions it could be a taxing operation. Best left to 5+ minutes for average servers that rent things for days, and not minutes or seconds.
- I didn't bother making the signs indestructible as the idea is to place it inside the already defined protected region.. which would typically make it unbreakable anyways. Furthermore, for performance reasons I'm trying very hard to avoid hooking the block break event.
-
View User Profile
-
Send Message
Posted Oct 2, 2012So please add a warp function you will be teleported to the purchase immediately
-
View User Profile
-
Send Message
Posted Sep 26, 2012ugh!
-
View User Profile
-
Send Message
Posted Sep 22, 2012if i doesent want a region anymore ?
can i sell it again ? as user ?
-
View User Profile
-
Send Message
Posted Sep 22, 2012Is it possible that when a user buys/rents a region he can also allow it that his friend can build ont he plot/region aswell?
-
View User Profile
-
Send Message
Posted Sep 19, 2012One quick question. I'm using some rentable regions but when they expire nothing happens and the sign stays and it won't allow anyone else to actually rent the area. Do I have to personally evict each and every person once they expire or am I missing something in the config/options?
-
View User Profile
-
Send Message
Posted Sep 13, 2012My users do not receive money from your parcel previously have to rent / sell. Why is that? I'm missing something?
-
View User Profile
-
Send Message
Posted Sep 12, 2012Does this plugin prevents any griefing? If yes, imma use it, and what LordKainzo says, its a great idea to add friends to build in their plots.
Last thing, if the player wants to disown his plot, does he needs to do the evict command (Does evict erase the plot?)? Or clearing plot, but keeping the ownership.
Thanks and have a nice day ;)
-
View User Profile
-
Send Message
Posted Sep 9, 2012Is there a way for users to add other members to the rented region they purchased?
-
View User Profile
-
Send Message
Posted Sep 9, 2012How do you sell regions if you have bought one?
-
View User Profile
-
Send Message
Posted Sep 9, 2012Is it possible to add a automatic clean option?
So when the player has 1 day left it get's a message prompt saying you have 1 day left please clean youre store before the time expires and when it's done the plugin cleares the region from any items so another person can start clean
-
View User Profile
-
Send Message
Posted Sep 6, 2012For some reason when someone rents a region, it says when I do the time span as 14 days, it makes it so the region is rented up to a date in December of 2021. Not sure why this happens.
Sure I'm messing something up. Anyone know how to fix this?
Thanks!
-Waffle
-
View User Profile
-
Send Message
Posted Sep 6, 2012== please update it to 1.3.1-r2 ==
-
View User Profile
-
Send Message
Posted Sep 5, 2012This plugin is great. Thanks for your help :D
-
View User Profile
-
Send Message
Posted Aug 31, 2012The time has come where I have to say that this plugin is feature complete. I will not be adding anything extra to this plugin. I will do bug fixes as I use this plugin on my own server, but no more features will be added. My decision in this matter is based on a few things.. Primarily it is because I do not have the time to needlessly expand it as I'm involved in several custom plugins which are in use on my server.
Take care, -JD
-
View User Profile
-
Send Message
Posted Aug 30, 2012@JDigital1337
Exactly! I think that shouldn't be automatically but configurable in config. Admin should be able to choose that players can be owners or members of region.
-
View User Profile
-
Send Message
Posted Aug 29, 2012Hello again.
I've tested BuyRegion with an economy plugin called GoldIsMoney ( http://dev.bukkit.org/server-mods/goldismoney/ ) and seems something happens when I try to buy/sell a plot. This economy plugin just make the gold balance linked with your inventory and it's based in how many nuggets, gold bars and gold blocks you have in inventory.
My question in: why SEVERE error happens and is there a way to solve this?
(I think it's because the money is something material this time. But the plugin GoldIsMoney tells that "if a player has a shop and is offline and then someone buy something from the shop, the player recives the money in his next login and if he has no space in inventory, as soon as an inventory slot is free, the money will appear". Both plugins require Vault, so they are linked)
Thanks =)
P.S.: sorry for ask such thing... but this plugin + BuyRegion for RPG sistem would be marvelous!!
-
View User Profile
-
Send Message
Posted Aug 29, 2012@glaeken234
Renters are automatically put as members...
-
View User Profile
-
Send Message
Posted Aug 29, 2012I need one thing in this plugin!!! Could you make option in config to make player whose is renting region owner or member
-
View User Profile
-
Send Message
Posted Aug 25, 2012can you make a video on how to use the plugin
-
View User Profile
-
Send Message
Posted Aug 24, 2012Is there a way so that when a region is purchased or rented, that an actual player gets the money?