Waiting for your server! This can take a minute or two, so please wait and don't refresh the page.
Your server is ready! The ip address is:
Please open Minecraft, and navigate to Multiplayer > Direct Connect, enter the address, and click Join Server.
When you are done, disconnect or close Minecraft.
{% if role in ('manager', 'assistant') %}
{% if role == 'manager' %}
You are playing the role of MANAGER.
Another player will join who will be your assistant. Press
"t" to use the in-game chat to instruct your assistant.
{% elif role == 'assistant' %}
You are playing the role of ASSISTANT.
Another player will join who will be your manager. Please do
nothing unless your manager instructs you. You may press "t" to use the
in-game chat to respond or ask questions. Please follow your manager's
instructions exactly!
{% endif %}
Please wait up to five minutes for the other player to join.
{% endif %}
Unsupported Protocol Version: If you see this error, please
follow the instructions here
to change your game version to 1.12.x
{% if not hide_survey %}{{ survey() }}{% endif %}
{% endblock %}
{% block javascript %}
$(document).ready(function() {
var interval = setInterval(function() {
$.get('/status', {q: "{{instance_id}}"},
function(resp) {
var r = JSON.parse(resp)
console.log(r)
if (r.progress) {
setProgress(r.progress)
}
if (r.progress == 100) {
clearInterval(interval);
finished(r.ip)
}
}).fail(function(err) {
console.error(err)
clearInterval(interval)
})
}, 2000)
})
function setProgress(progress) {
$('.progress-bar').css('width', progress + '%').attr('aria-valuenow', progress)
}
function finished(ip) {
$('.loading').addClass('d-none')
$('.finished').removeClass('d-none')
$('.ip-address').text(ip)
}
{% endblock %}