//$body .= ' <p>An SRV record is used, so no port needs to be specified.</p>';
$body.=' <p>We recommend you use <a href="https://multimc.org/" target="_blank" rel="noopener">MultiMC</a>/<a href="https://polymc.org/" target="_blank" rel="noopener">PolyMC</a> for easy version and mod management and <a href="https://adoptium.net/">Adoptium Java 17</a> to actually be able to launch the game. Other launchers work completely fine though.</p>';
$body.='</div>';
$body.='<div class="bedrock">';
$body.=' <h2>Bedrock versions</h2>';
$body.=' <p>Through the black magic bestowed upon us by <a href="https://geysermc.org/" target="_blank" rel="noopener">GeyserMC</a> it\'s possible to play on the server through any of the updated Bedrock versions of Minecraft.</p>';
$body.=' <p>This should allow you to play on the server from a phone, a tablet or a console, provided you also have an account for the original version of the game.</p>';
$body.=' <p>You will need to link your Minecraft and Bedrock accounts, you can do this by connecting to <code>link.geysermc.org</code> in both versions of the game and following the on-screen instructions.</p>';
$body.=' <p>Unfortunately, the Bedrock versions of the game don\'t support SRV records, so you\'ll have to join with a different address:</p>';
$body.=' <p>This will revoke your access to the server.</p>';
$body.=sprintf(' <p>You are currently whitelisted as <b>%s</b> on <b>%s</b>.</p>',$userInfo->mc_username,date('Y-m-d H:i:s T',$userInfo->mc_whitelisted));
$body.=' <p>An SRV record is used, so no port needs to be specified.</p>';
$body.=' <p>There\'s a pack for <a href="https://multimc.org/" target="_blank" rel="noopener">MultiMC</a>/<a href="https://polymc.org/" target="_blank" rel="noopener">PolyMC</a> somewhere and you\'ll probably need <a href="https://adoptium.net/">Adoptium Java 17</a> to actually be able to launch the game. Other launchers work completely fine though, probably.</p>';
$body.=' <p>This server doesn\'t currently use a whitelist, so you don\'t have to worry about that.</p>';
$body.='</div>';
}else{
$body.='<div class="loggedout">';
$body.=' <h2>You must be logged in to use this website!</h2>';
$body.=' <p>This website allows you to whitelist yourself on our Minecraft server, for which you need to be logged in.</p>';
$body.=' <p>So it doesn\'t make sense to display the details either.</p>';