Interface SettingsService
public interface SettingsService
Reads and modifies player HUD/notification preferences and personal time modes.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(@NotNull UUID playerId, @NotNull SettingsService.SettingKey key) @NotNull StringgetTimeMode(@NotNull UUID playerId) voidvoidset(@NotNull UUID playerId, @NotNull SettingsService.SettingKey key, boolean enabled) voidsetTimeMode(@NotNull UUID playerId, @NotNull String timeModeName)
-
Method Details
-
get
-
set
void set(@NotNull @NotNull UUID playerId, @NotNull @NotNull SettingsService.SettingKey key, boolean enabled) -
getTimeMode
-
setTimeMode
-
resetAll
-