| |
|
|
|
|
Contents |
Complete management of all ettv servers - the servers are started as children of the ettvd process for full control over them. The servers will recieve all commands needed from the ettvd service.
ETTVd: Edit: start.sh, config.php Add maps and pak0.pk3 to etmain Make ettv.x86 executable
Webinterface: upload to php'able webspace configure includes/config.php
./start.sh as superuser (edit it first) - if you're not root change start.sh accordingly
My _example_ script will automatically set a higher priority and change user to my ettv user
These commands are available for all people who have logged in to the webinterface within the past 6 hours or used the adminip console command.
!admintest Check if you have admin access ingame
!recordmode <mode> Same as console recordmode, see below
!nextmap Jumps to the next map of the current recording See console nextmap for more information
!autoreplaynum See below
!reclist A quick ingame overview what the recorders are doing
!findviewer Debug function for viewer matching function used by below functions .Supports partial matches, strips colours and is case insensitive
!mute <match> <time> Mute a viewer specified by the <match> for <time> minutes, if <time> is not given default is to 5min
!unmute <match> Unmutes the viewer (also removes the sticky mute)
!kick <match> Goodbye <match> (banned for 5min by default)
Not needed when using webinterface
connect <ip> <gpw> <ettvpw> Creates a new recorder and connects it to this server
gamename <recid> <name> Sets the name of the currently running game on a recorder
recordmode <recid> <mode> Sets the recordmode for a recorder, the following modes are currently supported. --ready - recording starts once 4 players are ready --connect - recording starts as soon as the recorder is connected
Remark to recording: Recording stops when less than 50% of the players the game started --with remain on the server, it resumes when 2/3 of those players rejoin. --Please do not forget to kill your recorders even if they paused recording
livecast <recid> <repid> Tells a replayer that it should replay whatever that recorder will be recording --If the replayer is not running at the point that the recorder starts recording it will not work
broadcast <slots> <port> <privateslots> <gameid> <config> Starts a new broadcaster - you can omit everything except slots
killrec <recid> kills a recorder after broadcast
killrep <repid> kills a replayer for whatever reason
quit_rly shuts down everything cleanly - better than killing the process
reloaddemos reloads the demolist from disk in case you deleted some or whatever
demolist shows a list of all recorded games
viewerlist <repid> shows some info about connected viewers
playgame <repid> <gameid>plays a certain game
nextmap <repid>jumps to the next map - if it was the last map of the game it will chose the next game in the reply cycle --if you do this in live broadcast mode you will leave the live broadcast, because we cant jump into the future !!
autoreplaynum <repid> <number> the number of recent games the replayer will automatically replay
serverlist shows all server processes currently managed by ettvd
debug <1/0> turns debug information on or off
There are more functions used by the webinterface - if you really care, please check the sourcecode of ettvd.php - commands are pretty easy to understand