From b27a4da0494968f9b808835eeb068776c9927994 Mon Sep 17 00:00:00 2001 From: MegaSa1nt <49565695+MegaSa1nt@users.noreply.github.com> Date: Sat, 14 Feb 2026 23:39:30 +0500 Subject: [PATCH 1/7] Friend request keys information --- docs/resources/server/user.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/resources/server/user.md b/docs/resources/server/user.md index 1624ec9..fb7b364 100644 --- a/docs/resources/server/user.md +++ b/docs/resources/server/user.md @@ -48,6 +48,9 @@ Each `key` is tied to a component within the client and the `value` sets data fo | 29* | isRegistered | **Bool** | If the player is registered | | 30* | globalRank | **Integer** | The global rank of the player | | 31* | friendState | **Integer** | Friendship status. 0 = Unfriended, 1 = Friended, 3 = Friend request sent to the player, 4 = Friend request received from the player | +| 32* | friendRequestID | **Integer** | Friend request ID (only returned if player sent you a friend request) | +| 35* | friendRequestComment | **String** | Friend request comment (only returned if player sent you a friend request) | +| 37* | friendRequestID | **Integer** | Time when player sent you a friend request (only returned if player sent you a friend request) | | 38* | messages | **Integer** | The number of new messages you have (only returned when logged in and viewing own profile) | | 39* | friendRequests | **Integer** | The number of new friend requests you have | | 40* | newFriends | **Integer** | The number of new friends you have | From 30f9f708706493f651d6747a148dd52b290dd2a3 Mon Sep 17 00:00:00 2001 From: MegaSa1nt <49565695+MegaSa1nt@users.noreply.github.com> Date: Sat, 14 Feb 2026 23:41:15 +0500 Subject: [PATCH 2/7] Typo --- docs/resources/server/user.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/server/user.md b/docs/resources/server/user.md index fb7b364..b855f59 100644 --- a/docs/resources/server/user.md +++ b/docs/resources/server/user.md @@ -50,7 +50,7 @@ Each `key` is tied to a component within the client and the `value` sets data fo | 31* | friendState | **Integer** | Friendship status. 0 = Unfriended, 1 = Friended, 3 = Friend request sent to the player, 4 = Friend request received from the player | | 32* | friendRequestID | **Integer** | Friend request ID (only returned if player sent you a friend request) | | 35* | friendRequestComment | **String** | Friend request comment (only returned if player sent you a friend request) | -| 37* | friendRequestID | **Integer** | Time when player sent you a friend request (only returned if player sent you a friend request) | +| 37* | friendRequestAge | **Integer** | Time when player sent you a friend request (only returned if player sent you a friend request) | | 38* | messages | **Integer** | The number of new messages you have (only returned when logged in and viewing own profile) | | 39* | friendRequests | **Integer** | The number of new friend requests you have | | 40* | newFriends | **Integer** | The number of new friends you have | From 6efa403206f8fe9e930200f66e7ea92e7dd5fcb0 Mon Sep 17 00:00:00 2001 From: xparadoxical <43796685+xparadoxical@users.noreply.github.com> Date: Tue, 17 Feb 2026 19:48:06 +0100 Subject: [PATCH 3/7] Now key 31 is empty instead of zero --- docs/resources/server/user.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/server/user.md b/docs/resources/server/user.md index b855f59..4269d15 100644 --- a/docs/resources/server/user.md +++ b/docs/resources/server/user.md @@ -47,7 +47,7 @@ Each `key` is tied to a component within the client and the `value` sets data fo | 28* | accGlow | **Bool** | If the player has glow enabled | | 29* | isRegistered | **Bool** | If the player is registered | | 30* | globalRank | **Integer** | The global rank of the player | -| 31* | friendState | **Integer** | Friendship status. 0 = Unfriended, 1 = Friended, 3 = Friend request sent to the player, 4 = Friend request received from the player | +| 31* | friendState | **Integer** | Friendship status. Empty = Unfriended, 1 = Friended, 3 = Friend request sent to the player, 4 = Friend request received from the player | | 32* | friendRequestID | **Integer** | Friend request ID (only returned if player sent you a friend request) | | 35* | friendRequestComment | **String** | Friend request comment (only returned if player sent you a friend request) | | 37* | friendRequestAge | **Integer** | Time when player sent you a friend request (only returned if player sent you a friend request) | From b1e25a4108007d72d8190cdc4e38ecb476c26caa Mon Sep 17 00:00:00 2001 From: xparadoxical <43796685+xparadoxical@users.noreply.github.com> Date: Tue, 17 Feb 2026 19:51:10 +0100 Subject: [PATCH 4/7] Fix typo --- docs/resources/server/friendrequest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/server/friendrequest.md b/docs/resources/server/friendrequest.md index 0e52fdf..b7b2c3f 100644 --- a/docs/resources/server/friendrequest.md +++ b/docs/resources/server/friendrequest.md @@ -32,7 +32,7 @@ A list of all known keys can be found in the table below | 15 | glow | **Integer** | Either 0 or 2, might be related to glow | 16 | accountID | **Integer** | The other user's account ID. **This is different than the player ID** | 32 | friendRequestID | **Integer** | An ID unique to each friend request. (I'm not 100% certain on this) -| 35 | message | **String** | The friend requests's message, encoded in [base64](/topics/encryption/base64.md) +| 35 | message | **String** | The friend request's message, encoded in [base64](/topics/encryption/base64.md) | 37 | age | **String** | How long ago the friend request was sent (e.g. "2 months") | 41 | NewFriendRequest | **Bool** | if the friend request is new From 2ff7df7325ca89779380f43026f2e0a2dd711625 Mon Sep 17 00:00:00 2001 From: xparadoxical <43796685+xparadoxical@users.noreply.github.com> Date: Tue, 17 Feb 2026 19:51:41 +0100 Subject: [PATCH 5/7] Can safely assume this is a unique ID --- docs/resources/server/friendrequest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/server/friendrequest.md b/docs/resources/server/friendrequest.md index b7b2c3f..afa6efd 100644 --- a/docs/resources/server/friendrequest.md +++ b/docs/resources/server/friendrequest.md @@ -31,7 +31,7 @@ A list of all known keys can be found in the table below | 14 | iconType | **Integer** | The other user's icon type indexing an array of `icon, ship, ball, ufo, wave, robot, spider` | 15 | glow | **Integer** | Either 0 or 2, might be related to glow | 16 | accountID | **Integer** | The other user's account ID. **This is different than the player ID** -| 32 | friendRequestID | **Integer** | An ID unique to each friend request. (I'm not 100% certain on this) +| 32 | friendRequestID | **Integer** | An ID unique to each friend request | 35 | message | **String** | The friend request's message, encoded in [base64](/topics/encryption/base64.md) | 37 | age | **String** | How long ago the friend request was sent (e.g. "2 months") | 41 | NewFriendRequest | **Bool** | if the friend request is new From 6345e9649fb9e99cd72d386f5b6d6e118fafd40d Mon Sep 17 00:00:00 2001 From: xparadoxical <43796685+xparadoxical@users.noreply.github.com> Date: Tue, 17 Feb 2026 20:03:42 +0100 Subject: [PATCH 6/7] typo --- docs/resources/server/friendrequest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/server/friendrequest.md b/docs/resources/server/friendrequest.md index afa6efd..e5e0872 100644 --- a/docs/resources/server/friendrequest.md +++ b/docs/resources/server/friendrequest.md @@ -34,7 +34,7 @@ A list of all known keys can be found in the table below | 32 | friendRequestID | **Integer** | An ID unique to each friend request | 35 | message | **String** | The friend request's message, encoded in [base64](/topics/encryption/base64.md) | 37 | age | **String** | How long ago the friend request was sent (e.g. "2 months") -| 41 | NewFriendRequest | **Bool** | if the friend request is new +| 41 | newFriendRequest | **Bool** | if the friend request is new #### Trivia From 2263f33684bdddafce57f51190d68f5bf846b175 Mon Sep 17 00:00:00 2001 From: xparadoxical <43796685+xparadoxical@users.noreply.github.com> Date: Tue, 17 Feb 2026 20:04:12 +0100 Subject: [PATCH 7/7] Use descriptions from friendrequest.md --- docs/resources/server/user.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/resources/server/user.md b/docs/resources/server/user.md index 4269d15..dac3bd3 100644 --- a/docs/resources/server/user.md +++ b/docs/resources/server/user.md @@ -48,10 +48,10 @@ Each `key` is tied to a component within the client and the `value` sets data fo | 29* | isRegistered | **Bool** | If the player is registered | | 30* | globalRank | **Integer** | The global rank of the player | | 31* | friendState | **Integer** | Friendship status. Empty = Unfriended, 1 = Friended, 3 = Friend request sent to the player, 4 = Friend request received from the player | -| 32* | friendRequestID | **Integer** | Friend request ID (only returned if player sent you a friend request) | -| 35* | friendRequestComment | **String** | Friend request comment (only returned if player sent you a friend request) | -| 37* | friendRequestAge | **Integer** | Time when player sent you a friend request (only returned if player sent you a friend request) | -| 38* | messages | **Integer** | The number of new messages you have (only returned when logged in and viewing own profile) | +| 32* | friendRequestID | **Integer** | An ID unique to each friend request (only returned if player sent you a friend request) | +| 35* | friendRequestComment | **String** | The friend request's message, encoded in [base64](/topics/encryption/base64.md) (only returned if player sent you a friend request) | +| 37* | friendRequestAge | **Integer** | How long ago the friend request was sent (e.g. "2 months") (only returned if player sent you a friend request) | +| 38* | messages | **Integer** | The number of new messages you have (only returned when logged in and viewing own profile) | | 39* | friendRequests | **Integer** | The number of new friend requests you have | | 40* | newFriends | **Integer** | The number of new friends you have | | 41 | newFriendRequest | **Bool** | If the friend request is new (only returned by [getGJFriendRequests20](/endpoints/socials/getGJFriendRequests20)) |