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 Dec 2, 2014@nlthijs48
Everything is working now ty for your help and your amazing plugin !
-
View User Profile
-
Send Message
Posted Dec 2, 2014@Mrmajesticsandwich
Great that you like the plugin :D
There is a small Donate button at the top right of this page that is linked to my PayPal, so I already have that (I will not be adding any big banners to ask for donations).
I don't think the 'allow only certain block[s place] in the region' is in WorldGuard, but maybe this plugin would work (is kind of old, but may still work).
@Awsmpossum1313
Cool, if you have any questions/suggestions just ask it :)
General note:
Rewrite of the '/as info' command almost done (need to test it a bit),committed the part for rent region to Github already. Also a rewrite of the method that sets the WorldGuard region flags is done (already committed yesterday), now supports adding groups as members/owners and also specifying groups for flags like entry/exit (allows you to let only members of a region enter it for example).
Edit: Current state of the '/as info region <region>' command for rent regions:
These are almost all things that could show there, some lines will not show up when based on config options (extending, in advance renting, restoring), some don't show up if empty (friends, signs) and some don't show up based on permissions (groups, teleport location, restoring).
-
View User Profile
-
Send Message
Posted Dec 2, 2014Yay! Using this and replacing Simple Region Market that seems to have been abandoned and wont work 1.8 full version of spigot. :) Thank you!
-
View User Profile
-
Send Message
Posted Dec 2, 2014@nlthijs48 Thanks SOOO much. Great plugin btw, you should add a donation link on bukkit! also a good feature would be to only allow certain block in the region (but it's probably already in worldguard. to lazy to check :D)
-
View User Profile
-
Send Message
Posted Dec 2, 2014@mcsorley
I answered your ticket, just build a new Spigot version and it should all be solved (and use version 6.0+ of WorldGuard and WorldEdit). It is caused by a known and fixed Spigot bug #6.
@Mrmajesticsandwich
You are using version 5.9 of WorldGuard, but AreaShop v2.0.2 requires version 6.0+, just download the latest version of WorldGuard and then it should work (also check if you have WorldEdit 6.0+).
-
View User Profile
-
Send Message
Posted Dec 1, 2014I currently have the latest of all including spigot (as of the DCMA thing, I couldn't find a later version. i currently have what i believe to be the latest 1.7.10 version) this is from the error log (note: when I use the command for it it says an internal error occured): http://pastebin.com/FTW2wgML
-
View User Profile
-
Send Message
Posted Dec 1, 2014I opened a ticket finally I tried to compile Spigot and I even try with a release found already compiled, I have the same problem. I also tried with WorldGuard 5.9 and it does not work. I delete the folder and AreaShop configs are recreated but it does not want to work
-
View User Profile
-
Send Message
Posted Dec 1, 2014@mcsorley
I think you have the trouble that I described in the 'general note' in my last message, try building a new version of Spigot and see if the problem stops. Is part of the message in chat you get from AreaShop in black color? Because then I'm quite certain you have that problem. Also check your console for errors, maybe there is something else wrong.
I don't know the problem with the ticket section, it worked before and I did not change anything about it. Does it say that you don't have access to it or something else?
-
View User Profile
-
Send Message
Posted Dec 1, 2014Hello thank you for this plugin I will replace srm, I wanted to use the ticket section, but it is not accesible, so I will use this section. I Spigot 6 and 1.8 WorldGuard WorldEdit and Vault 1.4 When I try to make a sign to sell an area I always have a message that says that the region does not exsiste. I also try to put the sign in the area for the plugin automatically detects and got the same message.
-
View User Profile
-
Send Message
Posted Dec 1, 2014@Mrmajesticsandwich
What versions of AreaShop Bukkit/Spigot and all required plugins (WorldGuard, WorldEdit, Vault) are you using? If you send me the error by using pastebin.com I can probably see the problem directly.
General note:
If you have build Spigot 1.8 close after the release then adding regions to AreaShop by using signs will be broken (basically a random black color code was always in front of sign line, so AreaShop would not detect the values on the signs correctly, a lot of plugins had the same issue). It was a bug of Spigot that already has been fixed now, so the only thing you need to do is building Spigot again, then you will have a build without the bug.
-
View User Profile
-
Send Message
Posted Nov 30, 2014hi, im getting an error when i make a sign of any kind or use region commands, it deosnt create it. it gives me a huge random chat code of java erros
-
View User Profile
-
Send Message
Posted Nov 29, 2014@Guble
Giving an ETA is hard, partly because I don't know how much time I will have and also because I need to do quite some things just to actually release (write changelog, update languages, update documentation).
I just added the '/as addfriend' command, the '/as delfriend' command is easy now. After that I still need to change the region flag handling, because currently friends are not added to the region yet. I also want to rework the '/as info region' command to also show which friends are added and show the new 'resell' status of a buy region.
I may be able to release on monday, but I'm not sure if I need to wait on more translations yet. The German language is updated nice and fast by Androkai (Thanks!), but the French and Polish one are not fully done, and the Dutch one I can do myself but takes some time. I don't think I really want to wait for a week for languages to update though, then I can better bring out a small update after the main one it to update those.
-
View User Profile
-
Send Message
Posted Nov 29, 2014@nlthijs48
Do you have a rough ETA on the adding friends feature/release? Looking forward to the new version and glad to hear it works with 1.8!
-
View User Profile
-
Send Message
Posted Nov 29, 2014@scuroK
@EpiXSim0n
When Spigot 1.8 came out I compiled it directly and tested it, AreaShop v2.0.2 works fine on Spigot 1.8, and probably all other versions of AreaShop to. You can assume the plugin just works on new versions, normally it only breaks when they make breaking changes to the API. For 1.8 they just added some things to the API but did not need to make any changes to the existing API, so that caused no trouble at all for the plugin.
Of course making a backup of your server before upgrading is very important, not only because the slight risk that AreaShop breaks, but also for potential problems of all other plugins and problems with the current Spigot build.
-
View User Profile
-
Send Message
Posted Nov 29, 2014@scuroK
Would be awesome =)
-
View User Profile
-
Send Message
Posted Nov 28, 2014Spigot 1.8 is here. could you update? <3
-
View User Profile
-
Send Message
Posted Nov 28, 2014@Guble
It took a while but at least it is added now :)
The first item on my Planned Features list will not be completed for the next update, if/when I do that I would like to think about it carefully and implement it in a way that is flexible and useful (it already is a detailed feature that just some people are going to use, so I need to make it is as useful as possible). Adding friends to you region is something I already started working on (made the internal methods and defined the permissions) and that is something I want to finish before the release.
@wonderdude73
Thanks! Selling/unrenting regions for inactive players is indeed already added to the plugin. I'm not going to add a special command to stop the inactive player autoselling, but you can make it easy to shut off for certain regions. If you add the region you don't want autoselling for to a group with the command '/as groupadd <group> [region]' then you can set the 'inactiveTimeUntilSell' value of this group to -1 to disable autoselling. And once you did that you can simply add this group to all regions you don't want autoselling. That way you can do it relatively easy, but the downside is that it is not bound to players, but instead to certain regions (You could also run the '/as groupdel <group> [region]' command at the unrent/sell event to get rid of the invunerability to prevent problems with players that rent/buy the same region after the original player stopped using it). All players that have OP are not affected by the way, that is something I can check while they are offline.
A couple of hours ago when Spigot 1.8 released I compiled it and tested it on my local server, so far no problems at all. The signs can be JSON internally now, but the API of Bukkit and Spigot still has the same methods and do the conversion for you if that is needed. If they would require JSON strings with the API now then a lot of plugins would break, and that is something an API is for to prevent.
I will try to get some more work done this evening, hoping to at least get the addfriend and delfriend commands up and running.
-
View User Profile
-
Send Message
Posted Nov 28, 2014Amazing plugin!
Been trying to accomplish an autosell script (when a player was offline for 2 weeks) by myself for quite a while. But it seems like you already have it ready for the next version.
Since as you mention you can't use permissions to make an exception for special players.
Could you make a list? and a command ./as exception add/remove <player.name>? adding them a list. If they are on the list, it won't auto-sell their property.? Just an idea :)
Also it isn't compatible with 1.8 I believe it has something to do with the signs now has to be JSON.
Anyhow. I can't wait for the update! Great job! Glad to see you're still active, this is the plugin my server depends most on :P
-
View User Profile
-
Send Message
Posted Nov 26, 2014@nlthijs48
Yay! Great to see this feature finally added!
Will you be waiting for the Adding other players to the regions you rented/bought and A way to let players create regions and signs themselves features before releasing the next version?
-
View User Profile
-
Send Message
Posted Nov 25, 2014@tk11
I added a tag to get the name of the 'player that clicks the sign', now you can use %clicker% to get the name of the person that clicks the sign. That way the tellraw message can be send to the players that clicks instead of only to the one renting the region.
Pushing to the repo is definitely better, I just was not into that kind of workflow, but now I am and I like it. The extra backup is not too much of a use for me, I also have it automatically uploading to MEGA :)