Share

Share

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 and NBT Editor, using the section sign ( § ).

NBT Structure[edit]


  • 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 very long text.

        •  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]