Package de.oliver.fancyholograms.api
Interface HologramConfiguration
public interface HologramConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether version notifications are muted.intReturns the interval at which autosave is performed.intReturns the default visibility distance for holograms.Returns the log level for the plugin.booleanReturns whether autosave is enabled.booleanReturns whether the plugin should register its commands.booleanReturns whether the plugin should save holograms when they are changed.voidreload(@NotNull FancyHologramsPlugin plugin) Reloads the configuration.
-
Method Details
-
reload
Reloads the configuration.- Parameters:
plugin- The plugin instance.
-
areVersionNotificationsMuted
boolean areVersionNotificationsMuted()Returns whether version notifications are muted.- Returns:
trueif version notifications are muted,falseotherwise.
-
isAutosaveEnabled
boolean isAutosaveEnabled()Returns whether autosave is enabled.- Returns:
trueif autosave is enabled,falseotherwise.
-
getAutosaveInterval
int getAutosaveInterval()Returns the interval at which autosave is performed.- Returns:
- The autosave interval in minutes.
-
isSaveOnChangedEnabled
boolean isSaveOnChangedEnabled()Returns whether the plugin should save holograms when they are changed.- Returns:
trueif the plugin should save holograms when they are changed,falseotherwise.
-
getDefaultVisibilityDistance
int getDefaultVisibilityDistance()Returns the default visibility distance for holograms.- Returns:
- The default hologram visibility distance.
-
isRegisterCommands
boolean isRegisterCommands()Returns whether the plugin should register its commands.- Returns:
trueif the plugin should register its commands,falseotherwise.
-
getLogLevel
String getLogLevel()Returns the log level for the plugin.- Returns:
- The log level for the plugin.
-