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 Nov 13, 2014How?
i don't want to reset all the sign ,please
-
View User Profile
-
Send Message
Posted Nov 12, 2014@nlthijs48
Thank you for the elaborate answer. :)
The future of AreaShop is looking bright.
Looking forward to the coming next version.
-
View User Profile
-
Send Message
Posted Nov 12, 2014@Sinuce
It is the total number of extends a player can do after he rented the region. So if that number has been reached the player can only let it run out, he can however rent the region again after it runs out and then he can extend the configured nunber of times again. The player can also simply use the unrent command and then rent it again, this could however trigger a restore of the region if that is enabled.
To limit the time a region can be rented in advance I already added a setting in the upcoming version. With that you can specify the maximum number of minutes a region can be rented in advance, so when a player tries to extend the rent it will only let him do that if [rent time left] + [1 rent period] is smaller than the configured number. That would prevent players with much money to rent the region for a year or something ridiculous like that in advance. The setting to unrent/sell a region after a certain time of inactivity of the player could also help with this problem (also a thing in the upcoming version).
General development information:
I'm currently working on a language file format that supports hover and click effects together with another plugin developer. The basic format is already defined and we started the implementation yesterday, so that is going nicely. This format would enable the users to let the messages from AreaShop look exactly how they want and so enable them to use hover effects, let it execute commands on click, suggest commands on click (puts it into your chat box) and open links when clicking on yhe text. So that would make the chat easier to use and display more information.
I think I want to release a v2.1.0 version of AreaShop that does not include the chat format yet, because that would delay that release even more. Because when I add the new message system then I also want to use it for a lot of the default AreaShop messages. I still need to add a couple of things before I'm done with version 2.1.0 though.
-
View User Profile
-
Send Message
Posted Nov 12, 2014Hi nlthijs48,
How is the maxExtend to be understood?
Is it a max "continuous" extend, or a max "total" extend?
Example
If maxExtend is set to 2, can the rented areashop be extended ONLY two times in total, and the shop owner must find a new place to rent?
Or can he rent the area a maximum CONTINUOUS amount of times at 2, being able to re-rent, say, every month forever, but maximum 2 months in a row?
Thank you in advance,
Sinuce
-
View User Profile
-
Send Message
Posted Nov 10, 2014@Bouger
Yes that is possible, check the eventCommandProfiles section of config.yml. You can add a list of commands there to be executed whenever you want (rented, unrented, bought, sold, extended, deleted, created).
-
View User Profile
-
Send Message
Posted Nov 10, 2014@nlthijs48
Is possible that when the rent has finished, certain commands are executed? Example: /scs purge (player)
-
View User Profile
-
Send Message
Posted Nov 10, 2014@Bouger
I you enable schematic restoring then all the blocks inside the region will be saved to a .schematic when you create a region and when the players unrents/sells the region all those blocks will get restored. So all the blocks from those shops should get removed. I don't know if anything else is required to remove these shops, but if that is the case I could maybe write an integration with that plugin.
Maybe you need to reload the showcasestandalone plugin after the shops get destroyed and that could deregister the shops correctly, that could be automated by letting AreaShop executing these commands (check the config). I did not test anything with this plugin myself, but if you need any more help I will see what I can do.
-
View User Profile
-
Send Message
Posted Nov 10, 2014@nlthijs48
I give an example: Imagine that a user rented a region to create a store with showcasestandalone plugin. When the rent time expires, the shops will be automatically removed? (I mean the floating shops of showcasestandalone).
-
View User Profile
-
Send Message
Posted Nov 9, 2014@Bouger
After a player bougt/rented a region they can normally build there, so if they have the required showcasestandalone permissions then they can make such a shop. For getting rid of them when the rent runs out or wgeb the region gets sold you can enable the restore functionality that uses schematics. Check this page for information about enabling that. So it is compatible as far as I know.
@mohawkguy360
Nice that you got it fixed already, was the WorldGuard version indeed.
@Hangjai
Are you sure you use the correct WorldGuard, WorldEdit and Vault versions? After you used the /as rent command does it show an errror in the console? If you have an error in console please post it on www.pastebin.com and post the link here. After upgrading make sure you check the config.yml and default.yml files, your old config should be moved to the #old directory.
-
View User Profile
-
Send Message
Posted Nov 9, 2014i have a question ,how to update areashop 1.3.0 to areashop 2.0.1 with my "rents" file and then why restart server with areashop2.0.1 /as rent will crash
-
View User Profile
-
Send Message
Posted Nov 9, 2014@mohawkguy360
I see now.. For the dude who had the error down below,
@GermanTutorials
, you must use WorldGuard 6 with the newest version. You can downgrade a version and use WorldGuard 5, though.
-
View User Profile
-
Send Message
Posted Nov 9, 2014I am using the most recent Areashop and this is the error I get when I try to make a sign for my renting region:
<<code org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:366) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.sk89q.worldguard.protection.managers.storage.StorageException 09.11 19:49:10 [Server] INFO ... 13 more 09.11 19:49:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_65] 09.11 19:49:10 [Server] INFO at nl.evolutioncoding.AreaShop.SignChangeListener.onSignChange(SignChangeListener.java:116) [?:?] 09.11 19:49:10 [Server] INFO Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldguard/protection/managers/storage/StorageException 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInUpdateSign.handle(PacketPlayInUpdateSign.java:78) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInUpdateSign.a(PacketPlayInUpdateSign.java:58) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1713) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.8.0-20140921a.jar:git-Spigot-1.7.9-R0.2-205-g48578ee] 09.11 19:49:10 [Server] INFO org.bukkit.event.EventException 09.11 19:49:10 [Server] ERROR Could not pass event SignChangeEvent to AreaShop v2.0.2>>
<</code>>
-
View User Profile
-
Send Message
Posted Nov 9, 2014It is compactible with showcasestandalone or some similar plugin?
-
View User Profile
-
Send Message
Posted Nov 9, 2014@GermanTutorials
I cannot see your images so I don't know what those show, maybe use http:tinypic.com/ or something to upload them. If you see a message from another plugin when you place a sign like that (so a message that does not start with a green [AreaShop] prefix) then you probably have a plugin listening for the same lines on the sign. You can solve this by changing the 'rent' setting at the 'signTag' section of the config.yml file to something different (then you write this new line at the first line of the sign instead of [rent]).
Also check your console for any errors, if you have an error there then please send me that.
-
View User Profile
-
Send Message
Posted Nov 8, 2014@GermanTutorials
Any messages in log if you create "haus1" sign?
Edit: Du hast, wie man im zweiten Bild sieht, auch EssentialsProtect installiert. Was mich wundert, ist, dass auf deinem ersten Bild nicht nur keine AreaShop-Meldung zu sehen ist, sondern auch keine EssentialsProtect-Meldung.
-
View User Profile
-
Send Message
Posted Nov 8, 2014Ohh, you cant see the pics xD You can see the pics if you put it on your descop...
-
View User Profile
-
Send Message
Posted Nov 8, 2014I have a problem: If I write on the sign: [rent] -> Haus1 (region name) -> 1 d -> 1 Than nothing happend... On the sign stands the same I written... (sorry my english is not so good :D) But if I write [rent] -> Bullshi* -> Bullshi* -> Bullshi* then comes a error in chat. So the plugin is activates... Can you help me?
-
View User Profile
-
Send Message
Posted Nov 8, 2014@nlthijs48
THX =) Now it works !
-
View User Profile
-
Send Message
Posted Nov 7, 2014@Sinuce
Yeah, this is something I overlooked when first adding the different limit profiles, but it will release soon with these options. I'm done with exams by the way, only some assignments left but that should not take that much time. Planning to work on the plugin next week and possibly this weekend.
@EpiXSim0n
Did you change anything about the config.yml file? Because the last weeks already 2 people commented out the 'flagProfiles' section causing players not getting added to the region. If that is not the problem then please create a ticket with all the required information, then I can help you quickly.
I will contact the creator of the video about the flagProfiles section and ask if he can add an annotation with a warning there. He talks about this section and says the he 'removed it' because he did not want the greeting messages, with that he meant removing the 'greeting' lines and not the whole section, but that is not entirely clear for the viewer of the video.
-
View User Profile
-
Send Message
Posted Nov 7, 2014Hey Guys i have a problem. If i buy a Region eg. named shop1 It takes away my money but Areashop does not add me as Owner/Member to the region shop1. There are no errors in the Console. Please help and sorry for my bad english :D