Class SettingsEntries


  • public class SettingsEntries
    extends java.lang.Object
    All defined entries in the settings file.
    • Field Detail

      • SERVER

        @NotNull
        public static final @NotNull SettingsEntry<java.lang.String> SERVER
        The server to which the previous connection was made.
      • MESSAGE_LOG_SETTINGS_ENTRY

        @NotNull
        public static final @NotNull SettingsEntry<java.lang.Boolean> MESSAGE_LOG_SETTINGS_ENTRY
        Whether to record of all text messages received from the server.
    • Method Detail

      • getPlayerSettingsEntry

        @NotNull
        public static @NotNull SettingsEntry<java.lang.String> getPlayerSettingsEntry​(@NotNull
                                                                                      @NotNull java.lang.String hostname)
        Returns the SettingsEntry for the default character name on a server.
        Parameters:
        hostname - the hostname of the server
        Returns:
        the settings entry
      • getLoginAccountSettingsEntry

        @NotNull
        public static @NotNull SettingsEntry<java.lang.String> getLoginAccountSettingsEntry​(@NotNull
                                                                                            @NotNull java.lang.String hostname)
        Returns the SettingsEntry for the default account name on a server.
        Parameters:
        hostname - the hostname of the server
        Returns:
        the settings entry
      • getLoginAccountSettingsEntry

        @NotNull
        public static @NotNull SettingsEntry<java.lang.String> getLoginAccountSettingsEntry​(@NotNull
                                                                                            @NotNull java.lang.String hostname,
                                                                                            @NotNull
                                                                                            @NotNull java.lang.String accountName)
        Returns the SettingsEntry for the default character name on an account.
        Parameters:
        hostname - the hostname of the server
        accountName - the name of the account
        Returns:
        the settings entry
      • getPickupSettingsEntry

        @NotNull
        public static @NotNull SettingsEntry<java.lang.Long> getPickupSettingsEntry​(@NotNull
                                                                                    @NotNull java.lang.String hostname,
                                                                                    @NotNull
                                                                                    @NotNull java.lang.String characterName)
        Returns the SettingsEntry for the default pickup mode of a character.
        Parameters:
        hostname - the hostname of the server
        characterName - the name of the character
        Returns:
        the settings entry