dev.aurelium.auraskills.api.config.MainConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of auraskills-api Show documentation
Show all versions of auraskills-api Show documentation
API for AuraSkills, the ultra-versatile RPG skills plugin for Minecraft
package dev.aurelium.auraskills.api.config;
public interface MainConfig {
/**
* Gets whether XP gain is disabled when a player is in creative mode.
*
* @return whether XP gain is disabled in creative
*/
boolean isDisabledInCreative();
/**
* Gets the skill level that new players start out at, usually 0 or 1.
*
* @return the starting skill level
*/
int getStartLevel();
/**
* Gets the highest configured max level of all enabled skills.
*
* @return the highest skill max level
*/
int getHighestMaxLevel();
/**
* Gets whether jobs are enabled and an economy hook is registered. If true,
* it does not necessarily mean that job selection is enabled, use
* {@link #jobSelectionEnabled()} for that.
*
* @return true if jobs are enabled, false otherwise
*/
boolean isJobsEnabled();
/**
* Gets whether jobs and job selection are enabled.
*
* @return true if jobs selection is enabled, false otherwise
*/
boolean jobSelectionEnabled();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy