Skip to content

AreaShop v2.2.2

Compare
Choose a tag to compare
@NLthijs48 NLthijs48 released this 05 Mar 23:24
· 262 commits to master since this release

Additions:

  • Add full 1.9 compatibility (only stats reporting and some tab completions were broken, all other functionality was functional already).
  • Add feature that lets players rent a region at least to the maximum rental time (before they could not extend before the region had max-duration time left). Can be turned off in the default.yml file with extendToFullWhenAboveMaxRentTime.
  • Add event system:
    • 'ask' type events that can be cancelled, broadcasted before the action happens.
    • 'notify' type events that cannot be cancelled, but only let you know that it has happened.
    • Events for renting (with extending flag), unrenting, buying, selling, reselling, adding and removing.
    • General 'RegionUpdateEvent' to listen to as display service (update signs, update regions flags, etc).
    • Can be used to write addons for AreaShop.
    • Is currently only used for updating signs and regions, but other parts of AreaShop will also be using it soon.
  • Add areashop.linksigns permissions to the areashop.* permissions group.
  • Add priority, interact and build flag to the default config.yml file, helps to reduce support for issues with this.
  • Add middle and number options to the teleportLocationY setting in default.yml.
  • Add variable support for all language messages that can support it, which means where a region is known.
  • Add Czech language, translated by Fractival.

Fixes:

  • Fix last active time of players sometimes not updating correctly, influences inactive unrent/sell feature.
  • Fix message variables for /as info player <player>.
  • Fix the n:<name> option for member/owner region flags (the n: was not stripped away before adding them).