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 Feb 25, 2016@Androkai
That should be more doable and generally useful yeah, I made a feature request issue for tracking it: https:github.com/NLthijs48/AreaShop/issues/126
@MCFUser64274
You can do it using the 'eventCommandProfiles' section, at the 'after' part of 'rented' or 'sold' you can add commands that teleport the user to the region, and then forces the user to use '/sethome'. The commands you use would look like this:
Let me know if that solves it, and if you still want to hook into AreaShop then I recommend this and this or just ask me if you want to know something :)
@EpicDinosaurz
By default left clicking the sign already does this, and the command '/as info region <regionName>' does the same thing, it lists all the information you should have access to. So this means OPs see everything, and players only the things they have permissions for.
-
View User Profile
-
Send Message
Posted Feb 24, 2016Great plugin! However, I have a suggestion: You should add a command in which you can see who the owner of the region is, as well as all of the people added to the region. This would be very useful to players who wish to see who is added to a region.
-
View User Profile
-
Send Message
Posted Feb 23, 2016I need to find a way to set up a /home command for somone's region. If they own one region how can i get them to their region without specifying their region.
In the event that there is no way to do this. How to i hook into the api to pull their region names?
-
View User Profile
-
Send Message
Posted Feb 22, 2016@nlthijs48
AreaShop has the feature of automatic selling of a region if a player is offline for a configurable amount of time. This is very useful for big servers. On our server we handle it, that only very simple and incomplete buildings were deleted by the staff. Because of this I search for a possibility to notify the team if a region is bought x days before. Your suggestion to outsource this makes sense so here's a new try: You already implemented a auto-reset feature if a user is away for a configurable amount of time. Could you implement a configurable command which is triggered instead of the reset? This isn't exactly something like triggering a command if a region is x days old but it would definitely help me.
Acceptable request or more pooling? :)
-
View User Profile
-
Send Message
Posted Feb 22, 2016@silentspectr
Ah cool :)
-
View User Profile
-
Send Message
Posted Feb 22, 2016@nlthijs48
Hi i did that with the limitgroups and it worked you helped me a few weeks ago with the same problem and i didn't realize i could do the same here :p Thank you and androkai for your answers
-
View User Profile
-
Send Message
Posted Feb 22, 2016@Ruthless_Gamer
I'm not sure what the problem is here, if a UUID has been added to the WorldGuard region then at least that is correct. Then you might have a problem with you region setup, make sure that the AreaShop region has a higher priority or has its parent set to the surrounding region. You could test if adding the player to the region manually does work, and if that does then check with AreaShop.
@Androkai
I don't really think such a feature would be useful for most AreaShop users, it might be better if another plugin handles message notifications and that AreaShop simply executes a command like '/notify 30d androkai Check region shop-1' with the 'eventCommandProfiles' section. If you have reasons why you think this would be useful for more people then let me know.
@TheZBlade
This is not possible yet, but is on the list to add: Provide a way to automatically extend renting.
@silentspectr
You can do this using the limitgroups feature of AreaShop. If you have separate permission ranks for each town, then you can give them different limit groups to set the limit of the other town at zero, and their own town at 1 (or something higher of course). Let me know if you need help setting up the limit groups.
-
View User Profile
-
Send Message
Posted Feb 21, 2016@silentspectr
I think using a region-permissions-plugin is the easiest way to get this. I found this one but never tested something like that by my own.
Another solution with less complicated configuration is, that you add every town-user as member of the town-region but deny things like build, chest-access, ... for members through use of region-groups (/rg flag <region> -g nonowners <flag> deny) and access the command "/as buy" for members (combination of the flags blocked-cmds and/or allowed-cmds). Downside of this is, that you have to add every user as a member to the town first. With the first solution you only have to create two groups and add the user to one of them. This is more dynamic and better for cleaning old entries/users later.
-
View User Profile
-
Send Message
Posted Feb 21, 2016Hi
I have two towns and in each one i have areas to sell How can i involve groups in the config to deny citizens of a town to buy regions in the other one and allow them to only buy in their town ?
Thanks
-
View User Profile
-
Send Message
Posted Feb 20, 2016Is it possible for the plugin to automatically take rent from a player if their rental period expires, and only "evict" them, if they do not have enough money. I want that incase a player ends up having to take an unexpected break and cannot pre-pay before hand
-
View User Profile
-
Send Message
Posted Feb 19, 2016@Androkai
It worked! Thanks alot!
-
View User Profile
-
Send Message
Posted Feb 19, 2016@sjoerdk2002
Look for the greeting-flag in the config. You can simply delete the hole line for future or to correct your existing regions set it to greeting: '' and reload (/as reload) the plugin. After this your regions should be fixed and you can delete the hole line.
-
View User Profile
-
Send Message
Posted Feb 19, 2016This is a awesome plugin! The only thing that botheres me is when you walk inside a region, it displays that it can be rented for example. Is there any way to turn these messages off?
-
View User Profile
-
Send Message
Posted Feb 19, 2016I wish for a new feature which notify the administration-team for example 30 days after a player bought a new region. It should also be possible to manually set a notification-timer so that if a region is full of shit the moderation-stuff can set a deadline and will be notified after to check if the region was cleaned or needs to be reset. The amount of time should have a default value (set via config) or could be overwritten via an optional parameter in the command.
-
View User Profile
-
Send Message
Posted Feb 16, 2016I have Vault, WorldGuard, WorldEdit, and i cant get the user id to pass thru once the user has rented the unit, it just shows the uuid as a sort of mac address, but then WorldGuard wont recognize that username and wont grant the person access to do anything in the region. Any suggestions? ive made sure the uuid is correct in the conifg and that the priorities are correct. and that the person is in the correct group, which is default. And that is part of the essentials plugin.
-
View User Profile
-
Send Message
Posted Feb 16, 2016@MinecraftNotchinUnderwear
Yes you already can do this, with '/as setlandlord <player> [region]' you can set the landlord of regions. The landlord will get all the money made by renting/selling the region, you can also let the landlord change the price and duration if you want that. If you want to set the landlord of a group of regions or all of them, then check the landlord settings in default.yml.
-
View User Profile
-
Send Message
Posted Feb 14, 2016-
View User Profile
-
Send Message
Posted Feb 6, 2016@nlthijs48
Yes! It now works so that you cannot enter unless you are owner or member. I'm so happy. Now I can start working on my server again! Thank you so much, and sorry for the trouble this may have caused you.
-
View User Profile
-
Send Message
Posted Feb 6, 2016@8BitApple
You can see the layout here, here the 'greeting', 'interact', 'build', etc lines are simply setting the WorldGuard flags of the region to a certain value. The 'deny g:non_members' value makes it so that only the owner/member of the region can use it.
So after adding the 'entry' line you would have something like this. Let me know if that solves your problem.
-
View User Profile
-
Send Message
Posted Feb 5, 2016@nlthijs48
Sadly, I still do not understand the concept. If you could send a screenshot of the layout, it would be extremely useful. Thank you.