# Player Records

## Creating Player Records

### Via CMS Panel

<details>

<summary>Via CMS Panel</summary>

New player records can be created directly from the ER:LC server dashboard.

* **Kick** and **Ban** records automatically execute the corresponding in-game commands.
* **Disciplinary Point** records add a specified number of points to a user and can be used for warnings or punishments.
* **Note** records allow staff to store important information or observations about a player.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-eec281cb5f856e0a9ba6944a452e0c5511dd5d5b%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

</details>

### Via In-Game Vision

<details>

<summary>Via CMS Vision</summary>

Users with the CMS desktop application can use [Vision with a hotkey to open an in-game overlay](https://docs.sonoransoftware.com/cms/integration-capabilities/er-lc-game-panel/usage/vision) and quickly add records to the nearby player.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FVdL5s4VRKJTFYUE11pyj%2Fqj8i4.webp?alt=media&#x26;token=ac03ae65-4a46-4d06-bb99-ca35590e9cd0" alt=""><figcaption></figcaption></figure>

</details>

### Via Discord Bot

<details>

<summary>Via Discord Bot</summary>

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FUootZRoIH3WC2XNlobf0%2Fimage.png?alt=media&#x26;token=693a4f48-7abe-44c4-b3f2-8545e787e747" alt=""><figcaption></figcaption></figure>

Player records can be added via [Discord bot](https://docs.sonoransoftware.com/cms/integration-capabilities/discord-bot-integration) by using the `/erlc record` command.

* **ServerID** specifies the ER:LC server you wish to add this player record to.
* **Player** is a selected Discord user or Roblox user ID.
  * Players must [have their Discord linked](https://docs.sonoransoftware.com/cms/integration-capabilities/installation#id-3.-link-roblox-and-discord-to-cms) for this to work!
* **Type** is the type of player record (kick, ban, disciplinary, note, etc.)
* Additional inputs may be needed for reasoning, points, etc.

</details>

### Via In-Game Command

<details>

<summary>Via In-Game Command</summary>

Players in-game can use the `:log` command to create records.

Syntax: `:log record [type] [player name] [points - optional] [reason]`

Example: `:log record note John This is an example note!`

Record Types:

* `points` (uses extra `[points]` parameter)
* `note`
* `kick`
* `ban`
* [Custom Log Type](https://docs.sonoransoftware.com/cms/integration-capabilities/er-lc-game-panel/moderation#custom-record-types)

Players can also manage their timeclock in-game using the `:log` command.

[Learn more about in-game timeclock commands here.](https://docs.sonoransoftware.com/cms/integration-capabilities/er-lc-game-panel/shifts-and-activity#timeclock)

</details>

## Adding Custom Record Types

Communities can [configure additional custom record types in the Moderation panel](https://docs.sonoransoftware.com/cms/integration-capabilities/er-lc-game-panel/moderation#custom-record-types).

## Searching Player Records

### Search Filters

<details>

<summary>Search Filters</summary>

Find a specific record by expanding the filter menu on the Latest Activity section to specify a record's type, staff member, user, and date range.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-9fcb6dc841f232fe207f269aead5f745ec41724c%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

</details>

### In Latest Activity

<details>

<summary>In Latest Activity</summary>

Click the orange icon to toggle the latest activity from viewing all activity logs and records to viewing only recently added records.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-51bfa2384bb0f9137594c893d5309d210209c004%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

</details>

### In Player Activity

<details>

<summary>In Player Activity</summary>

Click any player to open their account modal. You can view all recent activity and records in the `Activity` expansion area. Additionally, click the orange icon to toggle from viewing all activity logs and records to viewing only recently added records.

</details>

## Editing Player Records

<details>

<summary>Editing Player Records</summary>

Click any player record to open it in the editor. Here, you can modify the record and view the record's edit history.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-97f643778673181e903fd3522ddd09c6a5301e72%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

</details>
