dev.aurelium.auraskills.api.region.LocationManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of auraskills-api-bukkit Show documentation
Show all versions of auraskills-api-bukkit Show documentation
API for AuraSkills, the ultra-versatile RPG skills plugin for Minecraft
package dev.aurelium.auraskills.api.region;
import dev.aurelium.auraskills.api.skill.Skill;
import org.bukkit.Location;
import org.bukkit.entity.Player;
public interface LocationManager {
/**
* Checks whether the given locations is blocked from giving XP by the config or WorldGuard.
*
* @param location the location to check
* @return whether XP gain is blocked
*/
boolean isXpGainBlocked(Location location, Player player, Skill skill);
/**
* Gets whether the plugin features are disabled in a location. If disabled,
* all skills, stats, and abilities should not function.
*
* @param location the location to check
* @return whether the plugin is disabled
*/
boolean isPluginDisabled(Location location, Player player);
/**
* Gets whether tracking for player-placed blocks is disabled at a given location.
*
* @param location the location to check
* @return whether check replace is disabled
*/
boolean isCheckReplaceDisabled(Location location);
}