By default, a Minecraft server running on your PC is only reachable by players on the same local network. Getting friends outside your home to connect normally requires opening a port in your router and knowing your public IP address — a process that varies by router model and internet provider. Playit.gg solves this by acting as a secure tunnel: it gives your local server a permanent public address that anyone on the internet can connect to, without any router changes at all.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GKExpo/ServerPilot/llms.txt
Use this file to discover all available pages before exploring further.
Playit.gg auto-start is entirely optional. If all of your players are on the same LAN (for example, at a LAN party or on a home network), you do not need Playit at all — players can connect using your local IP address directly.
What Is Playit.gg?
Playit.gg is a free tunneling service. You run a smallplayit.exe agent on the same machine as your Minecraft server. The agent connects outbound to Playit’s infrastructure and establishes a tunnel. Playit then provides you with a stable Minecraft address (like xxxxx.mc.playit.gg) that routes traffic through the tunnel to your local server. No port forwarding, no static IP, no firewall rules needed.
Downloading and Installing Playit
Go to the Playit download page
Visit https://playit.gg/download and select the Windows version.
Extract to a convenient location
Save or extract the executable somewhere easy to remember. A dedicated folder works well:You will need to enter this path into ServerPilot, so avoid paths with unusual characters or spaces.
Run Playit once to claim your tunnel
Double-click
playit.exe to run it for the first time. It will open a browser window (or display a URL in its console) pointing to the Playit website. Follow the on-screen steps to:- Create a free Playit account (or log in)
- Claim your agent
- Configure a tunnel for Minecraft (TCP, port 25565)
- Note the Minecraft address shown on your tunnel dashboard
playit.exe binary to your account and creates your tunnel address.Setting the Playit Path in ServerPilot
ServerPilot needs to know where yourplayit.exe lives. You can configure this at two levels:
Global default (applies to all servers)
Open Settings (gear icon in the sidebar) and set Playit Executable Path to the full path of your playit.exe, for example:
Enabling Auto-Start
Auto-start causes ServerPilot to launch Playit automatically when your Minecraft server starts and terminate it when your server stops — so you never have to manage Playit manually. You can enable it in two places:- Global — Settings → enable Auto-start Playit (sets
autoStartPlayit: trueas the default for new servers) - Per-server — Server Modal → check Auto-start Playit with this server (sets
autoStartPlayit: trueon that server)
- Spawns the
playit.exeprocess in the background (hidden window) whenserver:startis called - Streams Playit’s stdout and stderr, filtering for meaningful lines containing keywords like
connected,tunnel,address,online,error, orfailed - Forwards those filtered lines to the ServerPilot console with source label
playit - Sends a
SIGKILL/taskkillto the Playit process when the server stops (with a 3-second grace period)
Playit Status Indicators
The ServerPilot Dashboard displays the current Playit state alongside your server status. The lifecycle is:| Status | Meaning |
|---|---|
PLAYIT STOPPED | Playit is not running (initial state, or after server stops) |
PLAYIT STARTING | ServerPilot has spawned the Playit process and is waiting |
PLAYIT ONLINE | Playit process is running and the tunnel should be active |
PLAYIT STOPPING | ServerPilot has sent the kill signal and is waiting for exit |
PLAYIT STOPPED | Playit has exited cleanly |