Skip to content

Getting started with servers

serversInstall the Tegra Agent on your Linux machine, create your servers password and pair the agent with the launcher.server servers tegra agent agent install agent pair servers password recovery code linuxen

With the Tegra Agent (what is it?) you run Minecraft servers on your own machine and manage everything from the launcher: create, start and stop, console, files, mods and backups. The agent lives on the machine that hosts the servers; the launcher is your control panel, wherever you are.

  • A Linux machine with systemd (a PC, a dedicated server, a VPS or an LXC container), on x86_64 or ARM64.
  • Administrator access on that machine. The installer asks for the administrator password to set up the agent service.
  • The Tegra launcher on your computer, signed in to your Tegra account.

On the machine that will host the servers, open a terminal and run:

Terminal window
curl -fsSL https://get.tegramc.com/install-agent.sh | sh

The installer downloads the agent and sets up a service that starts with the machine. When it finishes, run:

Terminal window
tegrad link

The command shows a pairing link and a QR code to confirm the machine is yours. If the link expires, run tegrad link again.

In the launcher, open Studio, then Servers. The first time, the launcher asks you to create your servers password. It protects the keys that let you control your servers.

  • Use at least 12 characters. A few unrelated words make a strong one.
  • Tegra cannot see it or reset it. It is separate from your Tegra account password.
  • Stay unlocked for sets how long this computer stays unlocked.

Click Create password.

Only you know your servers password.
Create your servers password screen with the password, confirmation and Stay unlocked for fields

Only you know your servers password.

Next comes your recovery code. It is shown just once and is the only way back in if you forget your password. Store it somewhere safe (a password manager, for example), tick I saved this code somewhere safe and click Continue.

Save the code before you continue. It will not be shown again.
Save your recovery code dialog with the code blurred and the I saved this code somewhere safe checkbox

Save the code before you continue. It will not be shown again.

With no agents yet, the page shows No agents yet. Click Pair an agent.

Install the agent on the machine, then pair it here.
Servers page with no agents, the No agents yet message and the Pair an agent button

Install the agent on the machine, then pair it here.

Paste the pairing link or code that tegrad link showed, confirm with your servers password and click Pair agent. You can also open the pairing link straight from your browser.

The pairing link comes from `tegrad link`, on the agent machine.
Pair an agent screen with the Pairing link or code and Confirm with your servers password fields

The pairing link comes from `tegrad link`, on the agent machine.

Done: the agent shows up in your list as Online, with you as Owner.

The Servers page shows how long it stays unlocked and lists your agents, each with its servers.

Each server shows its state, Minecraft version and loader.
Servers page with one online agent, the Owner badge, the New server button and a list of servers with Open buttons

Each server shows its state, Minecraft version and loader.

  • New server: creates a server on that agent. See Create a server.
  • Open: opens the server, with console, files, mods, settings and backups.
  • The agent’s ⋮ menu: Agent settings, with the playit tunnel and Discord. See playit.gg tunnel.
  • Password and recovery: change your password or generate a new code. See Password and recovery.
  • Lock: locks your servers on this computer right away, without waiting for the time to run out.

When the chosen time runs out, or after Lock, the launcher asks for the password again on Unlock your servers. Enter your servers password, pick a time in Stay unlocked for and click Unlock.

Forgot your password? Use I forgot my password and your recovery code.
Unlock your servers screen with the Servers password field, Stay unlocked for and the I forgot my password link

Forgot your password? Use I forgot my password and your recovery code.