Send notification to player added as friend

Hi,

I can’t figure a simple way to send a notification to the player requested to be a friend.
I’d like to send a notification to player B when player A sends a friend request to player B.

With hooks, i do not find any information on the added player (payload seems to be nil)

Thanks for help

The server already sends an in-app notification to users when they receive a friend request, you don’t need to handle this yourself. Have a look at the built-in notifications here.

Does this cover what you’re trying to achieve?

1 Like