Skip to main content

Example game

Summary

The example chat game is an Unreal Engine sample project that contains example codes to allow users to easily utilize the chat functions.

image

The example was developed in the following versions:

  • Unreal Engine 5.3.2

Download

Supported Platforms
  • Android, iOS, Windows, Mac, Linux
Unreal Engine 4.27

How to configure

1. Run the example chat game

Download BackndChatExample-UE53.zip from the link above, unzip it, then open the project.

2. Enable chat in the console

Go to BACKND Console's Chat > Settings and click Enable Chat.

3. Create channel groups and channels

  1. Click the + button next to Channel Groups.

  2. Click Open Type and click Next.

  1. Enter the channel group name and the maximum number of users per channel. Then, select a FALLBACK channel and click Next.

  1. Enter the name of the first channel and click the Create button.

4. Copy the chat server key of the BACKND Console project

Go to BACKND Console's Chat > Settings and copy the Chat UUID.

5. Run project

Configuration is complete. image

6. Example game commands

info

Leave unnecessary parameters blank.

/login xxxx-xxxx-xxxxxx-xxxxxxx a0 a0 ko: Login (UUID, ID, PW, Language)

/cc test1 test1 0 password 5000: Create private channel (channel group, channel name, channel number, password, max members)

/oj test1 test1: Enter open channel (channel group, channel name)

/pj test1 1 password: Enter private channel (channel group, channel number, channel password)

/l test1 test1 1: Exit channel (channel group, channel name, channel number)

/w a1 message: Whisper (user name, message)

/report 1 reason (report reason number, reason for report: If this value is blank, the reason for configuration)

/translate en ko ja (on-demand translation function)