Servers.dat format

From Minecraft Wiki
Jump to: navigation, search
This article is a stub.
Please help us by expanding it.

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. It is possible to add color codes by editing the server name attribute with an NBT Editor, using the section sign ( § ).

NBT Structure[edit | edit source]

  • The root tag.

    •  servers: List of compound tags, one for each saved server.

      • A saved server.

        •  name: The name of the server as defined by the player.

        •  icon: Icon data, contains the icon file in a Base64 encoded binary file.

        •  ip: The IP address of the server.

        •  hideAddress: 1 or 0 (true/false) - true if the IP address should be hidden.

        •  acceptTextures: 1 or 0 (true/false) - false if the user has selected "Never" when prompted to install a custom server resource pack.

See also[edit | edit source]