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 May 1, 2016@Tintin159
"Schematic operations for s_arc_35 not enabled, skipped"
So you did not enable schematics correctly in the default.yml file, you need to set 'enableRestore' in 'default.yml' to 'true' to enable the schematics, this line. Let me know if it works after that.
@StonederI
You might want to try update to the latest WorldEdit and WorldGuard versions (from the development builds they provide), they update regularly since the 1.9 builds are not stable yet. The error you show is something inside WorldEdit itself, so I don't think I can fix that. Let me know if updating helped.
-
View User Profile
-
Send Message
Posted Apr 30, 2016Hallo i would Update my Server on 1.9 and when i start the Server it Spam my Console with this:
[Server thread/WARN]: [AreaShop] Task #97 for AreaShop v2.2.2 generated an exception
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) [craftbukkit.jar:git-Spigot-944aa20-11e8c6d]
at com.sk89q.worldedit.history.change.EntityCreate.<init>(EntityCreate.java:49) [?:?]
at com.sk89q.worldedit.extent.ChangeSetExtent.createEntity(ChangeSetExtent.java:72) [?:?]
at com.sk89q.worldedit.extent.AbstractDelegateExtent.createEntity(AbstractDelegateExtent.java:84) [?:?]
at com.sk89q.worldedit.extent.AbstractDelegateExtent.createEntity(AbstractDelegateExtent.java:84) [?:?]
at com.sk89q.worldedit.EditSession.createEntity(EditSession.java:618) [?:?]
at com.sk89q.worldedit.function.entity.ExtentEntityCopy.apply(ExtentEntityCopy.java:106) [?:?]
at com.sk89q.worldedit.function.visitor.EntityVisitor.resume(EntityVisitor.java:66) [?:?]
at com.sk89q.worldedit.function.operation.OperationQueue.resume(OperationQueue.java:85) [?:?]
at com.sk89q.worldedit.function.operation.DelegateOperation.resume(DelegateOperation.java:50) [?:?]
at com.sk89q.worldedit.function.operation.Operations.completeLegacy(Operations.java:55) [?:?]
at nl.evolutioncoding.areashop.handlers.WorldEditHandler6.restoreRegionBlocks(WorldEditHandler6.java:82) [?:?]
at nl.evolutioncoding.areashop.regions.GeneralRegion.restoreRegionBlocks(GeneralRegion.java:888) [?:?]
at nl.evolutioncoding.areashop.regions.GeneralRegion.handleSchematicEvent(GeneralRegion.java:1758) [?:?]
at nl.evolutioncoding.areashop.regions.RentRegion.unRent(RentRegion.java:663) [?:?]
at nl.evolutioncoding.areashop.regions.RentRegion.checkExpiration(RentRegion.java:342) [?:?]
at nl.evolutioncoding.areashop.managers.FileManager$5.run(FileManager.java:647) [?:?]
at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) [craftbukkit.jar:git-Spigot-944aa20-11e8c6d]
at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [craftbukkit.jar:git-Spigot-944aa20-11e8c6d]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:729) [craftbukkit.jar:git-Spigot-944aa20-11e8c6d]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [craftbukkit.jar:git-Spigot-944aa20-11e8c6d]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [craftbukkit.jar:git-Spigot-944aa20-11e8c6d]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [craftbukkit.jar:git-Spigot-944aa20-11e8c6d]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
Can i do something? I have no Clue.... A view Weeks ago it works with no Problems
-
View User Profile
-
Send Message
Posted Apr 27, 2016Thank you for this quick response
I tested the command /as schemevent s_arc_35 created it does not create schematic I tried several times rent and unrent without success
groups.yml http://pastebin.com/NpT7Yw7M
log-AreaShop-debug http://pastebin.com/wbGtrvHH
sorry for my english I'm french
-
View User Profile
-
Send Message
Posted Apr 26, 2016@NoHoPeLess
You can create a group that has the the automatic sell disabled, and then assign the regions that you do not want to get sold to that group. If you need more help setting it up let me know.
@Tintin159
Make sure that there is a schematic in the '/areashop/schem' folder for the region 's_arc_35' as defined by the 'schematicProfiles' section in 'config.yml'. If there is no schematic created (normally only done when adding a region to AreaShop) then it also cannot restore it. If there is no schematic you can manually trigger the save of it with '/as schemevent', or change the 'schematicProfiles' section to also save the region at rent/buy. To further get more information if you still did not manage to solve it set 'debug' to true in the 'config.yml' file, then AreaShop indicates in the console/log file why a region is restored or not.
Let me know if that helps.
-
View User Profile
-
Send Message
Posted Apr 26, 2016I would just activate the schematic for a region with group.yml
my config but it does not work
-
View User Profile
-
Send Message
Posted Apr 24, 2016Hello :D is there an option to protect some regions for the automatic sell option? And can we run commands when the auto sell is running? i mean some commands like /lwc admin cleanup ... sometimes there are some protections and the users cant build then...
-
View User Profile
-
Send Message
Posted Apr 15, 2016@PhanaticD
Not by default. In the config.yml, you have a "schematicProfiles" section, and in the default.yml, you have to set the "enableRestore" option.
-
View User Profile
-
Send Message
Posted Apr 13, 2016do shops reset when they are expired? I tried /as unrent and I noticed it did not reset the shop region to be all air, and I could not find a config option for it
-
View User Profile
-
Send Message
Posted Apr 11, 2016@legoset0
The help of Chinimala solved your questions right? If you have any other questions let me know.
Thanks Chinimala :)
-
View User Profile
-
Send Message
Posted Apr 7, 2016In the default.yml, you have an option "landlord" if you want the same for all. And if someone resells its own plot, he gets the money.
-
View User Profile
-
Send Message
Posted Apr 5, 2016@Chinimala
is there a way to make the landlord automatic.
-
View User Profile
-
Send Message
Posted Apr 5, 2016legoset > modify the "sold sign" in the config and remove all the text on the sign, it will make the sign disappear. Use "/as setlandlord" to set the landlord who will receive the money
-
View User Profile
-
Send Message
Posted Apr 4, 2016how can players remove the signs once they have bought a region?
is there a way to make it so the person who made the sell sign gets the money.
-
View User Profile
-
Send Message
Posted Apr 4, 2016@Blackyvk
Like you have also concluded, this situation does not occur frequently enough to add a feature to AreaShop for it. It would simply mean an extra command that is almost never used, which I of course want to prevent (a long list of commands only confuses users).
Thanks for your input though.
@Chinimala
Good :)
-
View User Profile
-
Send Message
Posted Apr 4, 2016Sorry for being late, I removed the "n:" and everything works now. I need real uuids anyway in my regions for other plugins. Thank you for the help :)
-
View User Profile
-
Send Message
Posted Mar 26, 2016@nlthijs48
friend can help pay the rent, lets say two people share the house and one cannot connect in a long time because "he loses internet connection", if he cant pay the rent he will lose the house and everything in if I decided that house must be restored with an schematic when the rent ends. of course, he can leave the house and rent a new one.
nah, just ignore it.. users can deal with it :P
-
View User Profile
-
Send Message
Posted Mar 26, 2016@Blackyvk
'friends can help pay the rent': Could better be solved outside of AreaShop, most economies have a '/pay' command or something similar, so then players can easily give eachother money.
'shared region count towards the region limit (if true for that region)': Not sure what you mean with this, you can find more about the limit system here, maybe you can already do what you want.
're/sell rented region': Players can unrent it, at which point someone else can get it again, I'm not sure why reselling would be a thing for rental regions, since you don't actually own it.
-
View User Profile
-
Send Message
Posted Mar 23, 2016suggestions
friends can help pay the rent
shared region count towards the region limit (if true for that region)
re/sell rented region
-
View User Profile
-
Send Message
Posted Mar 22, 2016@Chinimala
AreaShop uses the methods build into Bukkit/Spigot to get a UUID for a name or player, these methods also work for offline servers (and simply give the offline UUID). I'm also successfully using it on my test server in offline mode. The only minor problem is that sometimes WorldGuard is not able to get the name, and therefore lists the UUID in the '/region info' command instead of the name, at that point AreaShop still lists the name in '/as info region', and the player should still have access properly.
Can you show the flagProfiles section to me? This section is critical for adding friends, so there might be something wrong there. Also check if the added friends are listed in '/as info region <regionname>', if they are listed correctly there then they are added correctly, and then the issue is most certainly in the flagProfiles section.
-
View User Profile
-
Send Message
Posted Mar 19, 2016@nlthijs48
Thanks!
I figured it out.