Closed Bunkerbewohner closed 5 years ago
This probably doesn't belong here because it's not a problem with the library, it's likely an issue on your side
Yes, it probably is a problem on my side. But since this is the GitHub repository of the person who wrote the library, I hoped that the author or someone else using it might have an idea what that problem may be.
I opened up the Minecraft query port on my (the querying) computer and made it publicly available both via TCP and UDP. This doesn't make a difference unfortunately.
I have the same problem with server.query(). Also the request works fine through your example site. This make me wonder if the example code is up to date?
I also tried restarting the server. Didn't help, and I don't see why it should since it works from your site.
@ixevix Ensure enable-query
is set to true in your server.properties
The player list works fine from https://dinnerbone.com/minecraft/tools/status/
enable-query
seems to have fixed the issue for my vanilla server. However my bukkit server is still affected. Vanilla is 1.8.9 and bukkit is 1.8.7.
And my bad again. The configfile was readonly on the bukkit one. Now it's working properly. I was just curious how it was working on that dinnerbone site even without enable-query
Seems that this question is resolved.
Hi,
i'm trying to use mcstatus to query the player list of my minecraft server. Unfortunately, no matter what I try, it doesn't work:
Traceback:
The calls
server.status()
andserver.ping()
work just fine. Also on the example page http://dinnerbone.com/minecraft/tools/status/ I can query my server, presumably using the same code. Any idea what could be the problem?