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).
@scuroK
If you want to do that, go ahead. You certainly don't have to pay to use the plugin, but I appreciate every donation. :)
@nlthijs48
You are the man!! Thank you! Well I dont use paypal but i could send you a paysafe code.
Good luck!
@nlthijs48
Yes I have moved it from the WorldEdit schematics folder to your plugins schem folder, also when I paste that schematic manually in the intended area it works as desired. The reason it is air is because it is intended to reset a shop when the rent expires.
@DrunkMexic4n
It could be that the schematic you saved is wrong, what I see from the pictures is that my plugin did paste a schematic of size 8x3x6 which only contained air. If you load your schematic with WorldEdit and then paste it somewhere in the air, does it then paste the desired structure? Also make sure the size of your schematic is exactly the same size as the region that you use as rentregion.
And did you move/copy the schematic you saved with WordEdit from the '/WorldGuard/schematic' folder to the 'AreaShop/schem' folder? Because that is the folder that holds the schematics for AreaShop.
Hey I'm having a problem setting up the restore function using schematics, I have 12 regions that are rented and I have saved the schematics as odd and even, since they are facing each other the same schematic won't work as it would have to rotate 180 degrees. Everytime I unrent a region it changes from this http://gyazo.com/2a6e9866273b97f3bcb2e3fa75bc807a to this http://gyazo.com/6cfc792fc455dc54b3ded04707b73254.
This is the config I have http://pastebin.com/rdHj6NdG
@scuroK
@gepardo43
The major rewrite I'm doing is almost done, basically only bugtesting and the conversion to the new save format is left. If that is done I start with adding all the requested features. Starting on 22 july I will be away from home for 3 weeks because then I am on a holiday, I try to get a release out before that but it will be tight.
By the way, the donate button at the top of this page should work, I have linked that to my PayPal account.
@ZimBeller
That is because I simply set the 'greeting' flag of the WorldGuard region and if you delete a rent/buy the greeting will stay. I could just set the greeting to nothing if you remove a rent/buy, that would fix the problem, thanks for the report.
Now I get back to work on the plugin, I was already working on it when ZimBeller posted his message :)
BUG: After deleting a rent sign and the region is not for sale in any way, when someone walks into the region, it still says that this region is for sale.
@nlthijs48
When can you add this teleport function? Because SimpleRegionMarket is death and if I dont find a plugin very soon containing a function to tp Players to one free region my Server will go down because its depending on this.
I would like to make a little donation via Paysafe. Is this possible?
All the best, scuroK
Great plugin, im looking forward for this feature:
need this ASAP
thanks
@nlthijs48
Great! So basicly the only thing we need is a function to teleport players to a free region (and a permission for this). Is this difficult to do?
Thank you!
@scuroK
You can change that yourself in the config, in the 'flagsForSale' and 'flagsSold' section change the 'members:' lines to 'owners:'. Then the plugin should add the buyer of the region to the owners list instead of the members list. But be aware that if the owner adds players to the region by worldguard commands and then sells the region, the players added to the region by worldguard will not be removed as members, so they can still access the region.
Adding players to your region is on the list of things to add so if that is implemented the problem should be solved.
There is one last thing I want to suggest. If a player buys the thegion he becomes a member of the worldguard region but not the owner. If you change that so the player actually becomes the owner it would be possible for him to add other players. Because in worldguard there is a specific permission to allow players adding members to regions they own.
Regards
@nlthijs48
Thanks for your answer! I am looking foreward to the tp-to-free-region function! Thanks alot for your awesome work!
@SeeingBlue
Working on rewriting the basics of the plugin, after that I start on things like that.
@scuroK
That is a thing I would like to add. The way I use the plugin myself players can just walk to regions and they are all close to each other so that is why that function was not available before.
By default players have permission to sell their regions, you can however give them the negative permission for this to disable it. Check the Permissions page. But what you could also do is lower the percentage of money they get back in the config (change 'buyMoneyBack') then they wont hop to different region all the time. And another thing you could do is enabling region restoring, then their region will be wiped when they sell it so then they probably also don't want to sell/buy all the time.
and players can sell their regions and i can not prevent them! they have just permissions to buy but they can sell it!
Now the only thing i miss is a command to teleport players to just one free region without selecting it. for example the next region or the newest/oldest free region. So i dont have to give them permission fort areashop.teleportall. because they wanty to see the plot before they buy it.
@nlthijs48
OMFG I DIDNT READ IT RIGHT! Haha hurra! God bless you :)
Any progress on this yet?
@ShadowKillerHDx
I just fixed this problem on my own server. This is caused by having an older version of Vault with a newer version of AreaShop. Be sure that you're running Vault 1.4.1 and AreaShop 1.3.0.
@scuroK
A teleport function is already in the plugin since version 1.3.0, are you sure you use this version? This version is only for Bukkit 1.7.9+ so be sure to check if you have that.