Wiki ArticleJava EditionCommands

/version

Presents the server's game version information to the client on the chat.

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 F3 + V debug hotkey, but presents server side info instead of client side.

This feature is exclusive to Java Edition.
 

Presents the server's game version information to the client on the chat.

Usage

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.

This is similar to the F3 + V 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:

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 Data version
Series Identifies which branch the game comes from, the default value is "main". This can be seen in the version.json for older versions, for example, "deep_dark_preview" was used for Deep Dark Experimental Snapshot 1 and "april<YYYY>" is used for joke versions released since 2022.
Protocol Protocol version
Build time Timestamp of when the version was built, in local timezone.
Pack resource Resource pack format
Pack data Data pack format
Stable Yes for release versions, no for development versions

Syntax

version

Result

Always successful.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
AnyJava EditionOn success111

History

Java Edition
1.21.625w15aAdded /version.