AreaShop
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Usage and configuration: ►Download (releases) ►Commands and Permissions
____ ►Basic regions setup_ ►Advanced regions setup_ ►Configuration files
Advanced features: ►Save/restore region blocks_ ►Change the language_ ►Limitgroups
Troubleshooting: ►Frequently Asked Questions_ ►Common errors
Support: ►Ask question / request feature / report bug_ ►Planned features_ ►Open bugs
Development: ►Changelog_ ►Compiling_ ►Modules, packages and classes overview
Connections: ►GitHub_ ►Spigot Resources_
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
This plugin is for giving players the option to rent or buy a region. It could be used to let them rent a jail in your Prison server or maybe a shop in the market of the Survival server. The player interacts with signs, making it easy to use. It also has a lot of commands to check the status of all regions, manage the renting and buying of a region and also features for admins. Also the plugin is capable of saving the region and restoring it later, this is very flexible and can be set general and per region, check the config for more information.
All features in a list:
- Rent and sell regions to players + Players can resell their bought regions to other players
- Signs for easy interacting and current status
- Change the language of the plugin or use of of the already provided language files (check here for supported languages, these are already packed with the plugin, just change the language setting in the config).
- Automatically let the plugin restore the region with schematics
- Change which commands players can use with permissions
- Customize the plugin by changing the config
- Automatically place the region name on the sign if it is placed inside a region
- Teleport to rent/buy regions and optionally set the teleport location (teleporting is safe and within the region)
- Adding friends to regions (which also can teleport then)
- Automatic unrent/sell for regions of which the owner is offline for a certain time
- Warning to players when their rent is about to run out (at login and while they are online)
- Group system to set options for a couple of regions instead of all of them.
- All heavy tasks are spread over time (each tick a part is executed until done), so the plugin should not cause any lag.
- Rent/buy limits can be different per permission node (player group), world or group of regions (possible situation: Normal players can buy 1 market region in survival + 1 build region in survival and 2 plots in creative, while VIPs have double limits for all those), check this example.
- Supports name changes because of saving player info by UUID, for more details check the FAQ entry: What happens when a player changes his name?
You need to have WorldEdit, WorldGuard and Vault installed on your server, WorldGuard is used for creating and managing regions, WorldEdit for the saving and restoring the blocks in regions and Vault is used to let players pay for the regions.
Preview
For a preview join 'mc.go-craft.com' and go to the Survival server, the shops around the spawn use AreaShop.
Tutorial & Feature overview (AreaShop V2.0.1)
Made by Koz4Christ
Prison cell setup tutorial (AreaShop V2.1.0)
Made by PerkulatorTime
Old video for AreaShop v1.0: Tutorial by VariationVault
Requirements and installing
Requirements:
- Server software: Bukkit 1.7.9 or higher, Spigot 1.7.9+ or higher
- Java 7 or higher (latest recommended)
- WorldGuard 5.9 or higher (6.0+ recommended)
- WorldEdit 5.6.3 or higher (6.0+ recommended)
- Vault 1.4.1 or higher
- An economy plugin supported by Vault (check the Vault page for a list of supported plugins)
When you have installed AreaShop, have correct server software and all required plugins installed (and the correct versions of them) you can startup your server. After that you can edit the config.yml and default.yml file of AreaShop to your liking and after that you use '/as reload' to reload the configs. Then you can start by setting up regions and adding them to AreaShop.
Notification for new versions
To enable email notifications for new versions of this plugin follow these steps:
- Login to dev.bukkit.org
- Go to the 'Subscriptions' tab Link
- Tick the checkbox for 'File updates'
- Confirm your choice
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier, the server's version of Java, whether the server is in offline or online mode, the plugin's version, the server's version, the OS version/name and architecture, the core count for the CPU, the number of players online, the Metrics version.
This information will give me an indication about how much the plugin is used and encourages me to continue development. Opting out of this service can be done by setting 'sendStats' in the config of this plugin to 'false', if you want to disable Metrics for any plugin go to plugins/Plugin Metrics/config.yml and change 'opt-out' to 'true'. Check graphs of the statistics at this page: mcstats.org/plugin/AreaShop
Do you want to translate AreaShop?
Help translating the plugin into different languages and to keep the translations up to date. Go to this page for more information. Translating goes through the Transifex website and is very easy, sending files back and forth is not needed, you can translate lines online and whenever you want. Every line you translate will be saved, no need to do it all at once (this also allows for easy collaboration).

