Skip to content

AreaShop V2.5.0

Compare
Choose a tag to compare
@NLthijs48 NLthijs48 released this 20 Oct 20:22
· 39 commits to master since this release

AreaShop 2.5.0

Works with Spigot/Bukkit 1.7.9 and above, tested until 1.13.1!

Features:

  • Minecraft 1.13 and 1.13.1 support.
  • WorldGuard 7 support.
  • WorldEdit 7 support.
  • Update all translations (pulled from Transifex).
  • Add import for RegionForSale regions:
    • /as import RegionForSale
    • Imports all regions from RegionForSale
    • Converts almost all settings to their AreaShop equivalent
    • Handles parent regions
  • Add setting to automatically extends a rent when the time is up: rent.autoExtend in default.yml.
  • Added options to disable players selling/reselling regions: buy.sellDisabled, buy.resellDisabled.
  • Add setting to disable cross-world teleports for the /as tp command: teleportCrossWorld in the general section of default.yml.
  • Add setting to disable cross-world teleports for the /as find command: findCrossWorld in the general section of default.yml.
  • Allow price and moneyBack values to be calculated dynamically:
    • All region variables can be used: price: "5*%volume%" would be $5 per cubic meter (block in the region).
    • Full JavaScript expressions and code can be used, the last statement will be the resulting price.
  • Add %volume% variable for the number of blocks in a region, which supports polygon regions correctly.
  • /as stack now allows the usage of # to choose the position of the number in the region name.
  • Add customizable metric suffixes, now you can decide when to shorten a number and how, see metricSymbols in config.yml.
  • Add support for automatically adding all AreaShop regions of a certain world to a RegionGroup

Technical:

  • BREAKING: BuyingRegionEvent, RentingRegionEvent and ResellingRegionEvent now use OfflinePlayer instead of Player, because renting/buying/reselling is now also possible while the player is offline.
  • Improved file loading mechanics
  • Improve sign update performance, AreaShop will never load chunks anymore, and will simply update signs when players load chunks.
  • Moved the messaging library to its own project: InteractiveMessenger
    • Added a lot of automated tests to ensure all functionality keeps working
    • Fixed bugs with formatting codes, line endings and hover messages
    • All user input that is inserted into messages is now escaped properly (using variables does not break the message anyore)
  • Add bStats.org analytics. Since mcstats.org is really unstable and offline half of the time I added bStats (which tracks the same information, plus the number of regions and their state), MCStats tracking will be removed in a future version.
  • Groups are never removed from groups.yml anymore, previously they were removed when they had zero regions, which wipe settings.
  • Github update checker has been added as replacement for the BukkitDev updater (it will never download anything, it just notifies about updates).
  • Only update WorldGuard region settings if they are different, this should prevent unnecessary saving by WorldGuard.
  • When new code is pushed to Github the translations on Transifex get updated automatically, so that translations can begin immediately.

Fixed:

  • Security issues caused by saving/restoring entities in schematics
  • Prevent missing schematicProfile causing an exception.
  • Setting schematicProfile in a region file.
  • Players could resell their region with a negative price.
  • Using landlordName without landlord (UUID) setting works correctly now.
  • Using /as addfriend with a player that is online for the first time.
  • Removing the English time modifiers from the config.yml file would cause all tasks to be broken, because their schedule time is defined with strings like 1 minute. The English modifiers from the config.yml inside the .jar file are always added now.
  • /as setowner for regions that are not yet rented has been fixed.
  • Restoring polygon regions will now only touch blocks that are actually inside the region.