# 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="/files/KA8MO6hoRsgkcYgZBu2O" 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](/cms/integration-capabilities/er-lc-game-panel/usage/vision.md) and quickly add records to the nearby player.

<figure><img src="/files/HNaZHWrXBcIxDtLbNw7p" alt=""><figcaption></figcaption></figure>

</details>

### Via Discord Bot

<details>

<summary>Via Discord Bot</summary>

<figure><img src="/files/02s8KRmJuoKOb5r5Jsri" alt=""><figcaption></figcaption></figure>

Player records can be added via [Discord bot](/cms/integration-capabilities/discord-bot-integration.md) 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/er-lc-game-panel/usage/pages/80UQMMrlbezlDcbODaU9#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](/cms/integration-capabilities/er-lc-game-panel/usage/moderation.md#custom-record-types)

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

[Learn more about in-game timeclock commands here.](/cms/integration-capabilities/er-lc-game-panel/usage/shifts-and-activity.md#timeclock)

</details>

## Adding Custom Record Types

Communities can [configure additional custom record types in the Moderation panel](/cms/integration-capabilities/er-lc-game-panel/usage/moderation.md#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="/files/BseBKqyPK0godeLM1rd0" 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="/files/olGpL4sobXYk2BRW6A0W" 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="/files/rMjuY2obfeRJDLTlToVf" alt="" width="375"><figcaption></figcaption></figure>

</details>


---

# 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.sonoransoftware.com/cms/integration-capabilities/er-lc-game-panel/usage/player-records.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.
