Skip to content
frostschutz edited this page Sep 14, 2010 · 8 revisions

Welcome to the SourceLib wiki!

SourceLib is yet another Python implementation of Valve Source Dedicated Server (SRCDS) Query/RCON/Log protocols. The project is currently in an early alpha stage, don’t expect the API to be stable. See also the TodoList of the project.

I decided to start this project because the existing Python implementation (namely SRCDS.py and EventScripts serverlib.py) did not quite work the way I wanted them to. This does not necessarily mean that this project will be any better, I’m just talking about my own personal requirements here.

This project is released as Open Source Software for the remote possibility that it could be useful to someone else out there.

Currently the project is made up of four classes:

  • SourceQuery for the Source Query protocol (ping, info, player, rules)
  • SourceRcon for the Source Rcon protocol (executing commands on the server and getting the command output back)
  • SourceLog for the Source Log protocol (receiving and parsing logs)
  • MasterQuery for the Master Query protocol (receiving server lists)
Clone this wiki locally