server command API


(bin-doph) #1

Hi,

I’m writing a pretty complex server-monitoring and stat-generation-tool and need some advice or a reference to a piece of documentation which gives me further infos.

at the moment I’m trying to implement a feature which shall promote a player (identified by the clients guid) to referee status. What I’m missing is the raw command send to the server and maybe some documentation about it (and other commands belonging to the server-api).

thx
-fe


(the_last_unicorn) #2

I’m not so sure i fully understand what you are looking for but AFAIK executing commands on quake-based servers is done via the RCON “protocol”. There probably are tools available that provide some sort of interface to it. If you know C a bit, it might be helpful to browse through the sourcecode of xqf http://www.linuxgames.com/xqf/index.shtml or any other open source server browser that provides rcon access.

hth


(bin-doph) #3

xqf is a server browser and only used by clients. What I am doing is a server-monitoring tool which is mainly using a raw “socket” (shared filehandle) to the server-console which accepts commands but those aren’t documented in the docs provided by my et-distribution. that is what I am looking for.


(SCDS_reyalP) #4

The canonical documentation: