public class SettingsEntries
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static @NotNull SettingsEntry<java.lang.Boolean> |
MESSAGE_LOG_SETTINGS_ENTRY
Whether to record of all text messages received from the server.
|
static @NotNull SettingsEntry<java.lang.String> |
SERVER
The server to which the previous connection was made.
|
Modifier and Type | Method and Description |
---|---|
static @NotNull SettingsEntry<java.lang.String> |
getLoginAccountSettingsEntry(@NotNull java.lang.String hostname)
Returns the
SettingsEntry for the default account name on a
server. |
static @NotNull SettingsEntry<java.lang.String> |
getLoginAccountSettingsEntry(@NotNull java.lang.String hostname,
@NotNull java.lang.String accountName)
Returns the
SettingsEntry for the default character name on an
account. |
static @NotNull SettingsEntry<java.lang.Long> |
getPickupSettingsEntry(@NotNull java.lang.String hostname,
@NotNull java.lang.String characterName)
Returns the
SettingsEntry for the default pickup mode of a
character. |
static @NotNull SettingsEntry<java.lang.String> |
getPlayerSettingsEntry(@NotNull java.lang.String hostname)
Returns the
SettingsEntry for the default character name on a
server. |
@NotNull public static final @NotNull SettingsEntry<java.lang.String> SERVER
@NotNull public static final @NotNull SettingsEntry<java.lang.Boolean> MESSAGE_LOG_SETTINGS_ENTRY
@NotNull public static @NotNull SettingsEntry<java.lang.String> getPlayerSettingsEntry(@NotNull @NotNull java.lang.String hostname)
SettingsEntry
for the default character name on a
server.hostname
- the hostname of the server@NotNull public static @NotNull SettingsEntry<java.lang.String> getLoginAccountSettingsEntry(@NotNull @NotNull java.lang.String hostname)
SettingsEntry
for the default account name on a
server.hostname
- the hostname of the server@NotNull public static @NotNull SettingsEntry<java.lang.String> getLoginAccountSettingsEntry(@NotNull @NotNull java.lang.String hostname, @NotNull @NotNull java.lang.String accountName)
SettingsEntry
for the default character name on an
account.hostname
- the hostname of the serveraccountName
- the name of the account@NotNull public static @NotNull SettingsEntry<java.lang.Long> getPickupSettingsEntry(@NotNull @NotNull java.lang.String hostname, @NotNull @NotNull java.lang.String characterName)
SettingsEntry
for the default pickup mode of a
character.hostname
- the hostname of the servercharacterName
- the name of the character