<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikivg.spaghett.dev/index.php?action=history&amp;feed=atom&amp;title=Zh%3AProtocol_FAQ</id>
	<title>Zh:Protocol FAQ - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikivg.spaghett.dev/index.php?action=history&amp;feed=atom&amp;title=Zh%3AProtocol_FAQ"/>
	<link rel="alternate" type="text/html" href="https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;action=history"/>
	<updated>2026-04-06T00:47:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10383&amp;oldid=prev</id>
		<title>imported&gt;Kaniol at 08:53, 18 November 2019</title>
		<link rel="alternate" type="text/html" href="https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10383&amp;oldid=prev"/>
		<updated>2019-11-18T08:53:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:53, 18 November 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;人们总是会有一些关于Minecraft Modern [[ZH:Protocol|协议]]的问题，所以我们将在本文档中讲述其中一些最常见的。如果你仍有麻烦，在IRC上加入我们，[irc://irc.freenode.net/mcdevs irc.freenode.net上的频道#mcdevs]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;人们总是会有一些关于Minecraft Modern [[ZH:Protocol|协议]]的问题，所以我们将在本文档中讲述其中一些最常见的。如果你仍有麻烦，在IRC上加入我们，[irc://irc.freenode.net/mcdevs irc.freenode.net上的频道#mcdevs]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 协议文档完备了吗？ ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 协议文档完备了吗？ ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 客户端的正常登入顺序是什么样的？ ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 客户端的正常登入顺序是什么样的？ ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有关与Mojang服务器的交流，见[[ZH:Authentication|认证]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有关与Mojang服务器的交流，见[[ZH:Authentication|认证]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;推荐的登入流程看起来像这样，其中&amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;是客户端而&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;是服务端：&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;推荐的登入流程看起来像这样，其中&amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;是客户端而&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;是服务端：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 客户端连接至服务端&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 客户端连接至服务端&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;C&#039;&#039;&#039;→&#039;&#039;&#039;S&#039;&#039;&#039;: [[ZH:Protocol#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Handshake&lt;/del&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Handshake&lt;/del&gt;]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;State&lt;/del&gt;=2&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;C&#039;&#039;&#039;→&#039;&#039;&#039;S&#039;&#039;&#039;: [[ZH:Protocol#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;握手&lt;/ins&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;握手&lt;/ins&gt;]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;状态&lt;/ins&gt;=2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;→&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;: [[ZH:Protocol#开始登入|开始登入]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;→&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;: [[ZH:Protocol#开始登入|开始登入]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;→&amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: [[ZH:Protocol#加密请求|加密请求]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;→&amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: [[ZH:Protocol#加密请求|加密请求]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果服务端为离线模式，它不会发送[[ZH:Protocol#加密请求|加密请求]]数据包，相似地，客户端也不应发送[[ZH:Protocol#加密响应|加密响应]]。在这种情况下，从不会启用加密，也不会出现任何认证。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果服务端为离线模式，它不会发送[[ZH:Protocol#加密请求|加密请求]]数据包，相似地，客户端也不应发送[[ZH:Protocol#加密响应|加密响应]]。在这种情况下，从不会启用加密，也不会出现任何认证。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果服务端发送了一个不含[[ZH:Protocol#加密请求|加密请求]]的[[ZH:Protocol#登入成功|登入成功]]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;，那么客户端就会知道服务器为离线模式&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果服务端发送了一个不含[[ZH:Protocol#加密请求|加密请求]]的[[ZH:Protocol#登入成功|登入成功]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;，那么客户端就会知道服务器为离线模式。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 我觉得我啥都没做错，但是… ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 我觉得我啥都没做错，但是… ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== …我的玩家没有生成！ ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== …我的玩家没有生成！ ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;发送一些常规的数据包之后（[[ZH:Protocol#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Handshake&lt;/del&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Handshake&lt;/del&gt;]]、[[ZH:Protocol#开始登入|开始登入]]、[[ZH:Protocol#窗口物品|物品栏]]、[[ZH:Protocol#生成位置|指南针]]和[[ZH:Protocol|区块数据|区块]]），你最后会需要将玩家的[[ZH:Protocol#玩家位置和外观|初始位置]]发送给他们，这样他们就会离开“加载地图中”的屏幕。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;发送一些常规的数据包之后（[[ZH:Protocol#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;握手&lt;/ins&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;握手&lt;/ins&gt;]]、[[ZH:Protocol#开始登入|开始登入]]、[[ZH:Protocol#窗口物品|物品栏]]、[[ZH:Protocol#生成位置|指南针]]和[[ZH:Protocol|区块数据|区块]]），你最后会需要将玩家的[[ZH:Protocol#玩家位置和外观|初始位置]]发送给他们，这样他们就会离开“加载地图中”的屏幕。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;注意如果使用了以下步骤，那么一个Minecraft客户端会生成玩家：&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;注意如果使用了以下步骤，那么一个Minecraft客户端会生成玩家：&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 执行握手（见[[ZH:Protocol Encryption]])&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 执行握手（见[[ZH:Protocol Encryption&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|协议加密&lt;/ins&gt;]])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 发送[[ZH:Protocol#生成位置|生成位置]]数据包&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 发送[[ZH:Protocol#生成位置|生成位置]]数据包&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 发送[[ZH:Protocol#玩家位置和外观|玩家位置和外观]]数据包&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# 发送[[ZH:Protocol#玩家位置和外观|玩家位置和外观]]数据包&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;上述步骤对于Minecraft 1.4.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5来说已经足够了，发送数据包是一种很好的形式，因为这会在允许玩家生成之前告知客户端玩家周围的世界&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;上述步骤对于Minecraft 1.4.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5来说已经足够了，发送数据包是一种很好的形式，因为这会在允许玩家生成之前告知客户端玩家周围的世界。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== …我的数据包没有接受到完整的地图区块！ ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== …我的数据包没有接受到完整的地图区块！ ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Kaniol</name></author>
	</entry>
	<entry>
		<id>https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10382&amp;oldid=prev</id>
		<title>imported&gt;Kaniol at 15:10, 17 November 2019</title>
		<link rel="alternate" type="text/html" href="https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10382&amp;oldid=prev"/>
		<updated>2019-11-17T15:10:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;amp;diff=10382&amp;amp;oldid=10381&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>imported&gt;Kaniol</name></author>
	</entry>
	<entry>
		<id>https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10381&amp;oldid=prev</id>
		<title>imported&gt;Kaniol: Kaniol moved page ZH:协议FAQ to ZH:Protocol FAQ</title>
		<link rel="alternate" type="text/html" href="https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10381&amp;oldid=prev"/>
		<updated>2019-09-30T23:36:45Z</updated>

		<summary type="html">&lt;p&gt;Kaniol moved page &lt;a href=&quot;/index.php?title=ZH:%E5%8D%8F%E8%AE%AEFAQ&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ZH:协议FAQ (page does not exist)&quot;&gt;ZH:协议FAQ&lt;/a&gt; to &lt;a href=&quot;/index.php?title=ZH:Protocol_FAQ&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ZH:Protocol FAQ (page does not exist)&quot;&gt;ZH:Protocol FAQ&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:36, 30 September 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Kaniol</name></author>
	</entry>
	<entry>
		<id>https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10380&amp;oldid=prev</id>
		<title>imported&gt;Hempflower: Created page with &quot;People very, very often have questions regarding the Minecraft Modern Protocol, so we&#039;ll try to address some of the most common ones on this document. If you&#039;re still havi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikivg.spaghett.dev/index.php?title=Zh:Protocol_FAQ&amp;diff=10380&amp;oldid=prev"/>
		<updated>2019-09-29T16:38:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;People very, very often have questions regarding the Minecraft Modern &lt;a href=&quot;/index.php/Protocol&quot; title=&quot;Protocol&quot;&gt;Protocol&lt;/a&gt;, so we&amp;#039;ll try to address some of the most common ones on this document. If you&amp;#039;re still havi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;People very, very often have questions regarding the Minecraft Modern [[Protocol]], so we&amp;#039;ll try to address some of the most common ones on this document. If you&amp;#039;re still having trouble, join us on IRC, channel [irc://irc.freenode.net/mcdevs #mcdevs on irc.freenode.net].&lt;br /&gt;
&lt;br /&gt;
== Is the protocol documentation complete? ==&lt;br /&gt;
&lt;br /&gt;
Depending on your definition, &amp;#039;&amp;#039;yes&amp;#039;&amp;#039;! All packet types are known and their layout documented. Some finer details are missing, but everything you need to make functional programs is present. We also collect information on the [[pre-release protocol]] changes, allowing us to quickly document new releases.&lt;br /&gt;
&lt;br /&gt;
== What&amp;#039;s the normal login sequence for a client? ==&lt;br /&gt;
&lt;br /&gt;
See [[Authentication]] for communication with Mojang&amp;#039;s servers.&lt;br /&gt;
&lt;br /&gt;
The recommended login sequence looks like this, where &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; is the client and &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; is the server:&lt;br /&gt;
&lt;br /&gt;
# Client connects to server&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Handshake|Handshake]] State=2&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Login Start|Login Start]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Encryption Request|Encryption Request]]&lt;br /&gt;
# Client auth&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Encryption Response|Encryption Response]]&lt;br /&gt;
# Server auth, both enable encryption&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Set Compression|Set Compression]] (Optional, enables compression)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Login Success|Login Success]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Join Game|Join Game]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Plugin Message (clientbound) |Plugin Message]]: [[Plugin channel#minecraft%3Abrand|&amp;lt;code&amp;gt;minecraft:brand&amp;lt;/code&amp;gt;]] with the server&amp;#039;s brand (Optional)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Server Difficulty|Server Difficulty]] (Optional)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Player Abilities (clientbound)|Player Abilities]] (Optional)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Plugin Message (serverbound)|Plugin Message]]: [[Plugin channel#minecraft%3Abrand|&amp;lt;code&amp;gt;minecraft:brand&amp;lt;/code&amp;gt;]] with the client&amp;#039;s brand (Optional)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Client Settings|Client Settings]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Held Item Change (clientbound)|Held Item Change]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Declare Recipes|Declare Recipes]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Tags|Tags]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Entity Status|Entity Status]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Declare Commands|Declare Commands]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Unlock Recipes|Unlock Recipes]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Player Position And Look (clientbound)|Player Position And Look]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Player Info|Player Info]] (Add Player action)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Player Info|Player Info]] (Update latency action)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Update View Position|Update View Position]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Update Light|Update Light]] (One sent for each chunk in a square centered on the player&amp;#039;s position)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Chunk Data|Chunk Data]] (One sent for each chunk in a square centered on the player&amp;#039;s position)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#World Border|World Border]] (Once the world is finished loading)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Spawn Position|Spawn Position]] (“home” spawn, not where the client will spawn on login)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Player Position And Look (clientbound)|Player Position And Look]] (Required, tells the client they&amp;#039;re ready to spawn)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Teleport Confirm|Teleport Confirm]]&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Player Position And Look (serverbound)|Player Position And Look]] (to confirm the spawn position)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C→S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Client Status|Client Status]] (sent either before or while receiving chunks, further testing needed, server handles correctly if not sent)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S→C&amp;#039;&amp;#039;&amp;#039;: inventory, entities, etc&lt;br /&gt;
&lt;br /&gt;
== Offline mode ==&lt;br /&gt;
If the server is in offline mode, it will not send the [[Protocol#Encryption Request|Encryption Request]] packet, and likewise, the client should not send [[Protocol#Encryption Response|Encryption Response]]. In this case, encryption is never enabled, and no authentication is performed.&lt;br /&gt;
&lt;br /&gt;
Clients can tell that a server is in offline mode if the server sends a [[Protocol#Login Success|Logic Success]] without sending [[Protocol#Encryption Request|Encryption Request]].&lt;br /&gt;
&lt;br /&gt;
== I think I&amp;#039;ve done everything right, but… ==&lt;br /&gt;
&lt;br /&gt;
=== …my player isn&amp;#039;t spawning! ===&lt;br /&gt;
&lt;br /&gt;
After sending the common-sense packets ([[Protocol#Handshake|Handshake]], [[Protocol#Login Start|Login Start]], [[Protocol#Window Items|inventory]], [[Protocol#Spawn Position|compass]], and [[Protocol#Chunk Data|chunks]]), you need to finally send the player their [[Protocol#Player Position And Look|initial position]] for them to leave the “Loading Map” screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note that if the following steps are taken, a Minecraft client will spawn the player:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
# Do Handshake (see [[Protocol Encryption]])&lt;br /&gt;
# Send [[Protocol#Spawn Position|Spawn Position]] packet&lt;br /&gt;
# Send [[Protocol#Player Position And Look|Player Position And Look]] packet&lt;br /&gt;
&lt;br /&gt;
While the above steps are sufficient for Minecraft 1.4.5, it is good form to send packets that inform the client about the world around the player before allowing the player to spawn.&lt;br /&gt;
&lt;br /&gt;
=== …my client isn&amp;#039;t receiving complete map chunks! ===&lt;br /&gt;
&amp;#039;&amp;#039;Main article: [[How to Write a Client]]&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The standard Minecraft server sends full chunks only when your client is sending player status update packets (any of [[Protocol#Player|Player (0x03)]] through [[Protocol#Player Position And Look|Player Position And Look (0x06)]]).&lt;br /&gt;
&lt;br /&gt;
=== …all connecting clients spasm and jerk uncontrollably! ===&lt;br /&gt;
&lt;br /&gt;
For newer clients, your server needs to send 49 chunks ahead of time, not just one. Send a 7×7 square of chunks, centered on the connecting client&amp;#039;s position, &amp;#039;&amp;#039;before&amp;#039;&amp;#039; spawning them.&lt;br /&gt;
&lt;br /&gt;
=== …the client is trying to send an invalid packet that begins with 0xFE01 ===&lt;br /&gt;
&lt;br /&gt;
The client is attempting a [[Server_List_Ping#1.6|legacy ping]], this happens if your server did not respond to the [[Server List Ping]] properly, including if it sent malformed JSON.&lt;br /&gt;
&lt;br /&gt;
=== ...the client disconnects after some time with a &amp;quot;Timed out&amp;quot; error ===&lt;br /&gt;
&lt;br /&gt;
The server is expected to send a [[Protocol#Keep Alive (clientbound)|Keep Alive]] packet every second, and the client should respond with the serverbound version of that packet. If either party does not receive keep alives for some period of time, they will disconnect.&lt;br /&gt;
&lt;br /&gt;
[[Category:Protocol Details]]&lt;br /&gt;
[[Category:Minecraft Modern]]&lt;br /&gt;
&lt;br /&gt;
== How do I open/save a command block? ==&lt;br /&gt;
&lt;br /&gt;
The process to actually open the command block window clientside is somewhat complex; the client actually uses the [[Protocol#Update Block Entity|Update Block Entity (0x09)]] packet to open it.&lt;br /&gt;
&lt;br /&gt;
First, the client must have at least an {{Minecraft Wiki|Server.properties#op-permission-level|OP permission level}} of 2, or else the client will refuse to open the command block.  (The op permission level is set with the [[Protocol#Entity Status|Entity Status]] packet)&lt;br /&gt;
&lt;br /&gt;
To actually open the command block:&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;→&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Player Block Placement|Player Block Placement (0x1C)]], with the position being the command block that was right-clicked.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;→&amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: [[Protocol#Update Block Entity|Update Block Entity (0x09)]], with the NBT of the command block.&lt;br /&gt;
&lt;br /&gt;
And to save it, use the [[Plugin channels#MC.7CAutoCmd|&amp;lt;code&amp;gt;MC|AutoCmd&amp;lt;/code&amp;gt; plugin channel]].&lt;/div&gt;</summary>
		<author><name>imported&gt;Hempflower</name></author>
	</entry>
</feed>