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 28, 2016if a player owns an area and they change there gamertag/username will they still own the area?
-
View User Profile
-
Send Message
Posted Dec 29, 2016Yes, AreaShop uses the UUID of the player to store who rented what. So changing your name through Mojang should simply update the name on the sign when the player logs into the server the next time.
-
View User Profile
-
Send Message
Posted Dec 23, 2016jioä
-
View User Profile
-
Send Message
Posted Dec 17, 2016Is there any chance to sell the region to other player not to the server-owner?
-
View User Profile
-
Send Message
Posted Dec 22, 2016If it is a buy region the player can use '/as resell' to put the region in resell mode, that allows other players to buy it from him. Rental region do not have a thing like that.
-
View User Profile
-
Send Message
Posted Dec 16, 2016I have done everything correctly but I can not create a shop! The sign does nothing! Please help / fix please!!!
-
View User Profile
-
Send Message
Posted Dec 16, 2016Nvm I fixed it now. I didnt type it correctly.
-
View User Profile
-
Send Message
Posted Dec 16, 2016Taxes to the bank account idea to this plugin would be great (like in plugin Region For Sale).
Don't you think to add this in the future?
-
View User Profile
-
Send Message
Posted Dec 17, 2016I answered your Github issue, it looks like everything you need is already possible.
-
View User Profile
-
Send Message
Posted Dec 5, 2016@nlthijs48
Hey, I've been using your plugin for a year now and it works like a charm, the only thing i have a little issue with is the plot reset function. the plots on my server are 512x512, each time the plot gets reset it crashes the server because its simply too big for the server to handle that many blocks at once. I might have overlooked a feature of it regenerating on startup, if that's not the case it would be great if there is a way to get it to do that. We're using a handmade chunk-regen code tho it overlaps plots, so the neighboring plot would be half regenerated.
Kind regards -Unkown1992
-
View User Profile
-
Send Message
Posted Dec 9, 2016You could try installing a plugin like AsyncWorldEdit, this should paste the schematic slowly and therefore not crash the server.
Let me know if that works for you.
-
View User Profile
-
Send Message
Posted Dec 10, 2016I'm not able to install AsyncWorldEdit, it only gives me an error that it couldn't load then shuts down.
Do you know of any way to //regen between boundaries on a server startup?
Kind regards -Unkown1992
-
View User Profile
-
Send Message
Posted Dec 12, 2016If you send me the error you get from AsyncWorldEdit then I might be able to help (and if not then the author of AsyncWorldEdit can probably help).
With WorldEdit you can simply select a region and use //regen, but if pasting a schematic of that size does not work then using //regen will also fail probably. So installing AsyncWorldEdit or FastAsyncWorldEdit is really your best bet in my opinion.
-
View User Profile
-
Send Message
Posted Dec 13, 2016This is the error i get with AsyncWorldEdit;
[19:41:21] [Server thread/ERROR]: Could not load 'plugins\AsyncWorldEdit.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/primesoft/asyncworldedit/injector/classfactory/IClassFactory
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:300) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
Caused by: java.lang.NoClassDefFoundError: org/primesoft/asyncworldedit/injector/classfactory/IClassFactory
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_111]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
... 6 more
Caused by: java.lang.ClassNotFoundException: org.primesoft.asyncworldedit.injector.classfactory.IClassFactory
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_111]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_111]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
... 6 more
FastAsyncWorldEdit works but its so buggy with //regen that it leaves a horrible sight. tried configuring it but nothing works.
Thanks for your help but i guess its just too much for the server to do while running.
-
View User Profile
-
Send Message
Posted Dec 3, 2016Thank you so much again nlthijs48 for helping me!
I was able to download AreaShop 2.4.0 successfully and it works great, now my servers are back online! Thanks for saving my bacon!
-Doublezout
-
View User Profile
-
Send Message
Posted Dec 2, 2016@doublezout
Version 2.4.0 of AreaShop is released to fix this problem, you can already get it on Github and Spigot, here on BukkitDev it will appear soon (it is in review by the staff).
-
View User Profile
-
Send Message
Posted Dec 1, 2016Hi nlthijs48 - I'm back, but this time I have a problem.
I just updated my servers to Spigot 1.11, as well as updating WorldEdit, WorldGuard, Vault and AreaShop. When my server started though, I received this error: http://pastebin.com/xu7UJkL1
I then took the plugin out of my main servers and installed it on my test server which is only running WorldEdit, WorldGuard and Vault. I still get the same error. Is this a problem with a plugin I'm using (Even though all I have are the dependencies)? If not, could you fix this please, I will either need to revert to 1.10 or keep my servers down until I can get this fixed and working.
I might also note that when I run the original AreaShop version I had before (2.2.2 I think), running on 1.11, the plugin started fine, but then when a player joined and tried to use anything AreaShop related, the plugin would spew out this error non-stop: http://pastebin.com/FsELz0Jk
Thanks for the help, - Doublezout
-
View User Profile
-
Send Message
Posted Dec 1, 2016@nlthijs48
Thanks a ton for all your work, you continue to impress!
-
View User Profile
-
Send Message
Posted Nov 26, 2016@Chinimala
AreaShop works correctly on Spigot 1.11 and WorldGuard 6.1.2 (build 1653) for me, the error you have might be because of something else, maybe the world that the regions are in is not loaded? On issue #251 the same problem shows, maybe the answer of Sprungente there helps you to solve the problem.
@FatherWh0
'minecraft_server.jar' is just how the server jar is called, probably to use with Multicraft ;)
@zeptars
Did you set any flags like 'build', 'block-break' or 'block-place' on the big region or the AreaShop regions? Because that might mess it up (and they are not necessary). Also check if you have set the 'spawn-protection' to 0 in your 'server.properties' file. When trying to break blocks, does the player get any message? Because if they don't then it is not a WorldGuard problem, but probably caused by another plugin.
Let me know if you solved your problem.
-
View User Profile
-
Send Message
Posted Nov 26, 2016Hey nlthijs48, great plugin :) I had been wanting something like Areashop for ages but never thought something like it would actually exist. Anyway...
I have a slight issue and I haven't been able to find the solution. I create the region and the shops are set up, I then find that members (default rank) are able to rent out the regions but cannot break blocks in them. They can place blocks but not break them after placing them. The shop regions are inside another big region which is used to protect the shops and the surrounding areas from griefing. How do I fix this? Thanks!