# Activity and waves

> How Jellyn counts staff activity in waves, sets the time each wave requires, and ranks your team.

## Waves

Activity is counted in **waves**: stretches of time numbered from 1, one after the other. Shift time, the required time and the leaderboard count the **current wave** unless you pick another one, or all time. A shift belongs to the wave it started in.

- A wave lasts **7 days** by default. Set it to 0 and a wave lasts until management ends it.
- The first wave starts at midnight (UTC) on the day of your server's first shift.
- Nothing runs on a timer: a wave that is over moves on the next time anyone looks.

## The Activity page

The **Activity** page of the dashboard has four parts:

<CardGroup cols={2}>
  <Card title="Staff activity" icon="activity">
    Each staff member's shift time, shifts and punishments logged, and who is behind the required time.
  </Card>
  <Card title="Waves" icon="calendar-days">
    The wave settings, and every wave with its shifts, time and staff.
  </Card>
  <Card title="Shifts" icon="clock">
    Every shift of one wave.
  </Card>
  <Card title="Time in game" icon="gamepad-2">
    Time your staff spent in your ER:LC server, counted by their verified Roblox accounts.
  </Card>
</CardGroup>

### Wave settings

Under **Waves**, management (the **Activity** permission) sets:

- **Wave length**, in days.
- **Required time** each wave, and the flag for staff who fall short.

They can also **end the wave** going on (the next starts at once), set **when it ends** (or let it follow the wave length again), and **delete** waves that are over, with Undo. A deleted wave's shifts stay, and still count for all time.

## In Discord

<Tabs>
  <Tab title="/activity">
    ```discord
    /activity staff:@River wave:3
    ```

    Shift time, shifts and punishments logged, for you or another staff member, in the current wave or the one you pick.
  </Tab>
  <Tab title="/leaderboard">
    ```discord
    /leaderboard metric:Shift time wave:3
    ```

    Ranks staff by shift time, shifts or punishments logged, 15 to a page. It splits who met the wave's required time from who didn't, and links to the waves on the website.
  </Tab>
</Tabs>
