Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摑 Documentation Overhaul 馃毀 #136

Closed
10 of 14 tasks
py-mine-bot opened this issue Feb 15, 2022 · 7 comments
Closed
10 of 14 tasks

馃摑 Documentation Overhaul 馃毀 #136

py-mine-bot opened this issue Feb 15, 2022 · 7 comments
Assignees
Labels
area: documentation Related to project's documentation (comments, docstrings, docs) Github Import This was auto-imported from upstream repository state: WIP Work In Progress type: feature New request or feature

Comments

@py-mine-bot
Copy link
Collaborator

py-mine-bot commented Feb 15, 2022

kevinkjt2000 Authored by kevinkjt2000
Jun 10, 2021


I have seen several issues asking for an online/offline feature or pasting a stacktrace of a timeout exception. Honestly, I'm surprised at the number of people that would install an extra library without understanding basic exception handling in Python, but I digress. There also have been feature requests that have nothing to do with what mcstatus is even about (such as RCON support). Well, we all start somewhere and I'm certain we could foster a more welcoming onboarding experience and a better user experience by overhauling the documentation for mcstatus.

Sorted by highest priority for the project, this is my opinionated list of things to do to improve the user experience:

@py-mine-bot
Copy link
Collaborator Author

ItsDrike Authored by ItsDrike
Jan 5, 2022


Give examples for decoding ISO 8859-1 into UTF-8 (otherwise, people are surprised with garbage characters

Why are we not doing this automatically? Is there some benefit in keeping it in ISO 8859-1? I feel like this will only cause more issues to appear over time as people won't know what's going on since it's non-trivial to figure out. Even when documented, it would just clutter the docs when we could easily do this on the library side.

@py-mine-bot
Copy link
Collaborator Author

Izergaer Authored by Izergaer
Nov 3, 2021


Is it possible to know usernames of players who playing on server rn? I apologize if this is already there, but I cannot find documentation about it

@py-mine-bot
Copy link
Collaborator Author

kevinkjt2000 Authored by kevinkjt2000
Nov 3, 2021


@Izergaer The readme has an example that shows how to get player names from the query response. It's also possible to get player names from status. The CLI that comes with this library does both too https://github.com/Dinnerbone/mcstatus/blob/10cea643fa3866063c6b5b327fe890213ecee7f2/mcstatus/scripts/mcstatus.py#L56

@py-mine-bot py-mine-bot added type: feature New request or feature Github Import This was auto-imported from upstream repository labels Feb 17, 2022
@kevinkjt2000 kevinkjt2000 pinned this issue Feb 17, 2022
@ItsDrike ItsDrike added area: documentation Related to project's documentation (comments, docstrings, docs) status: planning Discussing details labels Feb 21, 2022
@kevinkjt2000 kevinkjt2000 added state: WIP Work In Progress and removed status: planning Discussing details labels Oct 19, 2022
@kevinkjt2000 kevinkjt2000 self-assigned this Oct 19, 2022
@PerchunPak
Copy link
Member

I took it in #450.

@PerchunPak PerchunPak mentioned this issue Jan 28, 2023
@PerchunPak
Copy link
Member

PerchunPak commented Dec 11, 2023

Looked again and checked those points which are done now, other ones don't worth resolving/moved to its own issue (such as #307).

Maybe close this?

@ItsDrike
Copy link
Member

I agree, let's make these new issues:

  • Document possible exceptions that need to be handled
  • Warn about a Windows-specific bug that arises from deep within asyncio socket stuff (assuming that it still is a problem, which I'm not actually sure of)
  • Setup issue templates on GitHub that include a read-these-common-things message to cut down on the number of Invalid issues

As for the doctests, I don't think this is too important for us now, although an issue could be opened about it, I'm neither for nor against.

Once done, the links to these issues should be mentioned in a closing comment for this.

@kevinkjt2000
Copy link
Contributor

I mentioned issue numbers in the initial comment next to each item. I concur with leaving out doctests for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation Related to project's documentation (comments, docstrings, docs) Github Import This was auto-imported from upstream repository state: WIP Work In Progress type: feature New request or feature
Projects
None yet
Development

No branches or pull requests

4 participants