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

 * TAG_Compound(""): The root tag.
 * TAG_List("servers"): List of compound tags, one for each saved server.
 * TAG_Compound: A saved server.
 * TAG_String("name"): The name of the server as defined by the player.
 * TAG_String("ip"): The IP address of the server.