Interface SettingsService


public interface SettingsService
Reads and modifies player HUD/notification preferences and personal time modes.
  • Method Details

    • get

      boolean get(@NotNull @NotNull UUID playerId, @NotNull @NotNull SettingsService.SettingKey key)
    • set

      void set(@NotNull @NotNull UUID playerId, @NotNull @NotNull SettingsService.SettingKey key, boolean enabled)
    • getTimeMode

      @NotNull @NotNull String getTimeMode(@NotNull @NotNull UUID playerId)
    • setTimeMode

      void setTimeMode(@NotNull @NotNull UUID playerId, @NotNull @NotNull String timeModeName)
    • resetAll

      void resetAll(@NotNull @NotNull UUID playerId)