# Moderation Logging

The moderations module allows you to track any action taken within your in-game server.

{% hint style="info" %}
Before creating moderations, make sure that the moderations module is enabled in the [Configuration](https://docs.trident.bot/info/config) menu and configured [correctly](https://docs.trident.bot/info/config#configure-the-moderations-module).
{% endhint %}

## <mark style="color:blue;">Creating A Moderation</mark> <a href="#create" id="create"></a>

Creating a moderation is very simple, just run the `/moderate` command with the following parameters.

<figure><img src="https://1534176999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLDhEmj0gJUQq8zryWvIW%2Fuploads%2F5v7VGzw2Yh32OQelTSkD%2FModerateExample.png?alt=media&#x26;token=38f2b1bd-59c7-4960-90e0-851b8ec33fda" alt="/moderate example"><figcaption></figcaption></figure>

**user**\
The username or ID of the Roblox user you are moderating.

**punishment**\
The action you are taking against the user. E.G. warning, kick, ban, etc.

**reason**\
The reason you are taking action against this user. E.G. RDM, VDM, etc.

Once you have filled out the parameters, just press enter. If enabled, you will be asked to confirm the moderation.

<figure><img src="https://1534176999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLDhEmj0gJUQq8zryWvIW%2Fuploads%2FjmiwuuDkQiC1ukpul2dz%2FModerateConfirmExample.png?alt=media&#x26;token=a378268f-7e18-4a53-b155-52072ba62a37" alt="Moderation Confirm Example" width="375"><figcaption></figcaption></figure>

After that, your moderation is logged in your moderation log channel and saved to our database.

You can edit your moderation using the [Editing a Moderation guide](https://docs.trident.bot/guides/editing-moderations).

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

Trident allows you to log kick and bans from in-game. To learn more, follow our [In-Game Logging guide](https://docs.trident.bot/modules/ingame-logging).
