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 Mar 19, 2016When a player is offline, and he is added as owner or member of a region, it sets the wrong uuid for him because my serveur allows cracked versions of minecraft. I suppose a fake uuid is created at a moment, I don't really understand what happens, but I simply decided to use the "name" flag of worldguard.
Ok thank you for the explanation. I won't ask you to work for this as it is only a small problem. I will use the uuids and suppose the players add their friends when they are online.
Edit : The "/as addfriend" doesn't work anymore, with the "n:" and without it @.@ I have the success message, and the friends are in he "/as info region", but when I do /rg info, there is nobody else than the owner
-
View User Profile
-
Send Message
Posted Mar 17, 2016@CreativeGuy888
The bottom part of this message (starting at @gavin511) also applies to your problem.
Enabling debug in the config might help you out to see where it goes wrong. If you do not manage to fix it please send me all your config files.
@Chinimala
Is there any reason you changed the flagProfiles to use names instead of UUIDs? The problem here is that the 'n:' thing does not work with the %friends% variable, since that varaible prints a comma-separated list of names. So in that case the first name would be correctly used, but names after that will incorrectly be tried to parse to a UUID, which fails. If there is any reason for using names over UUIDs then I might consider adding support for this, but I would suggest using UUIDs.
-
View User Profile
-
Send Message
Posted Mar 15, 2016@CreativeGuy888
Did you set "enableRestore" to true in your other file (default.yml) ?
-
View User Profile
-
Send Message
Posted Mar 15, 2016Hi again, I've got this error message when I try /as addfriend : "Tried using 'Chinimala' as uuid for a region owner, is your flagProfiles section correct?". My profile is : "owners: 'n:%player%, n:%friends%'".
-
View User Profile
-
Send Message
Posted Mar 14, 2016I'm having trouble with loading the schematics.
This is what I have schematicProfiles: default:
created:
save: '%region%'
restore: '%region%'
deleted:
save: ''
restore: '%region%'
rented:
save: '%region%'
restore: '%region%'
unrented:
save: ''
restore: '%region%'
bought:
save: '%region%'
restore: '%region%'
sold:
save: ''
restore: '%region%'
resell:
save: ''
restore: '%region%'
I want it to save region when I create it and when a player unrents or sells it, that it would revert back to the region when I created it.
Thanks for your time, ~ Creative.
-
View User Profile
-
Send Message
Posted Mar 11, 2016@Chinimala
Yeah you cannot really do that, signs are only for adding new WorldGuard regions to AreaShop and simply adding another information display.
Thanks :)
-
View User Profile
-
Send Message
Posted Mar 10, 2016I found that, I wanted to ask if they could resell without typing a command, like when you create an areashop region by placing a sign. But I understand it's not possible, it's okay :)
Thank you for your answers and good luck with your studies !
-
View User Profile
-
Send Message
Posted Mar 10, 2016@Chinimala
They can simply use the '/as resell' command. If you actually removed/disconnected the sign from AreaShop then it will stay gone. But if you have set all lines to empty for the 'sold' state in the sign profile of the config file then it would come back if reselling starts.
@TNTUP
Answered on Spigot, reason I cannot answer sooner is that I'm a busy student.
@MMIncYT
Questions there should be answered now, if you have not mentioned a certain issue yet then please contact me.
-
View User Profile
-
Send Message
Posted Mar 10, 2016A lot of people are having issues on Spigot...you should take a look
-
View User Profile
-
Send Message
Posted Mar 9, 2016Hey, I don't know if you check the spigot forums, I've posted something which it occurs on the latest version 2.2.2, Build #16 on CI causes when I reset plots, sometime players break the sign and when it places back (while resetting) it can do "" or null (kicked for malformed json). Take a look on the spigotforums, but sadly it doesn't throw out stacktraces ....
-
View User Profile
-
Send Message
Posted Mar 9, 2016Is there a way the players can resell their house by placing a sign (if the "sold" sign was removed) ?
NB : Thank you for your fix !!
-
View User Profile
-
Send Message
Posted Mar 7, 2016@Chinimala
I have fixed the problem for the upcoming version, for some reason WorldGuard does not give back child regions when asking for the regions of a certain location.
You can install the dev build from here to correct the problem if you still need it.
-
View User Profile
-
Send Message
Posted Mar 6, 2016I found that it works for buy signs but not for rent signs (so it doesn't bother me anymore).
Another thing : I put a blank sign for the "sold" sign, so it disappears when my players buy a region. Is there a way they can resell it by placing a sign (and not have to type a command) ? At the moment, if they try to put a "buy" sign, areashop says to them that it's a rentable region only (and I never put a rent sign).
-
View User Profile
-
Send Message
Posted Mar 5, 2016Here : http://puu.sh/nwcZC/3bbd6f5585.png
PS : I use AreaShop 2.2.1 and worldguard 6 (that I just updated)
-
View User Profile
-
Send Message
Posted Mar 5, 2016@Chinimala
Could you give me the output of '/region info hotel2we' and '/region info woodenearth'? Then I can try to recreate the situation and see if I have the same problem. AreaShop should use the priority and parent/child relations to determine the correct one, but apparently it does not work in your case.
-
View User Profile
-
Send Message
Posted Mar 5, 2016Hi, I got the "multiple regions" problem, and I would like that my players don't have to write the name of the region. I would like that the plugin finds the good region (with the higher priority), but it sends the error message: http://puu.sh/nwc0I/57f7bcf0db.png . Can you help me ?
-
View User Profile
-
Send Message
Posted Mar 5, 2016@IroN1979
@LaughNgamez
@frizzbee30
I have updated AreaShop to fix the small problems 1.9 introduced, basically only the Metrics stats collection and some minor tab completions were broken. The update still needs to be approved here at Bukkit, on Github and Spigot it can already be found though.
-
View User Profile
-
Send Message
Posted Mar 4, 2016[12:53:22 WARN]: Exception in thread "Craft Scheduler Thread - 22" [12:53:22 WARN]: org.apache.commons.lang.UnhandledException: Plugin AreaShop v2.2.1 generated an exception while executing task 27 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at nl.evolutioncoding.areashop.Metrics.postPlugin(Metrics.java:336) at nl.evolutioncoding.areashop.Metrics.access$4(Metrics.java:328) at nl.evolutioncoding.areashop.Metrics$1.run(Metrics.java:223) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
-
View User Profile
-
Send Message
Posted Mar 2, 2016@LaughNgamez
Seems to work fine with 1.9 on our test server? :)
-
View User Profile
-
Send Message
Posted Mar 1, 2016Hopefully we can get an update for 1.9