Servers.dat format

The servers.dat file located in the .minecraft folder is used to store the list of saved multiplayer servers. It does not store the direct connect IP address or any LAN server information. It is stored as an uncompressed NBT file.

NBT Structure

 * The root tag.
 * : List of compound tags, one for each saved server.
 * A saved server.
 * : The name of the server as defined by the player.
 * : Icon data, contains the icon file in a very long text.
 * : The IP address of the server.
 * : 1 or 0 (true/false) - true if the IP address should be hidden.
 * : 1 or 0 (true/false) - false if the user has selected "Never" when prompted to install a custom server resource pack.