public static interface NucleusUserPreferenceService.Keys
Modifier and Type | Method and Description |
---|---|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> |
commandSpyEnabled()
If the command spy module is enabled, gets a preference key that indicates whether the user
is receiving messages that indicate commands that are being run by other players.
|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> |
messageReceivingEnabled()
If the message module is enabled, gets a preference key that indicates whether the user
has is receiving private messages.
|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.util.Locale>> |
playerLocale() |
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> |
powertoolsEnabled()
If the powertool module is enabled, gets a preference key that indicates whether the user
has enabled powertools by attempting to use an object that is assigned to a powertool.
|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> |
socialSpyEnabled()
If the message module is enabled, gets a preference key that indicates whether the user
has enabled social spy.
|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> |
teleportTarget()
If the teleport module is enabled, gets a preference key that indicates whether the user
allows players to teleport to them.
|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> |
vanishOnLogin()
If the vanish module is enabled, gets a preference key that indicates whether the user
will vanish on login.
|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> |
viewStaffChat()
If the staff chat module is enabled, gets a preference key that indicates whether the user
is receiving messages on the staff chat channel.
|
java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> vanishOnLogin()
NucleusUserPreferenceService.PreferenceKey
, if the module is loaded.java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> teleportTarget()
NucleusUserPreferenceService.PreferenceKey
, if the module is loaded.java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> powertoolsEnabled()
NucleusUserPreferenceService.PreferenceKey
, if the module is loaded.java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> socialSpyEnabled()
NucleusUserPreferenceService.PreferenceKey
, if the module is loaded.java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> messageReceivingEnabled()
NucleusUserPreferenceService.PreferenceKey
, if the module is loaded.java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> commandSpyEnabled()
NucleusUserPreferenceService.PreferenceKey
, if the module is loaded.java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.lang.Boolean>> viewStaffChat()
NucleusUserPreferenceService.PreferenceKey
, if the module is loaded.java.util.Optional<NucleusUserPreferenceService.PreferenceKey<java.util.Locale>> playerLocale()