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 Jan 16, 2016@King_Of_Madness
Your link is broken. Could you please copy the config-part of the big WorldGuard and lower AS-region (this one before and after buying) to something like this and share the link with us? Thx :)
Edit: If you speak about editing the config I hope your reload WorldGuard with "/wg reload" after changing.
-
View User Profile
-
Send Message
Posted Jan 15, 2016@nlthijs48
I tried what you recommended, but with no luck...
All 3 plugins are up to date. They are the most recent stable builds. Could it be that the larger world guard region overlapping the AS region is preventing this from working? Even though the AS region has a higher priority? I set the AS region to a priority of 2 and the larger worldguard region to a priority of 1.
I went into the config and added this:
Config Edit
When I remove the flags for build, block-break, and block-place players can mess with the blocks while the AS region is unrented...but if that player rents the AS region the deny commands prevent them from building. If I set the flags to allow build, block-break, and block-place, players are able to build when not renting and also while renting. I really need this to work, if you can help me further I would REALLY appreciate it. Would you be willing to hop into my server and take a look? I am pretty desperate...
Thanks for all the help by the way!
-
View User Profile
-
Send Message
Posted Jan 15, 2016@King_Of_Madness
Setting the AreaShop regions to a higher priority, and not having set any build flags should work. If that does not work then you could set the build flag to only allow owners/members to build (which is actually also the default), check this FAQ item for information on how to do that (use the same thing as described for the chest-access flag, but then use the build flag).
You might also want to make sure you have the latest WorldGuard and WorldEdit, that might also fix some of your problems.
-
View User Profile
-
Send Message
Posted Jan 15, 2016I am having an issue. Whenever I create an as region, players can build in it whether or not they own the plot. Even while it is currently being rented people can break the current renters blocks/homes.
I have the regions inside another region, but the as region's priority is higher. I first had them set with no flags but then we couldn't build in the region because the larger region has no build flags. So I changed the as regions to a higher priority but it didn't work. So I added build allow flags to the as region which now has a higher priority...and now anyone can build in the region regardless of who the owner is...any ideas on how to fix this?
-
View User Profile
-
Send Message
Posted Jan 14, 2016@silentspectr
You can set the landlord of a region (or group of regions). Check the '/as setlandlord' command, or set it using 'default.yml' or a group. The landlord of a region will get all the revenue generated by the region.
-
View User Profile
-
Send Message
Posted Jan 14, 2016Hello
when a players buys or rent a region, is it possible to choose where the money goes ? to an IConomy bank account for example. That would be great is it possible ? if not does anyone have a solution ? thanks
-
View User Profile
-
Send Message
Posted Jan 12, 2016@Androkai
Good that you found the problem, I'm a bit relieved that it is not a problem in AreaShop, otherwise this might have a much bigger impact.
-
View User Profile
-
Send Message
Posted Jan 10, 2016@nlthijs48
Spend yesterday some hours in searching where my problem lies and found the problem in an old script that has to correct the pitch and yaw for teleport-positions and wasn't optimized for rent-regions. Badly it was triggered at 31.12.2015 after a long time for the first time since rent-regions were used. Thx for the help.
-
View User Profile
-
Send Message
Posted Jan 8, 2016:facepalm:
i just saw the header of the file
thanks for pointing it to me =)
-
View User Profile
-
Send Message
Posted Jan 7, 2016@silentspectr
Yes you can modify the messages, but make sure you follow the instructions and make a copy of the existing files, the default files indeed overwrite each time you reboot (this is to make sure new AreaShop versions will update the language files). More information can be found here (or just read the header of the languages in the lang folder :) ).
-
View User Profile
-
Send Message
Posted Jan 7, 2016hello , it's me again is it possible to modify the langage files ? i tried but when i save it and reload areashop or reboot the server, the file goes back to normal and my changes are lost
is there a way i can modify the file ?
thanks
-
View User Profile
-
Send Message
Posted Jan 5, 2016@silentspectr
I replied to your ticket (keeps the conversation nicely together).
@Androkai
I doubt there is something special going on with rent calculations at year changes, for example the expires time is saved as 'milliseconds since 1 January 1970' (currently the value is 1452077226290), and then that is simply checked with the current time to see if the rent is expired or not. Only for displaying the time/date I'm actually using years/months/days/etc. Things you could check for is to see if there is a message like this in the log in the period that all regions got unrented: "Region <regionname> unrented because of inactivity for player <playername>". That message is logged when a region is unrented due to the 'inactiveTimeUntilUnrent' setting in 'default.yml'. If there are no such messages then it can only be removed by '/as del' (then the region would also be disconnected from AreaShop), unrented by '/as unrent', or expired.
You might also want to check that you are using the latest Spigot/Bukkit version, AreaShop version and that your system time of your machine is correct. If you have a backup from before this happened then you could send me that so that I can test if I can reproduce the issue by changing the system time.
-
View User Profile
-
Send Message
Posted Jan 4, 2016@Androkai
I think the author will get back with you but, I recommend you post as a ticket also, just to make sure.
-
View User Profile
-
Send Message
Posted Jan 3, 2016Could it be that where ist a bug in calculation of rent-time at new year / changing of year? All my rent-regions were reseted but I can't say exactly when and why nor can I reproduce it.
-
View User Profile
-
Send Message
Posted Jan 3, 2016Hi i'm making rentable and buyable regions for my server and i was wondering if it is possible to make two kinds of regions. let me explain by an example:
i have hotel rooms for rent, house for sell and shops for sell
i don't want players to be able to rent more than one room or buy more than one house but i need them to be able to buy 1 shop whether or not they own an house or have a room
at the end the result i need is: a region type "shop" and a region type "home" including house and hotel room each type can only have one region at a time per player
i hope you understood what i said =) thanks
-
View User Profile
-
Send Message
Posted Dec 28, 2015@TheDjRider
It looks like you are using an very old WorldGuard 5 version, either upgrade to the latest WorldGuard 5, or recommended by me: upgrade to the latest WorldGuard 6.
Let me know if that fixes your problem.
-
View User Profile
-
Send Message
Posted Dec 28, 2015@nlthijs48
This i found in logs file - http://pastebin.com/STiZD2aX
I think will be go help you to help me :)
-
View User Profile
-
Send Message
Posted Dec 27, 2015@TheDjRider
Check the 'latest.log' file that is located in the 'logs' folder of your server, and send me the error that displays when performing the command. It would be best to send the complete file, then I also know the version of AreaShop and the dependencies you are using. You can send it to me using pastebin.com or similar, use private message if you do not want to post it in public.
-
View User Profile
-
Send Message
Posted Dec 27, 2015Hello all,
My server use spigot 1.8.8 version and when try to delete regin show me - http://i.imgur.com/xJQQAdD.png
Please help :)
-
View User Profile
-
Send Message
Posted Dec 26, 2015@nlthijs48
Seems to work without bugs now, thanks! :)