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).
@nlthijs48
I never had a problem with freezing, if it starts correctly it should work from there and after. If you don't have errors in your console or anything then I can't really help you solve this problem.
I'm already planning the switch to UUID's, but the plugin just works on 1.7.9+ untill Mojang enables changing your name. So you can just use my plugin and soon I will update it with UUID support and then you have to make sure you update to that version before Mojang enables changing names for all players.
@matze135
I think you have a problem with the WorldGuard plugin, it looks like it can't load the configuration file. Make sure the configuration file of WorldGuard has the right file permissions and check if WorldGuard gives messages in the console when you start your server.
Also, are you changing to the UUID name change update soon?
Hey, this plugin is great, good job! One thing, i have no clue if i'm the only one getting this error, but every once in a wile the plugin freezes up and you can't interact with signs and when you do any areashop command it says "/AreaShop or /AS" But if you reload the server it unfreezes. There's no errors in console or anything.
Thx. That Works.
But i create all signs, all work.
Restart Server and now dont work Plugin.
I don't delete a world.
@matze135
The only time that should happen is when you do this:
If you restart your server the problem should be solved, this bug will be fixed in the next version of the plugin. If you still have trouble you can also use '/as updatebuys' to update all signs, then it should be in german for sure.
nlthijs48:
When i create a sign is the text english on the sign.
Then right klick, i buy the region, the sign text is german.
I "/as sell <region>" the sign text is german.
@matze135
Is the text on the sign English instead of German? The text on the signs should be all German if you specified that in the config. The text in the chat while placing a sign does not use the language file (forgot those lines when adding language support, will be fixed in the next version). So if you created a new language file for German the text in the chat while placing a signs is still English.
Hopefully this explanation helped you.
Hi. Sorry for my english.
I have change in the config signBuyable and signBuyed to german.
Now i build a sign, this is english.
I buy the region and the sign is german, when i sell is german too.
@NoHoPeLess
I think you registered a rent/buy in a certain world, then deleted that world and then the next restart/reload of the server this error happened, could that be the case? This is a bug in the plugin, you could recreate a world with the same name again, then reload/restart and then the plugin removes the corrupt rent/buy because the sign and the region is gone. After that you can safely remove the world.
In the next version this bug will be fixed, if the trick above does not work you can PM me for getting a build with a fix for this issue (want to add more features before I release the next version here on Bukkit).
@Phoenix_IV
Thanks, the design is just some ascii characters and a lot of WikiCreole tags, had some time left so why not let it look nice :)
The story about why I created this plugin is a bit long, so I just PM you that.
...confused... 4 days work and now this:
and i do nothing... help?!?!
Hey nlthijs48,
I love the design of your plugin page! Just wanted to drop that. I am the author of a region plugin (RegionForSale) myself - so welcome to our world ;)
May I ask why you decided to write this plugin? Why are you not satisfied with the existing ones? (Curious of course)
Cheers!
@ProsperCraft
I started creating this plugin while 1.7.2 was already released, so I did not test it with 1.6.4. It could have problems with older versions of WorldGuard, WorldEdit or Vault. Because the plugin needs WorldGuard to get and change the regions it breaks when it can't communicate with WorldGuard.
Testing is the only way find out I guess.
Will this work using 1.6.4?
Thank you for your work! its amazing!
@nlthijs48
Very helpful. Thank you.
@Arrxzon
Okey nice, the other error is because you have a different version of WorldGuard, with the latest version (5.9) it should work. Let me know if that fixes the problem. Because of the error I think the region flags are not set properly?
@nlthijs48
that worked thanks. here is another bug trying to sell a region i don't mind this bug too much as my market regions are permanent http://pastebin.com/yXgLtDLV
@Arrxzon
I think you removed a region with worldguard while it was set up as a buy region in the plugin and was sold to a player. I will fix this bug for the next version of the plugin. To work out your situation for now do the following: recreate the region you deleted with the same name and then restart/reload the server. And then delete the sign from my plugin or use /as sell <regionname>. If you don't know the name of the region anymore then remove the 'buys' file in the plugin folder (then all buy regions are deregistered) or wait for the new version.
Sorry for the trouble.