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
  • Levels
  • Level Requirements
Edit on GitHub
  1. Developers

Levels

PreviousSetupNextUpdate

Last updated 5 months ago

Levels

Levels can be configured in the levels.yml file of Lands. The level of a land or nation can be retrieved using this method:

Level Requirements

You can also add new level requirements programmatically. These must be added before Lands is fully enabled. The best way to achieve this, is registering the requirements at your onLoad method in your main class.\

  • You can use this method in your onLoad method of your main class:

  • Example: https://gist.github.com/Angeschossen/37f0e2b2641e2980d4a0ee489de81715

MemberHolder#getLevel
LandsIntegration#onLoad