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 18, 2015yes i testet with /as info
config: http://pastebin.com/Qy0caS6C
-
View User Profile
-
Send Message
Posted Jan 18, 2015@Kofeyy
Okey, good you got it.
@Newwings
Check this example to get an idea about how it works, if you still have trouble with it just leave a comment or send a message. Soon I will add an extra page with a FAQ here which includes things like this.
@ShankTankOP
You can change exactly which flags of a region will be set when someone buys it in the config (check the 'flagProfiles' section). I recommend to first solve your problem using the WorldGuard commands, and after that automate it by setting the correct flags in the config (one important part is a line with chest-access: 'deny g:non_members'). If you have trouble with it let me know.
@lostINParadies
Did you check with '/as info region <regionname>' and see if the sign location was listed there as I suggested? And please post your complete config using pastebin.com or similar, the indentation is very important and cannot be seen if you post it like this.
-
View User Profile
-
Send Message
Posted Jan 18, 2015No, both don't help me, config is wright:
forsale: line1: '&a&l[Verfügbar]' line2: '&5Region: &9%region%' line3: '&5Preis: &9%price%' line4: '&a[Klick]' rightClickPlayer: - 'areashop buy %region%' leftClickPlayer: - 'areashop info region %region%'
and it has a teleport point!
-
View User Profile
-
Send Message
Posted Jan 18, 2015Hello I swtiches over to this plugin after simple region market stop being updated and this plugin dosent seem to work as I need it to it does the basics but I want tit where when someone buys the region they have access to chests and when they havent rented it yet the chest should be where they cant open them. I need this to work some how so people can create player shops in them any help?
-
View User Profile
-
Send Message
Posted Jan 18, 2015Hey, Could you add a setting to the groups? I would like to set the max buy- or rent-limit of regions in groups. I mean max two regions in group X and max 5 regions in group Y... :)
-
View User Profile
-
Send Message
Posted Jan 18, 2015Hello.
Is there a way of setting one rent sign to grant access to more than one region?
Nvm I did it. Just used WGs parenting system. :)
-
View User Profile
-
Send Message
Posted Jan 18, 2015@LaughNgamez
I did some research and found out that if someone adds a friend that has not visited the server yet that it is possible that when I try to get his name from Bukkit that it returns null, which results in the error you have. I have fixed that for the next version. What you can currently do is removing all friends from the region that has trouble (stop server, open <regionname>.yml inside the 'regions' folder, remove the 'friends' section, save the file, start the server). After that it should be fine again.
I also changed the addfriend command to only accept players that have already visited the server.
-
View User Profile
-
Send Message
Posted Jan 17, 2015Get this issue when a user adds a friend: http://pastebin.com/ZPZnsbRm
running version 2.1.4 world guard: 5.9
-
View User Profile
-
Send Message
Posted Jan 17, 2015@lostINParadies
Then I think there are 2 options:
Let me know if one of these things works.
-
View User Profile
-
Send Message
Posted Jan 17, 2015I can use /as buy but when I use signs, nothing occurs. No Text...
-
View User Profile
-
Send Message
Posted Jan 17, 2015@lostINParadies
What is the exact message you get when you try rightclicking the sign or using '/as buy'? If I know that then I can probably tell what could be wrong.
-
View User Profile
-
Send Message
Posted Jan 17, 2015Hm It Doesn't work... Only with owner and op
-
View User Profile
-
Send Message
Posted Jan 16, 2015@lostINParadies
Nice :)
The permission to buy regions by signs is the same as the '/as buy' command because the signs simply execute that command for the player that clicks it. You don't have to give players that permission though, everyone does already have that permission by default.
-
View User Profile
-
Send Message
Posted Jan 16, 2015goes perfectly!!!
And how is the permissions, to buy the regions with the signs?? I tested: areashop.buy
-
View User Profile
-
Send Message
Posted Jan 16, 2015@monstercat101
:)
@Xsef
I answered your question in the ticket you created, some improvements are possible for sure.
@Yoshun91
Nice :)
@lostINParadies
That is already possible, you can use the 'eventCommandProfiles' section of the config to set that up. You can change the 'bought' section to the following to get the player that bought the region to teleport to it automatically:
This uses the '/sudo' command of Essentials, so check if you have that plugin. The sudo command forces a user to perform a certain command, in this case we force them to use '/as tp %region%' when a region is bought. The '%region%' thing will be replaced by the region name by AreaShop and the '%player%' thing will be replaced with the name of the player that owns the region.
Let me know if you have trouble with it.
-
View User Profile
-
Send Message
Posted Jan 15, 2015hey! Could you make that players are teleported immediately if they bought a region?
-
View User Profile
-
Send Message
Posted Jan 15, 2015Random TP with /as find command works very well :D Thanks a lot <3
-
View User Profile
-
Send Message
Posted Jan 14, 2015Awesome plugin! I just wondered if you could make a ''general region teleport''. So you just write /as tp and it will tp you to a region you own (alphabetical if you have more than 1 region), so you don't have to write in or remember the region's name.
-
View User Profile
-
Send Message
Posted Jan 13, 2015Thanks so much for this plugin
-
View User Profile
-
Send Message
Posted Jan 13, 2015@Demonicom79
Great :)
@Demonicom79
Seems like you already figured it out, that is indeed the way to do it. You also need to enable restoring, the best thing to do is leave 'enableRestore' inside default.yml at false, and just add this setting to you group below the 'schematicProfile' setting and set it to true there. Then schematics are only enabled for members of that group and they will also have the correct profile. (another way to do it would be enabling schematics in default.yml and simply changing the default schematicprofile to do nothing)