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 13, 2015Obviously an amazing plugin, any plans to support MySQL? It's a real lifesaver when your host has 'one of those moments' and corrupts all your databases/flatfiles (if you use an external host). Twice we've had to restore from backup, but our MySQL hosted files are an instant fix :)
-
View User Profile
-
Send Message
Posted Apr 12, 2015@silentspectr
Okey nice, good luck with using these plugins and just message me if you have questions.
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
for sure i recommend it it is fully compatible with AreaShop
only thing is this little buggy thing i told you but i asked the dev if he knows something
-
View User Profile
-
Send Message
Posted Apr 12, 2015@silentspectr
:)
If you know for sure that GrinGotts works correctly then please send me a message, then I know that I can recommend it to people if they need something similar. You can also just send me the link to a ticket if you create one.
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
thank you so much for all this time you took for me =) love your plugin
about the bug i told you
paying the sign with a gringotts vault works fine the only problem is when i click the sign with the money in my inventory but not directly in my hand.
i'll ask on the gringotts bukkit page to see where this comes from
-
View User Profile
-
Send Message
Posted Apr 12, 2015@silentspectr
I have compiled the new version with WorldEdit 6, I assumed you used that (it is recommended to use the same version for both WorldEdit and WorldGuard, but in practice it does not matter). If you want to use WorldEdit and WorldGuard 6+ then you can use the custom file from my last message (WorldEdit can be upgraded without problems normally, it does not save any data). If you want to keep using WorldGuard and WorldEdit 5, then you can use this version (Multiverse bug is fixed, otherwise regions in other worlds will disappear after restart), it is basically the same as you currently use, only chance is that it waits for Multiverse to load before loading AreaShop.
I have no idea how Gringotts works, so I don't know how you can pay with it. Clicking the sign with the item in hand is not different than clicking with empty hand for sure though. Maybe Gringotts has some sort of bank where you can store and retrieve your actual items? And AreaShop can only take from that bank then I guess. And maybe if you are OP Gringotts will allow payments always, but that is just a wild guess.
Edit: This part from the Usage page of Gringotts might be helpful:
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
Hi
it worked with worldguard 5.9 so i keep it like this
i found a pretty huge bug i have a zone and it works ok but my money is removed from my inventory only if i click the sign with it. if i click the signe with an empty hand, i keep my money but the rent is paid
maybe the bug comes from gringotts and not AreaShop
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
yay! a fresh upgrade just for me :p i'm so flattered
you rock
but i get the same error than before with this new version :
Error occurred while enabling AreaShop v1.2 (Is it up to date?) java.lang.NoClassDefFoundError: com/sk89q/worldedit/world/World
:/
PS: a no, my bad, but now the problem is with worldedit
PS2: i use world edit 5.6.3 for the record :p
-
View User Profile
-
Send Message
Posted Apr 12, 2015@silentspectr
Okey that is surprising, I found that the author of WorldGuard made a tool to convert back to the old format, so I expected it to break, check this page.
I just downloaded the source of V1.2.1 and upgraded it to use WorldGuard 6, so you can also use that version. I think the V1.2.1 version still has a bug which causes all regions that are created in a Multiverse world to be deleted, I also fixed that for the upgraded version. You can download that here: AreaShop V1.2.1 + WG6
Just let me know if you have any other questions.
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
hey good news worldguard downgrade didn't affect my regions
AreaShop 100% functional =)
now the configration part :p
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
well losing all of my regions is not an option (i have a lot) but i can try on a local copy of my server to see if my regions survive the downgrade
i'll let you know when it's done :p
thanks
-
View User Profile
-
Send Message
Posted Apr 12, 2015@silentspectr
Ah I know what that is, with AreaShop 1.2.1 you will need to use WorldGuard 5.9. They changed one of the exceptions and therefore the old AreaShop does not work with WorldGuard 6. So you have to downgrade WorldGuard, which is not easy. I think you will lose all your regions if you try to do that, that might be a problem if you have a lot of them.
Let me know if you can fixed your problem by downgrading WorldGuard or if you cannot do that.
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
hey thanks for the really quick reply
so i checked my logs and foud this part
http://pastebin.com/Es3Y9x6q
it looks like a worldguard thing but i really suck at debugging java :p
if you need more logs i'll give them to you
thank you
-
View User Profile
-
Send Message
Posted Apr 12, 2015@silentspectr
Good that Gringotts works for you.
The latest version of AreaShop will not work on a 1.7.2 server because that version does not have any functions for getting UUID's. Version 1.2.1 of AreaShop is indeed the one I recommend you use with a 1.7.2 server. If the command only displays the white help text then the plugin did not start correctly, check the log to see if there are any messages from AreaShop. It will indicate that dependencies are missing if that is the problem. I never tested that AreaShop version with WorldGuard 6.0, but I don't think that is the problem.
If you paste your "latest.log" file to pastebin.com or similar then I can take a look.
-
View User Profile
-
Send Message
Posted Apr 12, 2015@nlthijs48
Gringotts is amazing thanks for showing it to me
i installed AreaShop too (i supose it's compatible with gringotts since gringotts uses vault) but the commands don't work. when i type one, the chat displays " /AS or /AreaShop" i suppose it's because i used an incorrect version i'm on a cauldron server version 1.7.2 and my worldguard is at version 6.0.0 beta 02 i installed AreaShop 1.2.1 but is it possible for me to use a more recent update ? or it won't work ? thanks
-
View User Profile
-
Send Message
Posted Apr 11, 2015@silentspectr
AreaShop supports all Economy plugins that Vault supports, and I think there are some that use actual items and then integrate those with Vault. It looks like the Gringotts plugin does this, I however never used it myself so you have to test whether this is suitable. There might be some more plugins that do the same thing, just check item economy plugins and see if they integrate with Vault.
If you have any other questions then just let me know.
-
View User Profile
-
Send Message
Posted Apr 11, 2015Hi this plugin looks good
I don't use any economy plugin on my server but coins (items, not virtual) is it possible with that plugin to use items as currency ? or do someone know a plugin that does that ?
thanks
-
View User Profile
-
Send Message
Posted Apr 8, 2015@Jperl33
'Renewing' a cell is simply renting it again, you can also rent a cell again while you have already rented it to extend the period you have rented it for by one time the set time period. So the price and duration you set for a region is simply setting the price for renting the region a certain time, and then players can simply rent it in chunks of the time period you have set.
The price for 'renewing' is therefore simply the normal price and is already shown when you leftclick the sign.
@kwstoudt
You can add commands to certain events (renting, unrenting, extending, ...) from AreaShop with the 'commandProfiles' section in the config, but I think it will be hard to use LWC commands there. What you can do is setup the WorldGuard flags so that only members/owners of the region can open doors, and therefore only the player that rented/bought the region will be able to enter it (you can also set the 'entry' flag to prevent entry completely). Check the 'flagProfiles' section in the config for information about how to set it up (example included there).
If you have trouble setting it up then let me know and ill help you in more detail.
@MPFx
Okey, let me give you an example for the 'forrent' section:
This would set a region that is in the 'ForRent' state to priority 10, if you don't have the priority anywhere else then the region would simply keep this priority after it changes state, but you could also add the priority thing to all region states.
Let me know if you have more questions about it.
@Neometrik
Great, thanks! And thank you for trying to help others :)
-
View User Profile
-
Send Message
Posted Apr 7, 2015@nlthijs48
Thank you for your help! All fixed.
Amazing plugin 10/10 would rate again.
10/10
@MPFx Under "Members" and "Greeting" in the flagprofile add a new line and write "Priority: #" # of course being the priority.
-
View User Profile
-
Send Message
Posted Apr 6, 2015@nlthijs48
Sorry I do not Understand Where to put the priority
Sorry
MPF