Server Query Protocol

    Joined
    Jan 22, 2014
    Messages
    1,047
    Reaction score
    299
    I'm not really sure what is needed here. The protocol which clients use to talk to the server is, to my knowledge, undocumented.
    However, if the purpose is to manage a server, there are wrappers/management scripts out there. Notably gravypod's, but also the DTSD. Servers can be controlled by evaluating the console output, which, to my knowledge, both of those wrappers do.
     
    Joined
    Mar 18, 2014
    Messages
    53
    Reaction score
    7
    The author asked for the server status query protocol if I'm right. As far as I know there is no official documentation, however there are implementations that can be used as a reference. They have been created via reverse engineering and work very well. Currently not all features are supported. Therefore server names for example need to be fetched from a different source.

    index.php / sample implementation:
    http://pastebin.com/MGUweu6Z

    starmade_query.inc.php / php server query class
    http://pastebin.com/brVvyNEP

    I didn't create them myself, so I don't take any credit.

    PLEASE NOTE: There are at least 2 security vulnerabilities in this code. DO NOT use this unedited in production.

    Demo: http://star-made.de/query/

    EDIT//
    Moved folder from my main domain over to star-made.de

    Best regards,
    Seoson
     
    Last edited: