Interface LocationManager
public interface LocationManager
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCheckReplaceDisabled
(org.bukkit.Location location) Gets whether tracking for player-placed blocks is disabled at a given location.boolean
isPluginDisabled
(org.bukkit.Location location, org.bukkit.entity.Player player) Gets whether the plugin features are disabled in a location.boolean
isXpGainBlocked
(org.bukkit.Location location, org.bukkit.entity.Player player, Skill skill) Checks whether the given locations is blocked from giving XP by the config or WorldGuard.
-
Method Details
-
isXpGainBlocked
Checks whether the given locations is blocked from giving XP by the config or WorldGuard.- Parameters:
location
- the location to check- Returns:
- whether XP gain is blocked
-
isPluginDisabled
boolean isPluginDisabled(org.bukkit.Location location, org.bukkit.entity.Player player) Gets whether the plugin features are disabled in a location. If disabled, all skills, stats, and abilities should not function.- Parameters:
location
- the location to check- Returns:
- whether the plugin is disabled
-
isCheckReplaceDisabled
boolean isCheckReplaceDisabled(org.bukkit.Location location) Gets whether tracking for player-placed blocks is disabled at a given location.- Parameters:
location
- the location to check- Returns:
- whether check replace is disabled
-