-
View User Profile
-
Send Message
Posted Feb 5, 2016@8BitApple
In the 'flagProfiles' section of the config file of AreaShop you can add a new line below the greeting lines, with the same indentation. Everything with that indentation is simply a WorldGuard flag and its value. So you can all a line with the following to deny entry to all people that are not an owner or member of the region:
Let me know if that solves your problem.
-
View User Profile
-
Send Message
Posted Jan 31, 2016@nlthijs48
I seem to be stuck on the same problem. I want it so that you can only enter this region if you have rented it. I get that you have to include "deny g:non_members", but I'm not sure I understand the format it has to be used in. Could you possibly give an example of it? I tried doing, "/rg flag (region name) interact deny g:non_members", but it just comes back with an error message exclaiming, "Expected none/allow/deny but got 'deny g:non_members'". I believe I misunderstood you when you gave @heknt90 the directions on how to do it. Could you please help me? Thanks.
Update: I now realize, (or at least I think) that it is to be done from the config, but I still don't know how or where to put it. Do I get rid of 'default'? Do I press enter and make a new line? Sorry if it is obvious, I'm new to all of this.
-
View User Profile
-
Send Message
Posted Jan 28, 2016@jwpwns
Check this FAQ item.
-
View User Profile
-
Send Message
Posted Jan 27, 2016How do you remove the message when someone walks into the shop for example REGIOn iis rented by user until time
-
View User Profile
-
Send Message
Posted Jan 26, 2016@nlthijs48
damn it, this solution was a lot easier than what i did well it works. i'll keep it in mind for the next time
thank you and heknt90 for the answers
-
View User Profile
-
Send Message
Posted Jan 26, 2016@heknt90
Yes, that is the main purpose of AreaShop. I'm not sure if you want to let players sell the regions themself, but if that is the case then the landlord system might be what you need, check '/as setlandlord'. If you need any help let me know.
@silentspectr
In the 'flagProfiles' section you can add the flags to only work for owners and members. You can add these for your situation I think:
Let me know if that fixes your situation.
-
View User Profile
-
Send Message
Posted Jan 25, 2016@silentspectr
set "setpriority" highter than priority main region for buyable territory
-
View User Profile
-
Send Message
Posted Jan 25, 2016Hi So i found some problems:
Players can't place blocks in an area they just bought and also everyone can open a chest. i know that is because of the "build" and "chest-access" flags from worldguard but i need them on the rest of the server. do i need to configure each region with a special flag from worldguard ? i tought areashop did this on his own.
Second problem: i'm OP and admin and i don't have permissions to buy or rent a region but all the other players can. WTF xD EDIT: apparently this second problem comes from my player file. the other admin has access
-
View User Profile
-
Send Message
Posted Jan 24, 2016Is fit a plugin for sale regions players? If it fit, how to config them for it?
-
View User Profile
-
Send Message
Posted Jan 21, 2016@King_Of_Madness
Nice that your problem is solved after all, I could not reply for a while, but it looks like Androkai did a good job helping you :)
@Greenman1805
Check your 'flagProfiles' section in the 'config.yml' file, it should have the '%friendsuuid%' variable after the 'members:' line for the rented, bought and resale states. You can compare it to the default config. Also check with '/as info region <regionname>' or by left clicking the sign that it lists the friend, if it does not then the friend is not added correctly for some reason.
Let me know if that helps.
-
View User Profile
-
Send Message
Posted Jan 20, 2016SOLVEDMy global region was conflicting with ALL of my other regions. I had "build deny", "block-place deny", and "block-break deny" flags set in my globalregion. Once I removed those and set up a permission group in the members flag for global, my issue was fixed! Thanks for all the help and support through it all...I REALLY appreciate it all!
-
View User Profile
-
Send Message
Posted Jan 20, 2016@Androkai
For some reason when I create a region players can still build in it. This forces me to add "build deny", "block_place deny", and "block_break" flags to my region. When I add these flags to the region it pretty much breaks AreaShop.
How do I make it so when I create a region it automatically prevents non owners/members from building in the region?
-
View User Profile
-
Send Message
Posted Jan 17, 2016@King_Of_Madness
Do this :)
I tested the usage of priorities today and it worked very well. It comes with no build-flags set and only owners and members are able to build like you wish. If you haven`t any reason to set build-flag to deny for your town-region I suggest you to reduce your flags because by default only owners/members can build inside defined regions → define a town-region protect the area, no flags needed.
-
View User Profile
-
Send Message
Posted Jan 16, 2016@Androkai
I was hoping to get the author to respond. So they could hopefully help me solve my issue
-
View User Profile
-
Send Message
Posted Jan 16, 2016@Greenman1805
in plugins/AreaShop/config.yml change:
to this:
Edit: Why do you completely change your comment?
It could be a wrong configured part of "flagProfiles" in your AreaShop-config (missing %friendsuuid% at members) or maybe you have to overlapping regions like a region in a bigger town-region and need to increase priority for or set parent of the region to town-region.
-
View User Profile
-
Send Message
Posted Jan 16, 2016When a player uses /as addfriend to add a friend to a region, it says it works, but the player can't build on this region.
-
View User Profile
-
Send Message
Posted Jan 16, 2016@King_Of_Madness
Oh, sorry. The region "plot_1rc" looks good. Members should be able to build, guests not. If you send me your address I will show what I can do.
Edit: alternate solution: completely remove all anti-build flags from booth regions.
-
View User Profile
-
Send Message
Posted Jan 16, 2016@King_Of_Madness
I posted both regions yml in my last post. Click on the two bottom links.
There should be 4 links total there.
-
View User Profile
-
Send Message
Posted Jan 16, 2016@King_Of_Madness
Thx for the configs but I need this one: /plugins/WorldGuard/worlds/<WORLD>/regions.yml
If possible only the part for your 2 regions, the big one (something like "town") and one who is bought thru AreaShop (something like "region1). The region1-part is interesting before and after you or a other player bought it.
edit:
block-place and block-break are included in build but this is only for beauty
edit2: alternative solution is using parent/child-system of WorldGuard. I use it on my server but it needs some configuration for your regions if you want to change to it.
-
View User Profile
-
Send Message
Posted Jan 16, 2016Here are the passed configuration files for both. Sorry the link is broken in my last post.
http://dev.bukkit.org/paste/14101/
http://dev.bukkit.org/paste/14100/
I always restart my server after I change the configuration file.
Here are the two Region's info
http://dev.bukkit.org/paste/14103/
http://dev.bukkit.org/paste/14102/