Jump to content

Home

JK2 raw server commands...


tweedman

Recommended Posts

I have written a PHP script that connects to a JK2 server, I would like to be able to talk to it and get info such as current scores and stats.

 

I can't find a list of server commands anywhere, the only thing I can get when I connect is ÿÿÿÿdisconnect.

 

Anybody?

Link to comment
Share on other sites

clear; cmdlist; condump cmdlist.txt; clear; cvarlist; condump cvarlist.txt

 

Paste that string of commands into the console and run it. It will dump all listed, all important commands and cvars to their respective files.

 

If you want to do stats and such, you'll need to parse the log file. The command "logfile 3" should open the logfile for realtime writing and appending.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...