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 25, 2015Idea for a new command: /as groupnogroup - prints a list of all the areashop regions which are not in groups
-
View User Profile
-
Send Message
Posted Jan 25, 2015Hi there,
is there a way to set the teleport location for /as find other than next to the first sign? For example letting the save teleport expand from anther point, or specified by /as settp.
Thanks Stefan
-
View User Profile
-
Send Message
Posted Jan 21, 2015@Awsmpossum1313
Thanks for testing that with those versions. If I test it myself with 2.1.4 it does work though, it creates the files correctly when I add a region to AreaShop and restores it at unrent/sell.
Can you create a ticket and provide the requested information (config.yml, default.yml and startup log, all versions) there? Maybe it has to do with version numbers of the required plugins, but I can't really tell yet.
-
View User Profile
-
Send Message
Posted Jan 20, 2015@nlthijs48
Okay here is what i have figured out. 100% for sure i have enablerestore and enableschematic set to true. I have made no changes to the config but have done the following testing.
with 2.14
Only existing unrented lots will restore
Newly created lots do not restore (no .yml file is created) When creating no errors no issues showing in console.
Lots that were created before updating the config and the plugin version do not restore
with 2.13
Nothing restores if i try to create a lot where i did an /as del it says the sign exists. this clears with a server reboot.
with 2.12
It does restore lots that were previously rented. Does seem to create the yml file but can not get the new lots to restore.
with 2.10 everthing works as expected. however i dont have access to /as addfriend etc.
I am really sorry about this whole thing i dont know what I could possibly be doing wrong. Everything was working so well previously.
-
View User Profile
-
Send Message
Posted Jan 20, 2015@hallowhead1
No problem, if you have other questions just ask :)
-
View User Profile
-
Send Message
Posted Jan 20, 2015@nlthijs48
wow, i didn't look at the default.yml sorry for taking up your time
-
View User Profile
-
Send Message
Posted Jan 20, 2015@hallowhead1
Simply set the 'maxRentTime' value that can be found in the default.yml file, then it will be set for all regions. Only if you want different values for different region then you need to use the group system (read the paragraph at the top of the config page).
If you have trouble with the group system please try to specify what you want to achieve and then I can help you with it.
-
View User Profile
-
Send Message
Posted Jan 20, 2015Can someone please help me set maximum rent time? I see you have to use the profile but i can't seem to do it.
Thanks in advance
-
View User Profile
-
Send Message
Posted Jan 20, 2015@Awsmpossum1313
Good that the owner/member part is fixed. About the restoring, are you sure you have set 'enableRestore' in default.yml to 'true' and also 'enableSchematics' in config.yml? (last one should already be true). You could enable debug in the config to see some more information about it in console when you try it, might be useful. If it does not create the file correctly then it cannot restore it later, so the part you need to solve is why it does not create the file (with debug on it will say in console that it could not restore because the file cannot be found).
No problem that you ask questions, better ask questions and use the plugin properly than rolling with it and using it poorly (or even switching to another one). Even though plugin developers always try to make it as easy as possible, there will always be questions, that is just part of publishing a plugin ;)
-
View User Profile
-
Send Message
Posted Jan 19, 2015@nlthijs48
Yes thank you that fixed that particular problem. It was late I thought for sure i had a newer version. Sorry for something so obvious. I feel completely lost I had no issues with schematics and resets in previous version now however:
I can not get it to reset if I:
--Create a new rental. (It doesnt appear to make a .yml for newly created regions in the region folder.
--If i /as unrent an already rented lot (one that was rented before the update)
It does reset if i rent a lot that was created before the update then /as unrent it.
I am really sorry to ask these questions. I had almost no issues prior to this updated now I seem to be making obvious mistakes or something. Thank you again for your help.
-
View User Profile
-
Send Message
Posted Jan 19, 2015@Awsmpossum1313
The format of the members and owners lines in the flagProfiles section changed, at first they accepted player names but currently it is a list of UUID's. So that is why it does not work with your current configuration (you have an old config with the latest AreaShop version). Check the default config to see how the members/owners lines should look like.
The changelog actually indicated that you had to regenerate the configuration file when I updated this (when coming from a version below V2.1.0 you have to regen). Let me know if you fixed your problem.
@DiamondDan1
If you are using the latest version of AreaShop then you have the same problem as above, the player will not be added to the region. But you also have another problem, by adding 'chest-access: deny' you are denying access to chest for anyone, so also the owners/members of the region. You have to set it to the following:
That is a part of later AreaShop versions, so I recommend updating to the latest one (and also regen the config then).
-
View User Profile
-
Send Message
Posted Jan 19, 2015Hello, I have a prison server and I created 76 cells. For some reason Players are not able to open up their chests or furnaces. I Have chest-access, use and build set to DENY. I set build to deny because we have plans in the future for certain groups being able to move the layout inside. This is what it looks like in my config. If you need anymore details, please let me know. If you want to add me on skype so I can screenshare, show you a screenshot or the ip to my server (Don't know if I can advertise ip's on public forums or whatever) to check it out then tell me, so you could help me out. My skype is id is Diamond_Dan1 and my Username is Daniel Wilburn. Thank you! :D
flagProfiles:
default:
forrent:
members: -%player%
greeting: ''
rented:
members: +%player%
greeting: ''
chest-access: DENY
use: DENY
build: DENY
forsale:
members: -%player%
greeting: '&2[AreaShop]&f %region% can be bought for %price%'
sold:
members: +%player%
greeting: '&2[AreaShop]&f %region% is bought by %player%'
-
View User Profile
-
Send Message
Posted Jan 19, 2015EDIT: I have narrowed it down to being a problem in version(s). If i go to a much earlier version it adds the player as a member without an issue. For obvious reasons i think this is a bug however i am not 100% sure its not me. I'll move it to bugs section if needed.
R: AreaShop V2.1.4 (WG6.0+) for 1.8.1 Jan 12, 2015
R: AreaShop V2.1.3 (WG6.0+) for 1.8.1 Jan 07, 2015
I have successfully gotten several different profiles to work I even have it adding custom flags however at some point Areashop has stopped adding the player as a member of the region thus making it so people renting the region can not use the doors.
Here is the flags section of my config:
default:
forrent:
members: -%player%
rented:
members: +%player%
use: deny g:non_members
forsale:
members: -%player%
sold:
members: +%player%
arena2:
forrent:
members: -%player%
rented:
members: +%player%
forsale:
members: -%player%
sold:
members: +%player%
The use flag does execute properly but the members: +%player% seems to be simply ignored when doing a /rg info on the region after it is rented both owner and player are blank. The root of all this is I want the player that rents the region and any friends added via /as addfriend to be able to use doors. PLEASE anybody that can point me in the right direction i will love long time :) Thanks in advance..and thank you for creating something that works and getting me out of outdated SRM!!
-
View User Profile
-
Send Message
Posted Jan 18, 2015I don't get an inquires
-
View User Profile
-
Send Message
Posted Jan 18, 2015thanks
-
View User Profile
-
Send Message
Posted Jan 18, 2015@lostINParadies
Okey, I added you on Skype.
-
View User Profile
-
Send Message
Posted Jan 18, 2015yes, no error.
I can send you the ip at skype, my server is in build and whitelist is turn on. skype: fherter1
-
View User Profile
-
Send Message
Posted Jan 18, 2015@lostINParadies
Can't really see any problem so far, maybe you can send me the IP of your server and then I will take a look. Did you also check if the log contains any errors after you clicked a sign?
-
View User Profile
-
Send Message
Posted Jan 18, 2015here is the log and an output of as info region
http://pastebin.com/zdrc5tWR
-
View User Profile
-
Send Message
Posted Jan 18, 2015@lostINParadies
Please check your logs to see if there are any errors of AreaShop, and it would be nice if you could send me your latest log file (including the startup part). It would also be nice to see the output of '/as info region <regionname>'.