Friends
Friends
Allow users to send and accept friend requests.
Source | Name | Status | Database |
---|---|---|---|
Source | friends | beta | Yes |
Authors
Dependencies
Installation
CLI
opengb module add friends
Scripts
Public
These scripts can be called publicly by your game.
Accept Request
Accept a friend request from another user.
Decline Request
Decline a friend request from another user.
List Friends
List all friends of a user.
List Incoming Friend Requests
List all friend requests received by a user.
List Outgoing Friend Requests
List all friend requests sent by a user.
Remove Friend
Remove a friend from your friends list.
Send Request
Send a friend request to another user.
Internal
These scripts can only be called by other OpenGB modules.
No internal scripts.
Errors
- Already Friends (
already_friends
) - Cannot Send to Self (
cannot_send_to_self
) - Friend Request Already Accepted (
friend_request_already_accepted
) - Friend Request Already Declined (
friend_request_already_declined
) - Friend Request Already Exists (
friend_request_already_exists
) - Friend Request Not Found (
friend_request_not_found
) - Not Friend Request Recipient (
not_friend_request_recipient
)