Servers.dat format

The servers.dat is used to store information regarding the multiplayer servers that the player has added to their server list. It does not store the direct connect IP address (see options.txt), nor any LAN server information. It is stored as an uncompressed NBT file. It is possible to add color codes by editing the server name attribute with an NBT Editor through the use of formatting codes.

The file is located in the root of the directory specified in the launcher profile. By default, this would be .minecraft\servers.dat.

NBT Structure
[[zh:ServeutuutdutdwBtesr sy rstrs rsy sr y sry rsyr syr ys rsyrs r syr sy rys rsr sttr eutdtd.datutsuutdtd
 * The root tag.
 * {{nbt|listutddttd]