  <span class="dt">player_id =</span> <span class="dv">5004347</span>)</span></code></pre></div>
</div>
<div id="close-the-connection" class="section level2">
<h2><span class="header-section-number">5.6</span> Close the connection</h2>
<p>Once you’re done, you can close the connection to the Minecraft server with the <code>mc_close()</code> function:</p>
<div class="sourceCode" id="cb46"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb46-1"><a href="building-a-tower-and-jumping-on-top.htm