Interface HologramConfiguration


public interface HologramConfiguration
  • Method Details

    • reload

      void reload(@NotNull @NotNull FancyHologramsPlugin plugin)
      Reloads the configuration.
      Parameters:
      plugin - The plugin instance.
    • isAutosaveEnabled

      boolean isAutosaveEnabled()
      Returns whether autosave is enabled.
      Returns:
      true if autosave is enabled, false otherwise.
    • 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:
      true if the plugin should save holograms when they are changed, false otherwise.
    • getLogLevel

      String getLogLevel()
      Returns the log level for the plugin.
      Returns:
      The log level for the plugin.
    • isHologramLoadLogging

      boolean isHologramLoadLogging()
      Returns whether hologram load logging on world loading is enabled or disabled.
      Returns:
      true if hologram loading should be logged on world loading, false otherwise.
    • areVersionNotificationsEnabled

      boolean areVersionNotificationsEnabled()
      Returns whether version notifications are enabled or disabled.
      Returns:
      true if version notifications are enabled, false otherwise.
    • 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:
      true if the plugin should register its commands, false otherwise.
    • getUpdateVisibilityInterval

      int getUpdateVisibilityInterval()
      Returns the interval at which hologram visibility is updated.
      Returns:
      The hologram visibility update interval in milliseconds.