Skip to content

AreaShop v2.2.0

Compare
Choose a tag to compare
@NLthijs48 NLthijs48 released this 31 Jul 21:58
· 328 commits to master since this release
  • Change to a module based Maven project to support dependencies with multiple versions:
    • 1 .jar file for AreaShop, no different files for certain dependencies anymore.
    • Support for WorldGuard 5 and WorldGuard 6.
    • Support for WorldEdit 5 and WorldEdit 6.
    • Setup to easily add support for more version if breaking changes in dependencies happen.
  • Add support for the new schematic save/restore classes of WorldEdit (supports entities).
  • Added the /as stack command to easily create and register a lot of regions, syntax:
    • /as stack <rent|buy> [group]
      • <amount> Number of regions that will be created
      • <gap> Blocks distance between the regions
      • <name> Name of the regions (number will be behind it)
      • <rent|buy> The type of the region
      • [group] A group to add the created regions to
      • The regions will be created in the direction you are facing
    • Don't be afraid to create 100+ regions with this command, it will do a certain number per tick, and therefore not lag/crash the server.
    • Setting stackRegionNumberLength to config.yml to indicate how long the numbers appended to the base region name should at least be (generate names like this: region-001, region-014, region-4567).
  • Make region loading non-descructive:
    Regions will never be removed again by AreaShop itself. If the world or WorldGuard region is missing that is required for the functions of the region then it will simply say so in the console. This will make sure that regions are not removed when you have trouble loading your world or your WorldGuard regions.
  • Make the update checker async, also when it cannot reach BukkitDev to check for updates it does not slow down the start of the server.
  • Fix /as setowner not saving the region file, and therefore losing changes when restarting the server.
  • Change Vault integration to support custom (not build into Vault) economies. This also enables support to change economies while the server is running.
  • Fix a bug with teleporting to regions, and add a message when the teleport changes from sign to region or the other way around (this happens when the user does not have permission for one of them, but has for the other).
  • Remove the enableSchematics setting from the config file, this setting is already in default.yml and only caused confusion.
  • Added landlord functionality:
    • Set the landlord of a region with /as setlandlord <player>.
    • Set the landlord in default.yml or groups by UUID or name.
    • All revenue of a region (buy/rental) will go to the landlord.
    • Permissions areashop.createrent.owner, areashop.createrent.member, areashop.createbuy.owner and areashop.createbuy.member to enable users to add existing WorldGuard regions to AreaShop if they are already owner/member (they are automatically assigned as landlord when they add regions).
    • Permissions areashop.destroybuy.landlord and areashop.destroyrent.landlord to give landlords the permission to remove their region from AreaShop.
    • Permission areashop.setprice.landlord to let landlords change the price of their region.
    • Permission areashop.setduration.landlord to let landlords change the duration of their region.
    • Permission areashop.landlord.* to give all landlord permissions to a player (all permissions above).
  • Added arguments default and reset to /as setprice and /as setduration to remove the setting from the region file (then it inherits it again from the groups or default.yml).
  • Support Metric prefixes (https://en.wikipedia.org/wiki/Metric_prefix) to display large numbers nicely. This means you can display numbers like 1000000 as 1.00G instead. Has options to indicate from which number prefixes should be used.
  • Added a decimalMark setting to config.yml to change the character used to indicate the fractional part of numbers (change from dot to comma for example).
  • Changed all time period settings in config files to a readable format like the rental times. Old values will still be read correctly, and should work exactly like in the old version.
  • Make sure regions are not unnecessary saved directly after loading them at server startup.
  • Fixed an issue with /as addfriend denying you to add players that just joined for the first time.
  • Fix a problem with depositing money to players that never joined the server (or for which there is no player.dat file anymore).
  • Add date and time variables for all config settings (can be used to save schematics as backup, creating a new one each time instead of overwriting).
  • Add fallback system for owners and landlords, if the UUID has no correct name within the Bukkit API it will use the cached name. This makes sure that these people can still be paid through Vault.