Minecraft Wiki
가입하기
Partition5896 (토론 | 기여)
편집 요약 없음
2번째 줄: 2번째 줄:
   
 
== Usage ==
 
== Usage ==
[[FILE:Outdated client.png|thumb|An outdated client attempting to connect to a server on a a newer version.]]
+
[[File:Outdated client.png|thumb|An outdated client attempting to connect to a server on a a newer version.]]
 
Client and server versions with the same protocol version are compatible with each other. For example, a client running [[Java Edition 1.8.9]] can connect to a server running [[Java Edition 1.8]], as both have a protocol version of 47.
 
Client and server versions with the same protocol version are compatible with each other. For example, a client running [[Java Edition 1.8.9]] can connect to a server running [[Java Edition 1.8]], as both have a protocol version of 47.
   
46번째 줄: 46번째 줄:
 
[[ja:プロトコルバージョン]]
 
[[ja:プロトコルバージョン]]
 
[[pt:Versão do protocolo]]
 
[[pt:Versão do protocolo]]
  +
[[ru:Версия протокола]]
  +
[[uk:Версія протоколу]]
 
[[zh:协议版本]]
 
[[zh:协议版本]]

2020년 5월 13일 (수) 11:58 판

Information icon
이 기능은 Java EditionBedrock Edition 전용입니다. 

A protocol version number[1] (PVN) is an integer used to check for incompatibilities between server versions.

Usage

파일:Outdated client.png

An outdated client attempting to connect to a server on a a newer version.

Client and server versions with the same protocol version are compatible with each other. For example, a client running Java Edition 1.8.9 can connect to a server running Java Edition 1.8, as both have a protocol version of 47.

Upon attempting to join a multiplayer server, the game will check if the client has a protocol version newer or older than the selected server; if it does, the game will then alert the player that their client (or the server) is outdated.

Versioning

All versions, including minor releases and development versions on both Java and Bedrock editions, have their own protocol version. The version takes the form of an ever-increasing positive integer unlike client versions. Protocol versions may occasionally be skipped between major releases.

Storage location

Each Minecraft build since 18w47b specifies its current protocol version in the version.json file, found in the root directory of the client and server jars.

  • version.json
    •  protocol_version: The protocol version of this build.

List of protocol versions

자바 에디션의 최신 버전인 1.20.1의 프로토콜 버전은 Pending이다.

History

Java Edition 클래식
?Added protocol versions.
Java Edition 알파
v1.0.17_02Reset the protocol version number to 1.
Java Edition
1.7.213w41aRewrote the protocol versioning system to use Netty, resetting protocol versions back to 0. Protocol versions before this update are not compatible with server versions with the same protocol number after this update.
Pocket Edition 알파
0.1.0Added protocol versions.

See also

  • Data version

References

  1. server.jar, located in class com.mojang.bridge.game.GameVersion