Minecraft:Commands/version: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
}} | }} | ||
Presents the server's game version information to the client on the chat. | Presents the server's game version information to the client on the [[Minecraft:chat]]. | ||
== Usage == | == Usage == | ||
{{see also|version.json}} | {{see also|version.json}} | ||
Prints the server's game version information on the chat, such as the name, protocol version, and the resource pack and data pack formats. | Prints the server's game version information on the chat, such as the name, protocol version, and the [[Minecraft:Pack format|resource pack and data pack formats]]. | ||
This is similar to the {{key|F3+V}} debug hotkey, but presents server side info instead of client side. | This is similar to the {{key|F3+V}} [[Minecraft:debug hotkey]], but presents server side info instead of client side. | ||
The following is an example of what would be printed to chat on 1.21.8: | The following is an example of what would be printed to chat on [[Minecraft:1.21.8]]: | ||
<pre> | <pre> | ||
Server version info: | Server version info: | ||
| Line 30: | Line 30: | ||
EDITOR NOTE: | EDITOR NOTE: | ||
If you're updating this table, | If you're updating this table, | ||
don't forget to update version.json too. | don't forget to update [[Minecraft:version.json]] too. | ||
--> | --> | ||
{| class=wikitable | {| class=wikitable | ||
| Line 40: | Line 40: | ||
| Name || User-friendly name of the version, usually identical to ID. | | Name || User-friendly name of the version, usually identical to ID. | ||
|- | |- | ||
| Data || Data version | | Data || [[Minecraft:Data version]] | ||
|- | |- | ||
| Series || Identifies which branch the game comes from, the default | | Series || Identifies which branch the game comes from, the default value is "main". This can be seen in the [[Minecraft:version.json]] for older versions, for example, "deep_dark_preview" was used for [[Minecraft:Deep Dark Experimental Snapshot 1]] and "april<YYYY>" is used for [[Minecraft:April Fools' Day joke|joke versions]] released since 2022. | ||
|- | |- | ||
| Protocol || [[Minecraft:Protocol version]] | | Protocol || [[Minecraft:Protocol version]] | ||
| Line 48: | Line 48: | ||
| Build time || Timestamp of when the version was built, in local timezone. | | Build time || Timestamp of when the version was built, in local timezone. | ||
|- | |- | ||
| Pack resource || Resource pack format | | Pack resource || [[Minecraft:Resource pack format]] | ||
|- | |- | ||
| Pack data || Data pack format | | Pack data || [[Minecraft:Data pack format]] | ||
|- | |- | ||
| Stable || Yes for release versions, no for development versions | | Stable || Yes for release versions, no for development versions | ||
| Line 78: | Line 78: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/version | [[Minecraft:de:Befehl/version]] | ||
ja:コマンド/version | [[Minecraft:ja:コマンド/version]] | ||
lzh:令/version | [[Minecraft:lzh:令/version]] | ||
pt:Comandos/version | [[Minecraft:pt:Comandos/version]] | ||
ru:Команды консоли/version | [[Minecraft:ru:Команды консоли/version]] | ||
th:คำสั่ง/version | [[Minecraft:th:คำสั่ง/version]] | ||
zh:命令/version | [[Minecraft:zh:命令/version]] | ||
Latest revision as of 11:06, 16 April 2026
Template:Exclusive Template:Infobox command
Presents the server's game version information to the client on the Minecraft:chat.
Usage
Prints the server's game version information on the chat, such as the name, protocol version, and the resource pack and data pack formats.
This is similar to the Template:Key Minecraft:debug hotkey, but presents server side info instead of client side.
The following is an example of what would be printed to chat on Minecraft:1.21.8:
Server version info: id = 1.21.8 name = 1.21.8 data = 4440 series = main protocol = 772 (0x304) build_time = Tue Jul 17 12:00:57 UTC 2025 pack_resource = 64 pack_data = 81 stable = yes
| Field | Content |
|---|---|
| ID | Version ID string |
| Name | User-friendly name of the version, usually identical to ID. |
| Data | Minecraft:Data version |
| Series | Identifies which branch the game comes from, the default value is "main". This can be seen in the Minecraft:version.json for older versions, for example, "deep_dark_preview" was used for Minecraft:Deep Dark Experimental Snapshot 1 and "april<YYYY>" is used for joke versions released since 2022. |
| Protocol | Minecraft:Protocol version |
| Build time | Timestamp of when the version was built, in local timezone. |
| Pack resource | Minecraft:Resource pack format |
| Pack data | Minecraft:Data pack format |
| Stable | Yes for release versions, no for development versions |
Syntax
version
Result
Always successful.
Output
Template:Output table Template:Output table Template:Output table
History
Minecraft:de:Befehl/version Minecraft:ja:コマンド/version Minecraft:lzh:令/version Minecraft:pt:Comandos/version Minecraft:ru:Команды консоли/version Minecraft:th:คำสั่ง/version Minecraft:zh:命令/version