Lands Wiki
DiscordHome
For Server Admins
For Server Admins
  • Info
  • Configuration
    • Installation
    • Frequently asked Questions
    • Database
    • Playtime Rewards
    • Leaderboards
    • Roles and their Flags
    • Natural flags
    • Player Personal Settings
    • Wars
    • Levels
    • Regeneration
    • Discord Bot
    • PlaceholderAPI Placeholders
    • Camps
    • GUI Menus
    • Bedrock Forms
    • Messages
    • Translations
    • Events
  • Permissions
    • Recommendation
    • Player Commands
    • Admin Commands
    • Other Permissions
    • Luckperms Context
  • Admin & Moderation
    • Tools
  • Developers
    • Setup
    • Levels
    • Update
Powered by GitBook
On this page
Edit on GitHub
  1. Developers

Update

Since 6.26.0 the API has changed in some minor, but important ways. Mostly methods and classes that have been deprecated for years have been removed.

Changes

  • You now create a LandsIntegration instance via the static method of the LandsIntegration interface not directly through an constructor. This improves maintainability and backward support in the future.

  • getLand methods have been removed from the LandsIntegration. The reason is that it has been misused in the past to check flag states. The problem is that Lands offers sub areas inside lands. Therefore one should retrieve an Area to check flag states. Not just the land. As this check would only be done against the default area. Therefore, use getArea or getAreaUnloaded if the location is not loaded.

  • The old LandSetting enums have been removed. Please use Flags.<Flag> instead.

PreviousLevels

Last updated 5 months ago