# Shift Management

The shift management module allows you to track and manage activity within the staff in your server.

{% hint style="info" %}
Before using this module, make sure that the shifts module is enabled in the [Configuration](/info/config.md) menu and configured [correctly](/info/config.md#configure-the-shifts-module).
{% endhint %}

## <mark style="color:blue;">Using Shift Management</mark> <a href="#usage" id="usage"></a>

To start managing your shift, run the `/shift manage` command.

There is one *optional* parameter, **type**, which is the shift type you would like to clock in to. You can learn more about shift types in the [Shift Types page](/modules/shift-types.md).

<figure><img src="/files/X8OaSbvGPKF2NJeAqU9c" alt="" width="350"><figcaption></figcaption></figure>

This is the hub where you can start, pause or end your shift which will be saved to our database for your server management to track your activity.

Not receiving your role when going on duty? Check out our [troubleshooting page](https://docs.trident.bot/modules/pages/nGApURjCWg4tlAp7mELs#trident-isnt-giving-roles-to-my-staff-members.).

## <mark style="color:blue;">Shift Administration</mark> <a href="#admin" id="admin"></a>

It is easy to manage your staff member's shifts. To do so, run the `/shift admin` command along side the staff member's user.

<figure><img src="/files/6UbQCZdiwVfAOLcBpyaw" alt="" width="375"><figcaption></figcaption></figure>

This allows you to modify, delete, start, end, etc. shifts.

## <mark style="color:blue;">Viewing On-Duty Staff</mark> <a href="#active" id="active"></a>

Want to see who is on-duty with you? Just use the `/shift active` command to view all active users.

<figure><img src="/files/ZrJ0sShkZBHTzD48nmQK" alt="" width="375"><figcaption></figcaption></figure>

This will display the shift type they are clocked in to and whether they are on break.

## <mark style="color:blue;">The Leaderboard</mark> <a href="#leaderboard" id="leaderboard"></a>

To view who is at the top of your server, use the `/shift leaderboard` command to get information about your top staff members.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trident.bot/modules/shifts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
