This repository is meant to help people use zrok to run Minecraft.

Prerequisites

On the Minecraft server:

  • zrok enable the server. see Enabling Your zrok Environment

  • download: the start-server script

  • edit the script and update the PATH_TO_ZROK with the location of your zrok.exe

  • run start-server.ps1 (the script is not signed, research this if you don't understand it):

    powershell.exe -ExecutionPolicy Bypass -File start-server.ps1
    
  • after zrok starts, there will be a private token that you need to distribute to the people you want to allow to access the Minecraft server:

  • image

On the Minecraft clients:

  • zrok enable the client. see Enabling Your zrok Environment

  • download the start-client script

  • update the start-client script and update the PATH_TO_ZROK with the location of your zrok.exe

  • run start-client.ps1 (the script is not signed, research this if you don't understand it):

    powershell.exe -ExecutionPolicy Bypass -File start-client.ps1
    
  • when the start-client.ps1 script executes, you'll be prompted to enter the secret token from the server: image

YouTube Video Overview: