> For the complete documentation index, see [llms.txt](https://kumobooks.gitbook.io/mip-hyperlink-chat-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kumobooks.gitbook.io/mip-hyperlink-chat-system/key-components/game-mode-components.md).

# Game Mode Components

### UMIPPlayerSessionListenerComponent

This class is designed to listen for two specific events, FGameModeEvents::GameModePostLoginEvent and FGameModeEvents::GameModeLogoutEvent.

It serves the purpose of adding player names and their corresponding controllers to the ControllerAndNameMap, which is used for locating a controller based on a player's name.

{% hint style="info" %}
This component exclusively exists on the server as a part of the game mode.
{% endhint %}
