Skip to main content

Overview - Manage friends - (Unreal Engine module)

Last updated on July 15, 2026

Introduction​

In any online environment, it's important to be able to manage and control who your friends are. This module shows you how to unfriend, block players, and unblock players.

Prerequisites​

In order to complete this module, you will need:

  • To have completed the following module:

  • The Byte Wars tutorialmodules branch checked out in your local Byte Wars Unreal project repository.

  • To have force enabled this module. You can do this by adding the following code to the Config/DefaultEngine.ini file:

    [AccelByteTutorialModules]
    +ForcedEnabledModules=TutorialModule:MANAGINGFRIENDS
    ...

Learning objectives​

At the end of this module, you will know how to implement:

  • Querying and displaying a list of blocked players
  • Blocking players
  • Unblocking players
  • Unfriending players on a friend list

Preview​

At the end of this module, your project will look like the images below with the following logs:

  • Block a player:

    LogManagingFriends: Warning: Success to block a player.
  • Unblock a player:

    LogManagingFriends: Warning: Success to unblock a player.
  • Unfriend a friend:

    LogManagingFriends: Warning: Success to unfriend a friend.