I'm currently working on a project to create a mordhau server monitor frontend. For this i'm trying to leverage query tools like a2s but unfortunately i'm unable to get any player stats returned.
Today i stumbled upon your project and tried it with your example; ofcourse with the proper server ip and port. But also I did not get any player stats returned. Do you happen to know what is preventing the player stats from showing and are you able to provide a fix for this in opengsq?
from opengsq import Mordhau
mordhau = Mordhau(address='123.123.123.123', query_port=27015)
server = mordhau.query()
print(server.to_json())
I am getting Player count returned, but an empty player_list array.
{"name": "Specs duelling server", "map": "The Pit", "players": 3, "max_players": 16, "bots": 0, "player_list": [], "latency": 0.20559906959533691}