Skip to article
HANDBOOK / SHIP YOUR SITE

Hosting on a Minecraft computer

Serve nearby computers over modems, with a terminal dashboard and persistent site identity.

FORMAT 1Updated September 19, 2026
On this page

What you need

  1. A running CC:Tweaked computer with Lantern installed.
  2. A local site created through lantern host or lantern edit.
  3. A modem, plus a unique desktop-generated secret seed imported on this installation.
  4. Other computers with reachable modems and their own unique security state.

Prepare a unique seed

On your desktop, generate 32 random bytes as 64 hexadecimal characters. The following command uses Python’s operating-system-backed randomness. It writes a file; it does not print the secret. Securely transfer that file into the target computer’s filesystem.

Desktop terminal
python3 -c 'import secrets; open("lantern.seed", "x").write(secrets.token_hex(32) + "\n")'

Import on the Minecraft computer

Successful import removes the source seed file. Missing or corrupt security state disables secure modem networking; local preview and HTTPS Hub browsing remain separate capabilities. Restart before importing a replacement seed after networking has already initialized.

CraftOS shell
lantern seed lantern.seed

Start the dashboard

Or run lantern host, choose Manage / my-first-site, then Start hosting. The live dashboard shows requests, errors, connection count and the site fingerprint. Q stops an interactive host. For a host without the dashboard, use lantern host my-first-site --headless.

Hosting-tools installations open server tools when you run lantern without arguments. Startup integration opens that manager; it does not automatically choose and serve a site.

CraftOS shell
lantern host my-first-site

Visit and verify

Discovery names are untrusted hints. Share the fingerprint through a trusted channel, compare it, and use the browser’s Verify fingerprint action. Encryption alone does not prove who owns a friendly name. Saved identity changes block automatic reconnection.

Local owner-installed Lua has the computer’s privileges. Do not install mutually untrusted server scripts and expect isolation.

On another computer
lantern ln://my-first-site/

Found a mismatch? Include the exact error, runtime version and a small example with secrets removed.