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

# Crystal Legacy Event Phases: Complete Overview Guide

> Crystal Legacy runs through five global states — DEV, WAITING_PLAYERS, TUTORIAL, MINI_EVENTS, and PVP — each controlling what players see and do.

Crystal Legacy is a state-driven event mod. The server moves through five distinct global phases in sequence, and each phase controls exactly what players see on their HUDs, which mechanics are active, and what interactions are permitted. You advance through phases manually using the master command — nothing transitions automatically without operator input.

## Phase Order

Advance through states in the following order using `/master estado <state>`:

```text theme={null}
DEV → WAITING_PLAYERS → TUTORIAL → MINI_EVENTS → PVP
```

## Phase Reference

| State | Purpose |
| - | - |
| DEV | Idle/default state on server boot. No event phase active. |
| WAITING\_PLAYERS | Lobby screen. Players wait until all 30 are connected. |
| TUTORIAL | Automated tutorial sequence teaching the 4 spells. |
| MINI\_EVENTS | Parkour minigame with checkpoints and 10-min timer. |
| PVP | Single-elimination tournament bracket, ends with credits. |

## Changing the Active State

Use the following command to transition between phases:

```bash theme={null}
/master estado ;state;
```

Replace `;state;` with one of the five state names listed above (e.g. `WAITING_PLAYERS`, `TUTORIAL`, etc.).

> [!NOTE]
>
> If a player joins mid-state during any phase, the server automatically detects the late join and syncs the correct UI, packets, and state to that player. You do not need to manually intervene for standard late joins.

## Phase Pages

Dive into the dedicated page for each phase to find operator commands, player-facing behavior, and tips for running each segment of the event smoothly.

> **[WAITING\_PLAYERS](/en/phases/waiting-players)**
>
> Lobby screen shown to all connected players while you wait for the full 30-person roster.

> **[TUTORIAL](/en/phases/tutorial)**
>
> Automated scripted sequence that teaches every player the four Crystal Legacy spells.

> **[MINI\_EVENTS](/en/phases/mini-events)**
>
> Parkour minigame with a 10-minute countdown and a checkpoint system.

> **[PVP](/en/phases/pvp)**
>
> Single-elimination tournament bracket culminating in an end-credits sequence.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.