AreaShop V2.0.0

Details

  • Filename
    AreaShop.jar
  • Uploaded by
  • Uploaded
    Aug 27, 2014
  • Size
    141.59 KB
  • Downloads
    1,052
  • MD5
    0c7ef062cafb433de32874fe5ec2f119

Supported Bukkit Versions

  • CB 1.7.9-R0.2
  • CB 1.7.9-R0.1

Changelog

WARNING

Before updating to this version of the plugin make a backup of all worlds that contain regions registered in this plugin! After updating from a previous version the old config.yml will be placed in the folder '#old' because the config changed a lot, you can copy the old settings to the new config, just put them in the right position. In the '#old' folder are also the necessary files to revert back to version 1.X of AreaShop.

Feature changes

Note: sections in the config ending with 'Profile' can be assigned to region with the inheritance system. You can create new profiles by copying an existing one and changing the values. Parts you don't need can usually be left out.

  • Adds a permission to set the teleport location outside the WorldGuard region: areashop.setteleportoutsideregion (given to OPs by default)
  • If you remove a rent or buy region all the flags of the WorldGuard region will be reset
  • Adds extra checks for teleportation, now also check blocks around you so now a 3x3x4 shape will be checked for danger
  • Adds a setting in the config to specify what the default y coordinate should be for teleporting, setting 'teleportLocationY', values: bottom, middle, top
  • You can specify in the config if AreaShop messages in the console should be in color or not
  • Adds support for different limits for players by using permissions, declare limit groups in the section 'limitGroups' and then give players the permission 'areashop.limits.<group>', replacing <group> with the name of the group (if a player has multiple groups then highest limit will be used, by default they have group 'default' and OPs have 'unlimited')
  • Adds full customization of signs, in the section 'signProfiles' all lines of a sign can be changed and also the commands to execute when a players right/left clicks a sign (multiple commands can be used, it is a list). Tags are provided to insert region all region data (check config)
  • Adds support for multiple signs for one region, for every sign you can set the profile (profiles specified in the config), if not set the profile will be inherited from the region/groups/default.yml signs can be added by 'as addsign' or placing a sign with the first line '[as]', second line the region (optional if sign is inside region) and third line the profile (optional)
  • Adds support to execute commands at certain events (created, deleted, rented, extended, unrented, bought, sold) check config section 'eventCommandProfiles'
  • Flag settings are now by profile (check 'flagProfiles'), so regions can have different flags set (for example a different greeting)
  • Adds a setting to limit the maximum number of times a rent can be extended (check default.yml/groups/region files)

Command changes

  • Adds tab completion for all commands if you are OP or have the permission areashop.tabcomplete
  • Adds color and format support to greeting and farewell messages (use the normal bukkit formatting codes)
  • Adds a command to find an available rent/buy with an optional maximumprice (with no maxprice your balance will be used as max), /as find <buy|rent> [maxprice]
  • Adds extra optional parameter 'sign' to 'as tp', with that parameter you will teleport to the (first) sign instead of the region
  • With a lot of player command you don't have to specify a region anymore, just stand in the region and the plugin will detect it
  • Merges commands 'as rentrestore' and 'as buyrestore' into 'as setrestore'
  • Merges commands 'as buyprice' and 'as rentprice' into 'as setprice'
  • Adds 'as groupadd' command to add regions to groups. Rents and buys can be mixed, region can be specified or taken from your WorldEdit selection (adds them all), group will be created if it has no members yet
  • Adds 'as groupdel' command to delete regions from groups, region can be specified or taken from your WorldEdit selection (removes them all), if a groups is empty it will be removed
  • Adds 'as grouplist' command that lists all groups registered
  • Adds 'as groupinfo' command that displays members of the specified group
  • Adds 'as add' command to add a region or all regions inside your WorldEdit selection (no signs will be added)
  • Adds 'as del' command to delete a region from AreaShop or all inside your WorldEdit selection (signs will be removed)
  • Adds 'as addsign' command to add the sign you are looking at (max 100 blocks away) to the specified region (with optionally a profile)
  • Adds 'as delsign' command to delete the sign you are looking at from the region it belongs to
  • Adds 'as schemevent' command to manually trigger a schematic event

The new config system

The config system has drastically changed and an inheritance system has been added to support global, group and individual settings. Now the config only contains global settings and profiles, these profiles can be assigned with the inheritance system. A file called 'default.yml' will appear, this file contains all settings that can be changed globally, in a group or in a individual region. When you create a group with the build-in commands a file 'groups.yml' will appear, this contains the groups and members of the groups. Each region has its own file inside the folder '/regions' located inside the AreaShop folder, this file contains the individual settings. When checking a setting, for example 'price', the plugin first checks if it has been set in the region file, then it checks all groups assigned to the region for the setting (the one with highest priority will apply, or otherwise the first one with the setting). If it still did not find the setting it gets it from 'default.yml'. All settings in 'default.yml' can be used in group files and region files, just add them to the file, to for example set the price for a group with buy regions you add the setting 'price' inside the section 'buy'.

  • Commands added to the eventCommandProfiles do not run when the event happens, the plugin checks the wrong section (fixed for higher versions)
  • The teleport function does not consider the boundaries of the region anymore, fixed for newer versions.
  • Does not work with WorldGuard 6.0+, use WorldGuard 5.x