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 Apr 4, 2015Is there any way to add a command to rented regions to allow LWC access to a door so only members of the region can access the door? (ex /cmodify <player>)
-
View User Profile
-
Send Message
Posted Apr 4, 2015Is there a way to renew cells? In this case, it could show how much money a person needs to pay in order to renew the rent on their cell and keep it. Once the player does not renew their rent for the specified time, the cell rent time will expire and be available to other players.
-
View User Profile
-
Send Message
Posted Apr 4, 2015@Neometrik
On your picture i see that the region has 1 member, therefore I assume it is rented. And it also shows that the priority is 2, just as you have listed in the flagprofile. The mistake you made is that you tried to add a state to the 'default' flagProfile instead of creating a new flagprofile and assigning that to the correct region. You should copy the 'default' thing and all states below that, and paste it below. Then change the name from 'default' to something else, and modify the properties. After that you set the 'flagProfile' option in a group from groups.yml or in an individual region to that new profile.
One other thing, in the 'caste' group in the 'groups.yml' file you added the 'flagProfile' option, but this option should be inside a 'general' section, otherwise it is at the wrong spot and will not work.
Let me know if you can solve your problem with that.
@Jperl33
Ah okey, getting the right dependencies for the correct bukkit/spigot version always seems to give problems, I can't do much more to fix that though.
-
View User Profile
-
Send Message
Posted Apr 3, 2015@Jperl33
Edit: Issue solved. I did not have the correct version of World guard installed. Sorry for bothering you so much!
-
View User Profile
-
Send Message
Posted Apr 3, 2015@nlthijs48
Thank you! However, I cannot seem to get things to work still.
Flag Profile - http://i.imgur.com/8MGB8aI.png
Group - http://i.imgur.com/A4NKjDv.png
Outcome - http://i.imgur.com/xesbqSa.png
Sorry to be such a bother!
-
View User Profile
-
Send Message
Posted Apr 3, 2015@nlthijs48
After installing the plugin, and setting it up to my preferences and needs, I have tried to create a rent region of a small worldguard region with priority over the global. When I follow the format from the config, and from the website, the sign does not turn into an AreaShop sign, it just stays as black text. There did not seem to be any errors in the console, and I have checked to make sure that I have the correct permissions to create the region signs. I am running spigot 1.7.10 as well.
-
View User Profile
-
Send Message
Posted Apr 3, 2015@Jperl33
"it does not seem to work", explain please. Do you have errors in the console? Does the command not work? Something else not working as expected?
Describe your problem and then I can try to do/say something about it.
@Neometrik
For the custom WorldGuard flags you can simply make a new flag profile in the 'flagProfiles' section in the config, and then set the 'flagProfile' setting in the group to the name of the new profile. Then that group will use the other profile and therefore you can have different flags.
The priority in a group from groups.yml is not linked to the WorldGuard region priority in any way. The priority in groups.yml is to determine which settings should be used for a certain region if it has multiple groups assigned to it. If you want to set the WorldGuard region priority then you can simply add the following line to a state of a flagProfile, with the same indentation as the 'greeting' and 'members' lines:
Replace <number> with the priority you want to set.
Let me know if that helps you or if you have any other questions.
-
View User Profile
-
Send Message
Posted Apr 2, 2015How exactly would one go about adding custom worldguard flags to groups?
Also~ it doesn't seem like the group "priority" option has any affect over flagProfiles in the config.
-
View User Profile
-
Send Message
Posted Apr 2, 2015I have downloaded area shop on my 1.7.10 server, but it does not seem to work. Have I misunderstood a previous reply?
-
View User Profile
-
Send Message
Posted Apr 1, 2015@DiamondDan1
I get email notifications about all tickets, so I have seen it, but I had no time to answer it yet. Answered it now.
@Jperl33
Thanks @DiamondDan1 for the nice answer, one thing to note is that the 'sudo' command is in the Essentials plugin, so make sure you have that.
-
View User Profile
-
Send Message
Posted Apr 1, 2015@Jperl33
Sudo is basically forcing another player to run a command. For example, If I type /sudo {player name} (command) then it should force that player to run the command I typed in.
Example: /sudo Diamond_Dan1 warp Cells This will force Diamond_Dan1 to type /warp Cells.
-
View User Profile
-
Send Message
Posted Mar 31, 2015Hey, I was wondering. What does "sudo" mean? I am kind of a noob at all this technical language. Thanks :)
-
View User Profile
-
Send Message
Posted Mar 31, 2015Hey, I love the plugin and it works perfectly except I'm having a problem with the Groups.yml folder and I submitted a ticket. I'm not sure if you check tickets often but can you please check it out?
-
View User Profile
-
Send Message
Posted Mar 31, 2015@MPFx
Setting the priority is already possible, just use 'priority' and a number behind it. Event setting the parent of a region is possible ('parent' and name of region).
Yeah indeed, so then you would need to use '/sethome <regioname>' executed by the player itself (use sudo), and then it works correctly.
Glad to help you, just ask if you have any other questions :)
-
View User Profile
-
Send Message
Posted Mar 31, 2015@nlthijs48
Thank you It work
Maybe you could add in the flag profiles to set the priority as well this would be a good idea.
The /home would work with 2 shops since when the do /home it comes up with 2 shop numbers because thats 2 shops the own and if you only have 1 shop and the do /home it auto teleports you.
Thank you for all your help
MPF
-
View User Profile
-
Send Message
Posted Mar 30, 2015@MPFx
Did you use chest-access: "deny" in the flagProfiles section of the AreaShop config? Because that would indeed block anyone from accessing chests. Use this line to make it work for members/owners:
That would indeed be a shorter command, you could add an alias so that they only have to type 1 letter + shopname. Or you could set their home as I explained below (only works properly if they can only have 1 shop).
-
View User Profile
-
Send Message
Posted Mar 30, 2015@nlthijs48
EDIT: fixed it thank you
No problem But iv got some issues now I do not know weather it is world guard or the plugin Im using WG 6 and last version of area shop but the region when they rent they cannot access there chest him not using lwc since iv hand problems with it before) I'm using world guard chest access deny but when they are member surely they should be able to access the chest since they are a member of the region (please Help)
Sorry if it is not your plugins fault and if it is world guards fault
Thank you for replying
btw pepole find it easier to do /home than /as tp <shop>
MPF
-
View User Profile
-
Send Message
Posted Mar 30, 2015@MPFx
1) That would not work in combination with the current command, what if a region name and player name are the same? What I like to add instead is a command that completely wipes a player from the AreaShop system (unrent/sell regions, remove as friend, remove as landowner), that could also be useful for executing when a player is banned. That command would then have a different name so that they don't clash.
2) Why would you want to set a home if there are already the '/as tp' and '/as settp' commands? Did you know about those? I have seen servers that automatically teleport a player to a region once they first join, then execute '/as buy' for them, and then also execute '/sethome' for them, that would give them a region and also set the home in the middle of the region.
Thanks you for your suggestions, I appreciate that people think with me to improve AreaShop.
@Jperl33
Yes there is, you can do this by using the limitGroups system. That system is there for specifying how much regions can be bought/rented by each player, so if you set the limit to 0 it will simply prevent them from buying/renting it. Check this page for more information and an example.
If you can't manage to figure it out with use of the example above then just message me (provide your current attempt, all config files and a description of the setup you need).
-
View User Profile
-
Send Message
Posted Mar 29, 2015I was wondering, is there a way to deny players access to purchase a certain group of cells? For example, if a player was in the "A" rank, and I did not want them to be able to purchase the "B" rank cells, how could I set this up?
-
View User Profile
-
Send Message
Posted Mar 29, 2015Iv just updated it is great but iv got a few suggestions.
1) /as unrent <player> unrents All shops owned by the player
2) sethome for the player (use essentials) evan though they do not have permission (like the command is treated like they are op) and when they unrent the region there homes get removed
Thank you for begin an active and friendly developer
MPF