> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mogalts.win/llms.txt
> Use this file to discover all available pages before exploring further.

# Token Login

> Swap your Minecraft session using the JWT we deliver

Token login swaps your Minecraft session to the alt using the JWT we deliver. Two mods cover every version — pick by your Minecraft version.

<CardGroup cols={2}>
  <Card title="SchubiAuth" icon="cube">
    **1.8.9 · Forge**

    Drop in a jar, paste token, done.
  </Card>

  <Card title="TokenLogin" icon="cube">
    **1.19+ · Fabric**

    For modern versions (1.21 etc).
  </Card>
</CardGroup>

## SchubiAuth — 1.8.9 (Forge)

For Lunar, classic Forge, any 1.8.9 PvP setup — use **SchubiAuthV2**. It's a Forge mod that swaps your Minecraft session to the alt when you paste its token.

<Warning>
  SchubiAuthV2 is **Minecraft 1.8.9 only**. For 1.12+ see TokenLogin below.
</Warning>

### Install

<Steps>
  <Step title="Have Forge Ready">
    Make sure you have **Forge 1.8.9** installed. If you use Lunar, it already ships with a Forge-compatible mods folder.
  </Step>

  <Step title="Download the Mod">
    Download the jar from [github.com/schubilegend/SchubiAuthV2 (release 2.0)](https://github.com/schubilegend/SchubiAuthV2/releases/tag/2.0)
  </Step>

  <Step title="Install">
    Drop the `.jar` into `.minecraft/mods` (or `.lunarclient/offline/1.8.9/mods` for Lunar)
  </Step>

  <Step title="Launch">
    Launch Minecraft 1.8.9 and wait for the title screen
  </Step>
</Steps>

### Use

1. Open the SchubiAuth GUI in-game. Default key is usually `RSHIFT` — check the mod's README for the current bind
2. From the delivered line, copy **only the token** — the string after `mctoken:`, with no leading space
3. Paste it into the *Token* field. Click **Login**
4. The username in the top-right swaps to the alt. Join a server — you're in as that account

<Info>
  **Token expired already?** Tokens die in a few hours. Switch to [cookie login](/login/cookies) with the Netscape file we sent. That lasts a lot longer.
</Info>

***

## TokenLogin — Modern (Fabric, 1.19+)

For 1.19, 1.20, 1.21 and anything modern, Fabric is the way. The tool is **TokenLogin** by VillainsRule — same concept as SchubiAuth, built for current Minecraft.

### Install Fabric

If you've never installed a Fabric mod, follow the 2-minute official guide: [docs.fabricmc.net/players/installing-mods](https://docs.fabricmc.net/players/installing-mods)

Short version: download the Fabric installer, run it, pick your Minecraft version, install. Launch the *fabric-loader-...* profile at least once so the `mods` folder is created.

### Install TokenLogin

<Steps>
  <Step title="Download">
    Grab the latest build: [TokenLogin.jar.zip](https://nightly.link/VillainsRule/mcTokenLogin/workflows/build/26.1/TokenLogin.jar.zip) (nightly.link artifact)
  </Step>

  <Step title="Unzip">
    Unzip it to get `TokenLogin.jar`
  </Step>

  <Step title="Install">
    Drop it into your Fabric profile's `.minecraft/mods` folder
  </Step>

  <Step title="Launch">
    Launch the Fabric profile
  </Step>
</Steps>

### Use

1. Open the TokenLogin menu from the mod's in-game UI (check the mod page for the current keybind)
2. Paste the token — the part after `mctoken:`
3. Confirm. Your session switches to the alt.

<Info>
  **Link 404?** Nightly.link URLs rotate when the workflow re-runs. Browse to the [repo's Actions tab](https://github.com/VillainsRule/mcTokenLogin/actions) and grab the most recent build artifact.
</Info>
