mince/templates/index.twig

51 lines
2.7 KiB
Twig

{% extends 'master.twig' %}
{% block content %}
<div class="section">
<h2>Servers</h2>
<table class="servers">
<thead>
<tr>
<th class="col-name">Name</th>
<th class="col-address">Address</th>
<th class="col-java">Version</th>
{# <th class="col-address">Bedrock address</th> #}
{# <th class="col-bedrock">Bedrock version</th> #}
<th class="col-details">Details</th>
</tr>
</thead>
<tbody>
{% if servers is empty %}
<tr><td class="col-java" colspan="4">There are currently no active servers, check back later!</td></tr>
{% else %}
{% for server in servers %}
<tr id="s{{ server.id }}">
<td class="col-name">{{ server.name }}</td>
<td class="col-address">{% if server.hasJavaAddress %}<code>{{ server.javaAddress }}</code>{% else %}N/A{% endif %}</td>
<td class="col-java">{% if server.hasJavaVersion %}<code>{{ server.javaVersion }}</code>{% else %}N/A{% endif %}</td>
{# <td class="col-address">{% if server.hasBedrockAddress %}<code>{{ server.bedrockAddress }}</code>{% else %}N/A{% endif %}</td> #}
{# <td class="col-bedrock">{% if server.hasBedrockVersion %}<code>{{ server.bedrockVersion }}</code>{% else %}N/A{% endif %}</td> #}
<td class="col-details">{{ server.details|raw }}</td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>
<div class="section">
<h2>Bedrock versions</h2>
<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>
<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>
<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>
<p>Do note that this only works for servers where both a Java and Bedrock version number is listed!</p>
</div>
<div class="section">
<h2>Rules</h2>
<p>1. Observe <a href="//fii.moe/rules">Global Rules</a>.</p>
<p>2. Don't be an asshole.</p>
<p>3. Don't flood.</p>
</div>
{% endblock %}