Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

Is there documentation? #131

Closed greendoescode closed 3 years ago

greendoescode commented 3 years ago

If not, Ill ask my question. How would I get the motd alone?

server.query.motd()

Doesn't work, seeing as I have tested.

kevinkjt2000 commented 3 years ago

motd is part of the .status() object. Improving documentation is an open issue, but most of the information on what can be gathered is present in the code, on pages like this one https://wiki.vg/Server_List_Ping, and by using Python's built-in dir function to list the attributes of an object.