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.
    boolean
    Gets whether jobs are enabled and an economy hook is registered.
    boolean
    Gets whether jobs and job selection are enabled.
  • 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
    • isJobsEnabled

      boolean isJobsEnabled()
      Gets whether jobs are enabled and an economy hook is registered. If true, it does not necessarily mean that job selection is enabled, use jobSelectionEnabled() for that.
      Returns:
      true if jobs are enabled, false otherwise
    • jobSelectionEnabled

      boolean jobSelectionEnabled()
      Gets whether jobs and job selection are enabled.
      Returns:
      true if jobs selection is enabled, false otherwise