# In-Game Logging

We offer an in-game logging system which utilises ER:LC's webhook logging to automatically create moderations for kicks and bans.

{% hint style="info" %}
Before using In-Game logging, make sure that the moderations module is enabled using [/config](https://docs.trident.bot/info/config).
{% endhint %}

## <mark style="color:blue;">Configuring In-Game Logging</mark> <a href="#config" id="config"></a>

Configuring in-game logging is easy, you just need to configure the channel in which your kick/ban webhooks are sent and you are good to go.

You can learn more about configuring the moderations module in the [Configuration page](https://docs.trident.bot/info/config#configure-the-moderations-module).

## <mark style="color:blue;">Connecting Your Roblox Account</mark> <a href="#connecting" id="connecting"></a>

To connect your Roblox account, run the `/roblox-link` command and everything should just connect for you.

<figure><img src="https://1534176999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLDhEmj0gJUQq8zryWvIW%2Fuploads%2FoMRuzVhzDikmchwYJvg5%2FRobloxLink.png?alt=media&#x26;token=4d43f4dc-e2fb-498d-ac70-8219706f474a" alt="" width="350"><figcaption></figcaption></figure>

Trident uses [Bloxlink](https://blox.link)'s API to find your Roblox account, if you cannot link your account, it is most likely because you have not verified with Bloxlink.

## <mark style="color:blue;">Using In-Game Logging</mark> <a href="#usage" id="usage"></a>

In-game logging is easy, whenever you kick or ban a user, Trident will automatically log your moderation.

**Kicks**\
:kick \[username] (reason)

**Bans**\
:ban \[username]

Only kicking supports a reason but you can edit moderations easily with our [Editing a Moderation guide](https://docs.trident.bot/guides/editing-moderations).

{% hint style="danger" %}
Please note that Trident only supports kicks and bans, and not other actions, due to limitations in ER:LC's webhook logging system.
{% endhint %}


---

# 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/ingame-logging.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.
