Minecraft:Servers.dat format: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{exclusive|java}} | {{exclusive|java}} | ||
{{lowercase title}} | {{lowercase title}} | ||
The '''servers.dat''' is used to store information regarding the [[Minecraft:multiplayer]] [[Minecraft:servers]] that the player has added to their [[Minecraft:server list]]. It does not store the direct connect IP address (see [[Minecraft:options.txt]]), nor any [[Minecraft:LAN server]] information (as they are automatically detected by the game). It is stored as an uncompressed [[Minecraft:NBT]] file. It is possible to add color codes by editing the server name attribute with an NBT editor through the use of [[Minecraft:formatting codes]]. | The '''servers.dat''' is used to store information regarding the [[Minecraft:multiplayer]] [[Minecraft:servers]] that the player has added to their [[Minecraft:server list]]. It does not store the direct connect IP address (see [[Minecraft:options.txt (Java Edition)|options.txt]]), nor any [[Minecraft:LAN server]] information (as they are automatically detected by the game). It is stored as an uncompressed [[Minecraft:NBT]] file. It is possible to add color codes by editing the server name attribute with an NBT editor through the use of [[Minecraft:formatting codes]]. | ||
The file is located in the root of the game's directory specified in the [[Minecraft:launcher]] profile. By default, this would be {{cd|[[Minecraft:.minecraft]]/servers.dat}}. | The file is located in the root of the game's directory specified in the [[Minecraft:launcher]] profile. By default, this would be {{cd|[[Minecraft:.minecraft]]/servers.dat}}. | ||
Latest revision as of 11:15, 16 October 2026
Template:Exclusive Template:Lowercase title The servers.dat is used to store information regarding the Minecraft:multiplayer Minecraft:servers that the player has added to their Minecraft:server list. It does not store the direct connect IP address (see options.txt), nor any Minecraft:LAN server information (as they are automatically detected by the game). It is stored as an uncompressed Minecraft:NBT file. It is possible to add color codes by editing the server name attribute with an NBT editor through the use of Minecraft:formatting codes.
The file is located in the root of the game's directory specified in the Minecraft:launcher profile. By default, this would be Template:Cd.
NBT format
- Template:Nbt The root tag.
- Template:Nbt: List of compound tags, one for each saved server.
- Template:Nbt Information about the server.
- Template:Nbt: Base64-encoded PNG data of the server icon.
- Template:Nbt: The IP address of the server.
- Template:Nbt: The name of the server as defined by the player.
- Template:Nbt: 1 or 0 (true/false) - 0 if the player has selected Never when prompted to install a server Minecraft:resource pack.
- Template:Nbt: 1 or 0 (true/false) - 1 if the server isn't shown in the Multiplayer list.
- Template:Nbt: The hash code of the accepted Minecraft:code of conduct for the server. Absent if no code of conduct has been accepted.
- Template:Nbt Information about the server.
- Template:Nbt: List of compound tags, one for each saved server.
History
Template:Navbox Java Edition technical
Minecraft:de:Servers Format Minecraft:fr:Format servers.dat Minecraft:ja:servers.datフォーマット Minecraft:nl:Servers.dat formaat Minecraft:pt:Formato servers.dat Minecraft:zh:Servers.dat格式