Skip to content

Commit

Permalink
Add FAQ to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PerchunPak committed Mar 20, 2023
1 parent a7c9e7c commit 35244cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/pages/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ that contains incorrect encoding.
How to get server image?
------------------------

Bedrock servers do not provide icons, so you can't get server image from them.
For Java servers, you can use :attr:`status.icon <mcstatus.status_response.JavaStatusResponse.icon>`
On Bedrock, only official servers have a server image. There is no way to get
or set an icon to a custom server. For Java servers, you can use
:attr:`status.icon <mcstatus.status_response.JavaStatusResponse.icon>`
attribute. It will return `Base64 <https://en.wikipedia.org/wiki/Base64>`_
encoded PNG image, so you can decode it in that way:

Expand Down

0 comments on commit 35244cb

Please sign in to comment.