JJK96 / SRB2-Query

Get server information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SRB2 Query

Python implementation of SRB2 Query

Can be used to request info from an SRB2 server

Usage

q = SRB2Query("localhost")
server, player = q.askinfo()
print(server.__dict__)
print(player.__dict__)

Then the server and player packets can be read to obtain the info from the server.

Features

Currently does not interpret every field, feel free to fork and PR!

About

Get server information

License:The Unlicense


Languages

Language:Python 100.0%