From 8e148c838a9466e17efcf5094a66c1e5881b9d7d Mon Sep 17 00:00:00 2001 From: ayan4m1 Date: Mon, 21 Oct 2024 18:33:45 -0400 Subject: [PATCH] docs: clarify playerInfo is only returned by modern query protocol --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d2fe85..4b9b63b 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ If the server is online, the object will also contain the following properties: | maxPlayers | `number` | The maximum number of players the server supports | | playerInfo | `object[]` | An aray of { id, name } objects for each connected player | -**NOTE**: playerInfo is only populated if the server chooses to do so. +**NOTE**: playerInfo is only populated when using the modern query protocol and the server chooses to send it. `fetchServerInfo` rejects if an error occurs during SRV record resolution.