Access
Connect cross-platform accounts & identity management
Chat is a service that allows players to send and receive messages to their friends or party members in real-time. This service includes notifications to inform users of messages being sent or received. The Chat service is divided into three basic features:
Permissions are used to grant access to specific resources within our services. Make sure your account has the following permissions before you attempt to manage chat in the Admin Portal.
Usage | Resource | Action |
Load Personal Chat History | NAMESPACE:{namespace}:USER:{userId}:CHAT | Read |
Get Chat History | NAMESPACE:{namespace}:USER:{userId}:CHAT | Read |
Load Personal Chat History based on Friend’s User ID | Required valid user authorization | Read |
Permissions work slightly differently depending on whether they are assigned to IAM Clients or Roles assigned to users. For more information, read the Authentication and Authorization documentation.
Chat features are handled by the Lobby service. You must connect to the Lobby service before you can enable chat.
Players can communicate with other players using personal chat.
A player can send a personal message to any other player, if they know their User ID.
Personal chats can be received by registering to the personal chat event.
When a party has been formed, its members can use the chat feature to communicate with each other. Every message sent will be received by all of the party members.
The Lobby service will automatically direct a player’s messages to their own party, so the player doesn’t need to know their Party ID.
A party chat can be received by registering to a party chat event.
Players can join a default channel to chat with all other players currently logged into the game.
Receiving a message from a global channel can be done by registering to a channel chat event using the following code:
← Party Notifications →