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).
can't get this plugin to enable on 1.7.5 even do it did work for a few hours http://pastebin.com/pcseqrkN
@omgGrim
With the default config the items (and the chest itself) are left in the region, the next person that buys/rents the region gets them. You can enable the schematics restore functionality and then the region will restore as it was before the rent, information about enabling and configuring this at this page.
@tmort06
Resetting the region after a rent is already in the plugin, just set 'useRentRestor' to true, when you place a sign it will save the region and after a rent or when you delete the sign it will restore the region. More information on this page.
Did you copy the EN.yml file and changed the name to something like FR.yml? The default language files get overridden at each reload/restart. If you called the file FR.yml you should put 'FR' in the config as your language, did you do this?
If a player rents a region and they put items in a chest. And then the rent time is over. What happens to the items in the chest? Are they deleted? Are they given automatically to the player? Are they left there and someone else can rent and take it?
Hi ! Can you add reset blocks region at the end of rent in option ? I need this please. I'm french, the language file doesn't change after modifications and reload plugin.
Thanks for working. Good bye. tmort06
@Tunner3406
Tomorrow I have my last exam from this period on the university, so I start working on that this weekend. I add the feature to the 'Planned features' section, it is not that hard to add so should not take long.
Also for people interested, version 1.2 of the plugin is waiting for approval, changelog above and the documentation is already updated for that.
@Tunner3406
Working on this? would be very interesting to sell parcels without putting the name of the region. For example ProtectionStones as it creates a complicated name writing
@SeeingBlue
At the moment the money just goes to the server (so it is gone). If you can explain me what you want to use it for then I can try to add it to the plugin. Maybe I can visit your server and you can show to me what you want to do?
Just send me a PM and I see what I can do.
Who's getting paid here?
For rentals? The owner should get paid. For buys? The creator should get paid.
Would be cool if I could allow players to create buyable property and get paid when it sells.
I problem I ran in in the config when trying to do this is if I remove the owner when the sign is created then I won't know who to pay when the sign is sold. Currently the config doesn't allow you to remove the owner when the sign is sold as your only reference or varliable is %player% which would be the buyer in this event.
@andrivard4
That is something that needs to be added to the plugin, I added it to a 'Planned features' section on this page.
Thanks for suggesting.
Hey, is there a way to limit the amount of rents someone can do, so they can't extend their rent infenltly. If not can you add that as a feature?
@resqcreeper2
Do you have an error in the console or do you have another problem? Can you post the error using pastebin.com?
it wont work for me and i have world gaurd
@Dyenx999
All messages can be customized with the language files, check this page.
Also restoring of a region is already in the plugin, it is off by default. If you want to use it, change 'useRentRestore' and 'useBuyRestore' to true, and then if you place a sign for a new buy/rent region it will create a schematic. I will restore this schematic when the rent is over, a player sells the region or if you delete the sign. More documentation about this feature will be added to this page soon.
@nlthijs48
You should add it so we can customize the messages and when the rent is up the region area gets reset.
@omgGrim
That is a good suggestion, I try to add that for the upcoming version.
@sammyturbo123
Not sure if I will add that, I need to think about a good way to implement that.
@Kxtct
Make sure you set the priority of the small regions higher that the big covering region. You can add a line to the config of my plugin to automatically set the priority of the regions for renting and selling. Add " priority: 1" to the flagsForRent, flagsRented, flagsForSale, flagsSold sections, and it should automatically set the priority to that value.
@nlthijs48
Somehow it worked. But how do I put a plot for rent? I'm OP.
@Kxtct if you have the region just set the flag to build allow
How would you allow players to build inside of a region? I have a MALL region which covers the entire mall And Several small regions Red1,Red2, Etc So how would players be able to build inside the RED1 region since they conflict. The player has also rented Red1
Please add where u can add people to your bought region.