Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Servers.dat format: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 16: Line 16:
**** {{nbt|byte|acceptTextures}}: 1 or 0 (true/false) - 0 if the player has selected ''Never'' when prompted to install a server [[Minecraft:resource pack]].
**** {{nbt|byte|acceptTextures}}: 1 or 0 (true/false) - 0 if the player has selected ''Never'' when prompted to install a server [[Minecraft:resource pack]].
**** {{nbt|byte|hidden}}: 1 or 0 (true/false) - 1 if the server isn't shown in the Multiplayer list.
**** {{nbt|byte|hidden}}: 1 or 0 (true/false) - 1 if the server isn't shown in the Multiplayer list.
**** {{nbt|int|acceptedCodeOfConduct}}: The hash code of the accepted [[Minecraft:code of conduct]] for the server. Absent if no code of conduct has been accepted.
</div>
</div>


Line 21: Line 22:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java beta}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.8|dev=Pre-release|Added <samp>server.dat</samp>, include tag <code>ip</code> and <code>name</code>, for saving server address and its name.}}
|{{HistoryLine||1.8|dev=Pre-release|Added <samp>servers.dat</samp>, include tag <code>ip</code> and <code>name</code>, for saving server address and its name.}}
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.4.2|dev=12w42a|Added <code>hideAddress</code> tag, for the client shows the address or not in the server list.}}
|{{HistoryLine||1.4.2|dev=12w42a|Added <code>hideAddress</code> tag, for the client shows the address or not in the server list.}}
Line 29: Line 30:
|{{HistoryLine||1.8|dev=14w17a|Added <code>acceptTextures</code> tag, for the client to select a default action to a server resource pack.
|{{HistoryLine||1.8|dev=14w17a|Added <code>acceptTextures</code> tag, for the client to select a default action to a server resource pack.
|Removed <code>hideAddress</code> tag.}}
|Removed <code>hideAddress</code> tag.}}
|{{HistoryLine||1.19|dev=pre1|Added <code>hidden</code> tag, for saving if the server appears in the Multiplayer list.}}
|{{HistoryLine||1.21.9|dev=25w34a|Added <code>acceptedCodeOfConduct</code> tag, for saving the accepted code of conduct.}}
}}
}}



Latest revision as of 11:14, 6 July 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 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 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

History

Template:HistoryTable

Navigation

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格式