Interface MainConfig


public interface MainConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the highest configured max level of all enabled skills.
    int
    Gets the skill level that new players start out at, usually 0 or 1.
    boolean
    Gets whether XP gain is disabled when a player is in creative mode.
  • Method Details

    • isDisabledInCreative

      boolean isDisabledInCreative()
      Gets whether XP gain is disabled when a player is in creative mode.
      Returns:
      whether XP gain is disabled in creative
    • getStartLevel

      int getStartLevel()
      Gets the skill level that new players start out at, usually 0 or 1.
      Returns:
      the starting skill level
    • getHighestMaxLevel

      int getHighestMaxLevel()
      Gets the highest configured max level of all enabled skills.
      Returns:
      the highest skill max level