Schnittstelle HologramConfiguration


public interface HologramConfiguration
  • Methodendetails

    • reload

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

      boolean areVersionNotificationsMuted()
      Returns whether version notifications are muted.
      Gibt zurück:
      true if version notifications are muted, false otherwise.
    • isAutosaveEnabled

      boolean isAutosaveEnabled()
      Returns whether autosave is enabled.
      Gibt zurück:
      true if autosave is enabled, false otherwise.
    • 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:
      true if the plugin should save holograms when they are changed, false otherwise.
    • 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:
      true if the plugin should register its commands, false otherwise.
    • reportErrorsToSentry

      boolean reportErrorsToSentry()
      Returns whether the plugin should send errors to Sentry.
      Gibt zurück:
      true if the plugin should send errors to Sentry, false otherwise.