Package me.libraryaddict.disguise
Class DisguiseConfig
java.lang.Object
me.libraryaddict.disguise.DisguiseConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCustomDisguise
(String disguiseName, String toParse) doOutput
(boolean informChangedUnknown, boolean informMissing) doOutput
(org.bukkit.configuration.ConfigurationSection config, boolean informChangedUnknown, boolean informMissing) static Map.Entry
<DisguisePerm, Disguise> getCustomDisguise
(String disguise) static Map.Entry
<DisguisePerm, Disguise> getCustomDisguise
(org.bukkit.command.CommandSender invoker, org.bukkit.entity.Entity target, String disguise) static Map.Entry
<DisguisePerm, Disguise> getCustomDisguise
(org.bukkit.entity.Entity target, String disguise) static Map.Entry
<DisguisePerm, String> getRawCustomDisguise
(String disguise) static int
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
Is the sound packets caught and modifiedstatic void
static void
static void
static me.libraryaddict.disguise.utilities.config.ConfigLoader
static void
removeCustomDisguise
(String disguise) static void
static void
setAnimationPacketsEnabled
(boolean enabled) static void
setAutoUpdate
(boolean update) static void
setBisectHosted
(boolean isBisectHosted, String serverIP) static void
setCollectPacketsEnabled
(boolean enabled) static void
setCommandVisibility
(org.bukkit.permissions.PermissionDefault permissionDefault) static void
setEntityStatusPacketsEnabled
(boolean enabled) static void
setEquipmentPacketsEnabled
(boolean enabled) static void
setHideArmorFromSelf
(boolean hideArmor) Set the plugin to hide self disguises armor from theirselvesstatic void
setHideHeldItemFromSelf
(boolean hideHelditem) Does the plugin appear to remove the item they are holding, to prevent a floating sword when they are viewing self disguisestatic void
setHittingRateLimit
(boolean hitRateLimit) static void
setLastUpdateRequest
(long lastRequest) static void
setMiscDisguisesForLivingEnabled
(boolean enabled) static void
setMovementPacketsEnabled
(boolean enabled) static void
setNotifyUpdate
(boolean update) static void
setSoundsEnabled
(boolean isSoundsEnabled) Set if the disguises play sounds when hurtstatic void
setUseTranslations
(boolean setUseTranslations) static void
setUsingReleaseBuilds
(boolean useReleaseBuilds) static void
setUUIDGeneratedVersion
(int uuidVersion)
-
Method Details
-
isDisplayTextName
public static boolean isDisplayTextName() -
isArmorstandsName
public static boolean isArmorstandsName() -
isExtendedNames
public static boolean isExtendedNames() -
isAutoUpdate
public static boolean isAutoUpdate() -
setAutoUpdate
public static void setAutoUpdate(boolean update) -
setNotifyUpdate
public static void setNotifyUpdate(boolean update) -
setLastUpdateRequest
public static void setLastUpdateRequest(long lastRequest) -
setUsingReleaseBuilds
public static void setUsingReleaseBuilds(boolean useReleaseBuilds) -
setHittingRateLimit
public static void setHittingRateLimit(boolean hitRateLimit) -
setBisectHosted
-
loadInternalConfig
public static void loadInternalConfig() -
saveInternalConfig
public static void saveInternalConfig() -
setCommandVisibility
public static void setCommandVisibility(org.bukkit.permissions.PermissionDefault permissionDefault) -
getUUIDGeneratedVersion
public static int getUUIDGeneratedVersion() -
setUUIDGeneratedVersion
public static void setUUIDGeneratedVersion(int uuidVersion) -
getCustomDisguise
-
getCustomDisguise
public static Map.Entry<DisguisePerm,Disguise> getCustomDisguise(org.bukkit.entity.Entity target, String disguise) throws Throwable - Throws:
Throwable
-
getCustomDisguise
public static Map.Entry<DisguisePerm,Disguise> getCustomDisguise(org.bukkit.command.CommandSender invoker, org.bukkit.entity.Entity target, String disguise) throws Throwable - Throws:
Throwable
-
isScoreboardNames
public static boolean isScoreboardNames() -
removeCustomDisguise
-
getRawCustomDisguise
-
setUseTranslations
public static void setUseTranslations(boolean setUseTranslations) -
loadPreConfig
public static me.libraryaddict.disguise.utilities.config.ConfigLoader loadPreConfig() -
loadConfig
public static void loadConfig() -
loadModdedDisguiseTypes
public static void loadModdedDisguiseTypes() -
doOutput
-
doOutput
-
addCustomDisguise
public static void addCustomDisguise(String disguiseName, String toParse) throws DisguiseParseException - Throws:
DisguiseParseException
-
isSoundEnabled
public static boolean isSoundEnabled()Is the sound packets caught and modified -
setAnimationPacketsEnabled
public static void setAnimationPacketsEnabled(boolean enabled) -
setCollectPacketsEnabled
public static void setCollectPacketsEnabled(boolean enabled) -
setEntityStatusPacketsEnabled
public static void setEntityStatusPacketsEnabled(boolean enabled) -
setEquipmentPacketsEnabled
public static void setEquipmentPacketsEnabled(boolean enabled) -
setHideArmorFromSelf
public static void setHideArmorFromSelf(boolean hideArmor) Set the plugin to hide self disguises armor from theirselves -
setHideHeldItemFromSelf
public static void setHideHeldItemFromSelf(boolean hideHelditem) Does the plugin appear to remove the item they are holding, to prevent a floating sword when they are viewing self disguise -
setMiscDisguisesForLivingEnabled
public static void setMiscDisguisesForLivingEnabled(boolean enabled) -
setMovementPacketsEnabled
public static void setMovementPacketsEnabled(boolean enabled) -
setSoundsEnabled
public static void setSoundsEnabled(boolean isSoundsEnabled) Set if the disguises play sounds when hurt
-