Package de.oliver.fancyholograms.api
Schnittstelle HologramConfiguration
public interface HologramConfiguration
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanReturns 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.
-
Methodendetails
-
reload
Reloads the configuration.- Parameter:
plugin- The plugin instance.
-
areVersionNotificationsMuted
boolean areVersionNotificationsMuted()Returns whether version notifications are muted.- Gibt zurück:
trueif version notifications are muted,falseotherwise.
-
isAutosaveEnabled
boolean isAutosaveEnabled()Returns whether autosave is enabled.- Gibt zurück:
trueif autosave is enabled,falseotherwise.
-
getAutosaveInterval
int getAutosaveInterval()Returns the interval at which autosave is performed.- Gibt zurück:
- The autosave interval in minutes.
-
isSaveOnChangedEnabled
boolean isSaveOnChangedEnabled()Returns whether the plugin should save holograms when they are changed.- Gibt zurück:
trueif the plugin should save holograms when they are changed,falseotherwise.
-
getDefaultVisibilityDistance
int getDefaultVisibilityDistance()Returns the default visibility distance for holograms.- Gibt zurück:
- The default hologram visibility distance.
-
isRegisterCommands
boolean isRegisterCommands()Returns whether the plugin should register its commands.- Gibt zurück:
trueif the plugin should register its commands,falseotherwise.
-
getLogLevel
String getLogLevel()Returns the log level for the plugin.- Gibt zurück:
- The log level for the plugin.
-