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 Feb 3, 2015@PowerofGermany
'areashop.teleport' is indeed one of the permissions that all players have by default, check the Permissions page to see what the default values for permissions are (the value between the round braces, as described in the first paragraph). So if you want to prevent player from teleporting you need to give them the negated permission, if you use PermissionsEX it would be '-areashop.teleport', but that might be different if you use another permissions plugin. If you want to fully prevent teleporting you need to negate these four permissions:
I think you also misunderstood the teleportIntoRegion and teleportSignIntoRegion settings, those are only to decide if the 'find a safe teleport spot'-algorithm should stay within the region boundaries or not (one setting for teleporting to signs, and one for teleporting to the region itself). So these settings have nothing to do with giving a players access to teleporting or not.
The last bug you are talking about should already be fixed, please check if you have the latest version of AreaShop that is available.
@jaredt1771gaming
I deleted your comment because a huge stacktrace should not be posted here, please use pastebin.com to generate a link to those. Because I spotted the error immediately I can already tell you what is wrong, you have a Java below version 7, but you need at least version 7 to use AreaShop. It is really important you keep Java up-to-date, and it could even make your server a bit faster. A pastebin link to your server log: pastebin.com/2cNyjT1i
-
View User Profile
-
Send Message
Posted Feb 3, 2015Hey, got some questions and/or bugs. ;)
First of all if they don't have the permission areashop.teleport and teleportintoregion is false.. but still they can use /as tp [regionname] and.. it works. :D Why? doe they ahve the permission by default? (I haven't done this) Why can they still use it if both teleportIntoRegion and /teleportSignIntoRegion are false??
And I think there is a other bug. I can't use /as settp [regionname] when I stay outside of a region. Every timeit says, that im not standing in a region and I should say the region name as argument, but I do.
-
View User Profile
-
Send Message
Posted Jan 29, 2015@RevengeCreeper
It does not give any items back when restoring a schematic for a region. That would be impossible because I cannot access the inventory of the player while he is offline, and even if I could do that then what would happen if he did not have room in his inventory?
@Ironic8b49
You probably have your server running while you are doing that, otherwise it would not remove it I think. Added you on Skype.
@xtomyserrax
It will not take that long before AreaShop will be updated, first finish the translation ;) I appreciate you translate it to be used by other servers as well, thanks!
@LaughNgamez
Maybe I will send you a test build in a private message, but I'm working on some features that are currently not finished, so I don't think it is smart to release a version of AreaShop to the public now.
@james426lee
I'm glad that you like the plugin :)
I agree that some sort of confirmation before doing risky actions (renting, unrenting, etc) is something that could be added. I have added it to my TODO list and I will see what I can do with it. Maybe I will implement fancy chat actions first and then use the click effects in chat to let a player click a green 'Confirm' button or something like that.
With the default configuration the items/blocks are indeed gone, but there is a way to change that. If you modify the 'schematicProfiles' section of the config to save the region at unrent/sell to a file called 'backup-%player%' then you would have a file like 'backup-NLThijs48.schematic' in the schem folder after a player unrented/sold a region. So then you would be able to manually load that schematic and paste it back into the world (requires you to move the schematic to the appropriate WorldGuard folder). It would however cause a lot of files in the schem folder if you have a lot of different players renting and buying regions, and the restoring of items is still manual.
Requiring items as a price for a region instead of or in addition to money is an interesting concept. I would however need to think about that for a while to see how I can make that flexible enough to be used with any item you want (possibly with detecting item name, lore, enchants, damage value, etc). I also added this to my TODO list.
-
View User Profile
-
Send Message
Posted Jan 29, 2015Thanks for this great plugin. I love using it ever since I found it.
Here is my suggestion for improvement: 1) if there is a restore mode activated, players should be alert before unrenting or selling the shop. Like asking for confirmation while warning everything will be removed and unclaimable. (So far, I dont see a way to restore if player's stuff are cleared from the region. Might be more advanced settings i dont know of) 2) add an extra parameter on the shop price. such as the price for a shop: 5000 coins AND 30 diamonds. This is to encourage voting as if you have set that as the reward for voting.
Just some ideas I would love to see =) James
-
View User Profile
-
Send Message
Posted Jan 28, 2015@nlthijs48
Could you please release a build that fixes this? The user I'm trying to remove has been on the server, but I will try doing it manually thanks.
-
View User Profile
-
Send Message
Posted Jan 28, 2015@nlthijs48
It could be great that when i finish translating you update the plugin! With or without bug fixes! Just a small update for spanish language.
Because i didnt translate the plugin in my server, i am just translating it for all spanish people!
-
View User Profile
-
Send Message
Posted Jan 28, 2015<<reply 246
@nlthijs48
when I add the price in the group file it don't stay I assume the plugin removes it cause I'm not entering it correct. Ironic_8b49 is the username I use in skype,
-
View User Profile
-
Send Message
Posted Jan 28, 2015Question: When it auto restores the region does it give the items in the region to the user who owned it or not?
-
View User Profile
-
Send Message
Posted Jan 28, 2015@xtomyserrax
I don't exactly know when the next update will be, if a bugfix is needed anytime soon then I will release a version for that, but otherwise it could take a while because I'm implementing some new things.
I'm aware of the broken colors for greeting/farewell flags in the latest WorldGuard versions, check this ticket to stay up-to-date about it.
@LaughNgamez
I have already fixed that bug, but there is not yet a version released including that fix. This problem only occurs if the person you are trying to remove did not visit the server yet. A temporary solution is manually removing this friend:
Note: it is also possible that one of the other friends is causing this problem, so maybe removing all of them and then adding them again ingame is better.
@Ironic8b49
What exactly does not work? If you give me your Skype I can help you easily with it, just PM me (creating a ticket or commenting here is also fine if you prefer that).
-
View User Profile
-
Send Message
Posted Jan 27, 2015I have been working on this group thing about updating price as in the video made by PerkulatorTime. Just can't get it to work.
-
View User Profile
-
Send Message
Posted Jan 27, 2015@nlthijs48
My mistake here is the full error from the log file That is the full error generated.
-
View User Profile
-
Send Message
Posted Jan 27, 2015@nlthijs48
When will be the next update?
I found this error in a message when you enter to an Area Shop: http://imgur.com/cEkxFTz (This error is in the english language)
-
View User Profile
-
Send Message
Posted Jan 27, 2015@Ironic8b49
Please create a ticket for this, it could be a problem with your config file (specifically the flagProfiles section)
@xtomyserrax
I just approved the request for the Spanish language for you, thanks for translating! The next update of AreaShop will include it if it is complete enough at that time.
-
View User Profile
-
Send Message
Posted Jan 27, 2015I am translating here: https://www.transifex.com/projects/p/areashop/
Your plugin into spanish!
-
View User Profile
-
Send Message
Posted Jan 27, 2015I updated Spigot to Build #27 now when a shop is rented the player is not added as a regions member. I'm running AreaShop 2.1.4 with worldguard 6.0 #1473 on the old Spigot and it worked. Now I'm using worldguard-6.0.0-beta-05 and Spigot 1.8 #27 and I also downgraded Worldguard to worldguard 6.0 #1473 no luck. If I was to do a /rg addmember (region name) (player) everything works.
-
View User Profile
-
Send Message
Posted Jan 27, 2015@LaughNgamez
The error you posted is not complete, the useful part is missing ('Skipped 8 lines due to rate limit...'). Please open your log that is located in the logs folder and copy the complete error from there and send that to me again.
For now I cannot do much else for you until I have the error, something you can check though is if you have the correct 2.1.4 version suitable for WG 5.9.
-
View User Profile
-
Send Message
Posted Jan 26, 2015I get this error and certain commands won't run, please fix if possible or tell me what I'm doing wrong.
Using wg 5.9, as 2.1.4 Spigot 1.7.10 accepting 1.8 clients.
Thanks in advance :)
-
View User Profile
-
Send Message
Posted Jan 26, 2015a very good solution! thx :)
-
View User Profile
-
Send Message
Posted Jan 26, 2015@SaintSchmitty
What you are suggesting was not possible, but I have added a setting for it now. I added the setting 'findTeleportToSign' to default.yml, which can be set to true or false, which teleports you to the first sign or to the '/as settp' location respectively. The next update will include this setting and fix your problem.
@EnderdragonDotDe
I'm not too keen on adding another command (list is growing and growing) for a little feature like this, so I added it to the '/as info' command. It now has an extra option for the second argument with the name 'nogroup', which lists the buy and rent regions that have no groups assigned to them.
@Ironic8b49
WorldGuard uses weird color codes they invented themselves, so AreaShop translates the default Bukkit color codes (&1, &2, ... &f) to the WorldGuard variants. But it looks like the colors are not working correctly with your setup, which version of WorldGuard are you using? Maybe it is better to create a ticket and provide all information there, that is a bit easier.
-
View User Profile
-
Send Message
Posted Jan 25, 2015Greeting error: for some reason the color codes are not working for all the flagProfiles greetings, I get &G in chat with instead of color change when config is &2 and &w in chat instead of color change when config is &f was running 2.0.2 when I first got the problem upgraded to 2.1.4 and still have it. I have not deleted folder and started over.