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

# Crates

> Engage your community with fun, knowledge-based questions and challenges.

<sup>**Configuration Panel:** `/config server -> Crates`</sup>

<Tabs>
  <Tab title="Channel">
    <p>Select the channel where crates will be sent.</p>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the <em>Crates Component</em> (e.g., <code>A1T2O3M4</code>).</Step>
      <Step>Click <strong>Channel</strong>.</Step>
      <Step>Select the channel.</Step>
    </Steps>
  </Tab>

  <Tab title="Schedule">
    <p>Set when crates are sent.</p>

    <Table>
      <Table.Head>
        <Table.Row>
          <Table.HeaderCell>Mode</Table.HeaderCell>
          <Table.HeaderCell>Description</Table.HeaderCell>
        </Table.Row>
      </Table.Head>

      <Table.Body>
        <Table.Row>
          <Table.Cell>Interval</Table.Cell>
          <Table.Cell>Sent every <code>x</code> minutes.</Table.Cell>
        </Table.Row>

        <Table.Row>
          <Table.Cell>Messages</Table.Cell>
          <Table.Cell>Sent every <code>x</code> messages. <em>(Superatom only)</em></Table.Cell>
        </Table.Row>
      </Table.Body>
    </Table>

    <Note>Messages mode includes a brief delay (up to 10 seconds) due to interval scheduling.</Note>

    <p><strong>Message Mode Accounting Options:</strong></p>

    <Table>
      <Table.Head>
        <Table.Row>
          <Table.HeaderCell>Source</Table.HeaderCell>
          <Table.HeaderCell>Description</Table.HeaderCell>
        </Table.Row>
      </Table.Head>

      <Table.Body>
        <Table.Row>
          <Table.Cell>Local</Table.Cell>
          <Table.Cell>Tracks messages only in the designated <a href="/src/leveling/crates#channel">Crates Channel</a>.</Table.Cell>
        </Table.Row>

        <Table.Row>
          <Table.Cell>Global</Table.Cell>
          <Table.Cell>Tracks all messages server-wide where Atom has <code>Read Messages</code> permission.</Table.Cell>
        </Table.Row>
      </Table.Body>
    </Table>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the Crates Component.</Step>
      <Step>Click <strong>Schedule</strong>.</Step>
      <Step>Enter the interval (minutes) or message count.</Step>
    </Steps>
  </Tab>

  <Tab title="Rewards">
    <p>Choose rewards for crate openings.</p>

    <Table>
      <Table.Head>
        <Table.Row>
          <Table.HeaderCell>Reward</Table.HeaderCell>
          <Table.HeaderCell>Description</Table.HeaderCell>
        </Table.Row>
      </Table.Head>

      <Table.Body>
        <Table.Row>
          <Table.Cell>XP</Table.Cell>
          <Table.Cell>Give <code>x</code>–<code>y</code> XP. <em>(Ranged rewards are Superatom only)</em></Table.Cell>
        </Table.Row>

        <Table.Row>
          <Table.Cell>Levels</Table.Cell>
          <Table.Cell>Give <code>x</code>–<code>y</code> levels. <em>(Ranged rewards are Superatom only)</em></Table.Cell>
        </Table.Row>
      </Table.Body>
    </Table>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the Crates Component.</Step>
      <Step>Click <strong>Rewards</strong>.</Step>
      <Step>Enter the reward values.</Step>
    </Steps>

    <Sub>Superatom users can set <code>Minimum</code> and <code>Maximum</code> for rewards.</Sub>
  </Tab>

  <Tab title="Expiry (Superatom)">
    <p>Set how long members have to open crates.</p>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the Crates Component.</Step>
      <Step>Click <strong>Expiry</strong>.</Step>
      <Step>Enter the time (e.g., <code>2m 30s</code>).</Step>
    </Steps>
  </Tab>

  <Tab title="Retries (Superatom)">
    <p>Set the number of extra attempts allowed to open crates.</p>
    <Sub>Retries + 1 = total attempts. For example, 2 retries means 3 total attempts.</Sub>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the Crates Component.</Step>
      <Step>Click <strong>Retries</strong>.</Step>
      <Step>Enter the retry limit.</Step>
    </Steps>
  </Tab>

  <Tab title="Reclaim Cooldown (Superatom)">
    <p>Set how long a member must wait before attempting to open a crate again.</p>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the Crates Component.</Step>
      <Step>Click <strong>Reclaim Cooldown</strong>.</Step>
      <Step>Enter the time (e.g., <code>2m 30s</code>).</Step>
    </Steps>
  </Tab>

  <Tab title="Claim Limit (Superatom)">
    <p>Set the max number of members who can claim rewards per crate.</p>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the Crates Component.</Step>
      <Step>Click <strong>Claim Limit</strong>.</Step>
      <Step>Enter the limit.</Step>
    </Steps>
  </Tab>

  <Tab title="Countdown">
    <p>Set the countdown duration for crate openings, controlling how long members have to respond.</p>

    <Steps>
      <Step>Run <code>/config server</code>.</Step>
      <Step>Select <strong>Crates</strong>.</Step>
      <Step>Select the Crates Component.</Step>
      <Step>Click <strong>Countdown</strong>.</Step>
      <Step>Enter the countdown duration (e.g., <code>2m 30s</code>).</Step>
    </Steps>

    <Sub>This controls how long the crate stays open for members to respond before closing.</Sub>
  </Tab>
</Tabs>
