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 12, 2015As i understand, it is not possible to implement that only vip users can buy certain regions, because areashop.buy permission includes ability to use the sign and to use it via command?
-
View User Profile
-
Send Message
Posted Mar 12, 2015@nlthijs48
Thanks a lot! Works perfect!
-
View User Profile
-
Send Message
Posted Mar 12, 2015hey how can I let player to create rent sign for his own WG region?
-
View User Profile
-
Send Message
Posted Mar 11, 2015@EnderdragonDotDe
It should already do that by default, check the 'flagProfiles' section in the config.yml file to see how you have it configured currently and change it if needed.
@Chibibis
Yes, check the 'flagProfiles' section in the config.yml file, you can simply add a line starting with 'owner' and move the '%uuid%' variable to that line. Let me know if you cannot figure it out.
Edit: Changed my reference to the variable that has to be moved, using %uuid% already for a while in the flagProfiles section instead of %player% to support name changing.
-
View User Profile
-
Send Message
Posted Mar 11, 2015General Note:
As far as I can tell AreaShop works fine with Spigot 1.8.3, but I don't know yet how stable this version of Spigot is currently, that is something you have to test and judge yourself. If you are using the schematic restore feature of AreaShop then I recommend waiting to update to 1.8.3 because WorldEdit does not support 1.8.3 yet (a dev build is out but use that one at own risk), and therefore chest, signs, etc. will not be saved and restored correctly (will be empty).
-
View User Profile
-
Send Message
Posted Mar 10, 2015Hello! Thanks for awesome plugin! I have one question: when i buy a region through the sign, i become a member of it. Is it possible to become an owner instead of member after buying?
-
View User Profile
-
Send Message
Posted Mar 9, 2015Is ist possible that /as addfriend adds the player as a member, not as an owner?
-
View User Profile
-
Send Message
Posted Mar 9, 2015@Freymuth
If the API did not change then AreaShop should work correctly on the 1.8.3 version, however I did not test this myself yet. You could just try using it on a test server (at least NOT a live one) and see what it does. As far as I know there are some plugins breaking with 1.8.3, but I do not expect AreaShop to be one of those.
If you have an actual error report about AreaShop in combination with 1.8.3 then I would like to hear that, just create a ticket and provide the error there.
-
View User Profile
-
Send Message
Posted Mar 9, 2015update to 1.8.3 please
-
View User Profile
-
Send Message
Posted Mar 9, 2015@DiamondDan1
You can just use the latest version of AreaShop (currently V2.1.5), because I still support Bukkit 1.7.9+. On this page the file list on the right only shows the highest version I added to them (1.8.1), but if you go to the page of the file then you can see it is also tagged for 1.8 and 1.7.9. Because I can add a maximum of 3 versions and because 1.7.10 is basically the same as 1.7.9 I did not tag files for that.
-
View User Profile
-
Send Message
Posted Mar 8, 2015I've been using AreaShop for a couple months now and when I converted from Bukkit to Spigot, I've been wanting to use the AreaShop 2.1.0 version or later of AreaShop. What would be the recommended version of AreaShop if my server was using this version?
Currently Running: Spigot 1.7.10-R0.1
If you need anymore information, let me know. :D
-
View User Profile
-
Send Message
Posted Mar 6, 2015@mahnig
It looks like your config file did not load correctly or that you have set your sign tag of rent regions to nothing. You could regenerate your config and see if that helps.
If that does not work then please create a ticket and provide all requested information.
-
View User Profile
-
Send Message
Posted Mar 5, 2015I use the newest version for AS and WG if i place a Sign(in a define area) with:
[rent]
test
1m
10€
but i get a error in my console like this
http://pastebin.com/HydrBbpJ
Any Idea ?
-
View User Profile
-
Send Message
Posted Mar 5, 2015Sorry for the (kind of) late replies, busy with finishing my study until summer.
@NoHoPeLess
Thanks for the info. I don't know what is causing this yet, I will try to make a build for you that displays some more debug info about it, then I can see if the error is somewhere in AreaShop or that the bug is caused by the playerdata returned by Bukkit/Spigot. On my own server I'm using this feature without problems so far, so I cannot reproduce this problem yet.
I will send you a private message when I get something to test for you.
@Xayges
Which version of WorldEdit are you using? I recommend using the latest version of that as well. This is something about WorldGuard/WorldEdit and not really AreaShop, you could also try to test this problem by creating a new region, adding someone as member/owner and then try to let them place blocks. AreaShop does not change how WorldGuard works, it just sets the correct flags for WorldGuard regions.
@FlipxOut
You can enable the schematics feature of AreaShop to automatically restore the region to a previous state, that would wipe out the chestshops and Essentials signs. It works by saving the region to a .schematic like WorldEdit makes those, and then restoring that schematic later. Check this page for info about how to enable it.
@frizzbee30
The option is already there since AreaShop V1.1 :D
-
View User Profile
-
Send Message
Posted Mar 5, 2015@FlipxOut
There is the option to reset back to an empty shop now? although I've not tried it.
-
View User Profile
-
Send Message
Posted Mar 4, 2015i noticed that when rent is due and not paid, the shops become available for purchase, but peoples essentials sign shops/chestshop shops do not go away. is there any plugin which works well with this one where they will lose their chests/signs due to inactivity or lack of paid rent?
-
View User Profile
-
Send Message
Posted Mar 2, 2015@nlthijs48
Thanks for the prompt reply. However, my worldguard has already been updated to the absolute latest update (worldguard 6.0 beta 5). Problem still persists...
I'm using the newest version of areashop as well
-
View User Profile
-
Send Message
Posted Mar 2, 2015@nlthijs48
Dont know...
he didnt change his name, he played for the first time on the server, yes is caused while he is only...
BungeCord is in Online mode and IP-Forward is set to true in the config.
I have for an emergency "bug-fix" the time set to -1 ... but this option to auto delete is so amazing.. :(
-
View User Profile
-
Send Message
Posted Mar 2, 2015@NoHoPeLess
I'm not sure what caused it, the only reason I can think of AreaShop did that is because it could not get the player by the UUID it saved, which will cause the 'lastTimePlayed' value of the player to be 0, which means somewhere in 1970, which causes the region to unrent/sell for sure (unless disabled).
Did the player change his name? And was he online while it happened or not? Is your BungeeCord proxy online or offline (setting in bungee config)? Are you using Spigot plus the 'ip-forward: true' setting?
-
View User Profile
-
Send Message
Posted Mar 2, 2015We use: -AreaShop V2.1.5 -WG 5.9
Yes its Offline Mode because we use bungee