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 Jun 28, 2015What is the date of the next update (pseudo on last sign) ?
-
View User Profile
-
Send Message
Posted Jun 27, 2015@Nentify
Ah okey, did not know you had a setup like that (now assuming you have 1 room with a bunch of signs for all plots). If you disabled those commands with WorldGuard then I think you also need to disable the '/areashop:areashop' and '/areashop:as' variations, but I'm not sure about that (easy to test that though).
The events in the 'eventCommandProfiles' section only fire when something actually happens, so the commands in 'rented' only execute when AreaShop already knows that the rent will for sure happen (player has permissions, money, correct limits, etc.). The 'before' section fires before the actions have happened (in case of 'rented' the player would not be an owner yet), the 'after' section fires after the actions happened (player is owner of the region then and can be accessed with the %player% tag).
Good luck with your server and if you have any other questions then let me know.
PS: Thanks for your donation! Appreciate that!
-
View User Profile
-
Send Message
Posted Jun 27, 2015@nlthijs48
Thanks for the quick reply. I actually have a 'plot shop'. To resolve this, I just disabled the /as and /areashop commands in the world except for in the region containing the shop. Seems like a decent workaround for now. I was looking at the event profiles, but wasn't sure how that'd react if the user didn't have enough money or something, so we'll probably handle this manually for now which isn't a big deal.
Thanks again! :)
-
View User Profile
-
Send Message
Posted Jun 27, 2015@Nentify
Thanks for your nice words! Hoping to enhance the plugin even more this summer :)
Since the signs simply execute commands for the player that clicks them it is not possible to distinguish between clicking a sign and using a command. However I think you are trying to solve a different problem, probably that you want the player to be close to the region before then can buy it. 2 settings that can already help with that problem are 'restrictedToWorld' and 'restrictedToRegion' in the default.yml file (check the documentation in the file itself).
A fee for reselling is not in the plugin currently, but might be kind of accomplished with the 'eventCommandProfiles' section. I might add this to the plugin later, I'll add that on my list.
-
View User Profile
-
Send Message
Posted Jun 27, 2015Love the plugin and the polish put into it! Must be one of the well-done plugins at the moment, kudos.
One thing - Is it possible to only allow sign use and not commands?
Edit: Also, is it possible to have a fee for reselling a plot? Such as the initial plot cost or an arbitrary monetary value?
Thanks!
-
View User Profile
-
Send Message
Posted Jun 25, 2015@givemeapples
Do you have the 'inactiveTimeUntilUnrent' or 'inactiveTimeUntillSell' option enabled? (default.yml). Did the regions get removed from AreaShop completely or did they only get unrented? Check that with '/as info all'.
A couple of unstable things have been fixed for the upcoming version, those might fix the problem you have, but I cannot confirm that.
@LaughNgamez
Are you sharing schematics between regions or does every region has its own schematic? Please show me your config files so that I can see your setup. A few blocks off is only possible if the schematic is wrong, so I'm quite sure the error is somewhere in the configuration. One thing I can recommend is using the same WE version as your WG version, so just update WE to the latest version of 6, this should however not cause a problem.
-
View User Profile
-
Send Message
Posted Jun 23, 2015Hi so I've been having an issue with schematics loading. Basically I have schematics paste when a region expires but it seems to be pasting them in the wrong spot. Sort of like if a region copied and pasted in the wrong spot (a few blocks off).
I'm saving a schematic on buy then loading it on expire. Does anyone know why this might happen?
Using WG 6.0 and WE 5.9
-
View User Profile
-
Send Message
Posted Jun 22, 2015I seem to be having a major issue.
All shops that are rented randomly get unrented (I assume after a restart?).
All shops are rentable in 7 week periods. I extended the rent period on my shop for a month, the next morning my shop was free (as in available, it wasn't rented).
Help? I'm not sure if this is an issue on my end or plugin side.
-
View User Profile
-
Send Message
Posted Jun 21, 2015@Kirtho
Problem has been fixed in a conversation on TeamSpeak, upcoming version of AreaShop supports the feature asked for.
-
View User Profile
-
Send Message
Posted Jun 21, 2015Hi , i probably got a stupid question but
I'm trying to make an RP server ,and i'm looking about how to be the owner of a shop and rent it , i explain :
I have 6 shop , i want to people rent it , or buy it but i dont know how i can have the money of , i dont know you understanded .
Like ,just receved the money on the rent ,if the guys rent for 10 day , i'd like to receive the money on my account ,i'm using Iconomy as plugin money , if you can help cause it's like 2 day ago i got this problem sorry for my english is really bad (i'm french) .
Kirtho.
-
View User Profile
-
Send Message
Posted Jun 20, 2015@mapstar87
Thanks :)
There is already an extensive limit system, check this page for information and examples. If you have trouble setting it up then just send me a message.
@Drobberz
The only thing the signs do is executing commands just like the player would do, so it uses the same permissions as for the commands. Do you want to prevent players from renting at all or do you want to disable signs? The first thing can be done by denying the 'areashop.rent' permission (check the Commands & Permissions page for all other permissions). The second thing can be done by changing the signProfile located in the config.yml file. If you remove the rightclick action then the renting will not happen anymore if players click the sign (this cannot be done player dependent, only for everyone).
Let me know if that solves your problem or if you have any questions.
-
View User Profile
-
Send Message
Posted Jun 19, 2015Hi all, What is the permission to disable a shop rentsign (rent) for groups by PermissionsEX
-
View User Profile
-
Send Message
Posted Jun 19, 2015Hi, i really like your plugin :)
Could you add a feature to set limits for regions of one region group? We use it for hotel rooms, shops etc. but want to limit players to rent only one shop but still be able to rent a hotel room.
Would be nice
-
View User Profile
-
Send Message
Posted Jun 16, 2015@Baddassoverlord
Sorry but that is not possible, and to support these kind of situations it would require major rewriting of AreaShop, so it is unlikely it will be supported.
@Manercraft
This kind of thing will be in the next update, then you can set the landlord for a region, and this person will get all the money.
@danielfr789
Currently it is not possible to do exactly as you want it, it also looks like a kind of weird situation to me. Probably setting the maxRentTime to 5 days would be the best you can do currently. Also your situation would be a bit annoying for players I think, then they need to be at the server at exactly the time they have rented the region again after 5 days, but maybe that is what you want.
@funkay91
The new version does have the option to set where the money goes for sure, that is already coded and on GitHub. However I cannot give you any solid date, I'm currently finishing my Bachelor so I don't have much free time to get the update done. I also don't want to release a half broken version, since that is just rubbish.
-
View User Profile
-
Send Message
Posted Jun 15, 2015@nlthijs48
Hi, just a question, have you a new date for the release of a new version. i hope this version integrate the possibility to choose the beneficiary of the loan of an aera.
Thx
-
View User Profile
-
Send Message
Posted Jun 14, 2015@nlthijs48
Nope. I need a way to let a player extend their rent back to the full length of 5 days only if there is under 10 minutes left. This way they dont have to destroy their shop and rebuild it in the same spot if their is reset to schematic enabled.
-
View User Profile
-
Send Message
Posted Jun 14, 2015Can you add: If i write in the last lien the pseudo of the player and if the region is buy, The money back to the pseudo on the sign
-
View User Profile
-
Send Message
Posted Jun 13, 2015Hi there. Sorry if this has been asked before, but, is it possible to have one area both rentable and buyable at the same time? For example, I want to sell a house. But if someone can't afford the house, they should have the option to rent it until they have payed the full price (or more).
-
View User Profile
-
Send Message
Posted Jun 13, 2015@TNTUP
@NoHoPeLess
I researched where this could be caused by, but found nothing special. A couple things you could check:
Answers to those question cal help me to find the problem, currently I simply don't know where it would be caused by.
AreaShop indeed prevents adding people that are on the server for the first time to be added as friend, this is a bug and have fixed it now (will be released next update).
-
View User Profile
-
Send Message
Posted Jun 12, 2015@TNTUP
Same here :D