CONSOLE COMMANDS


	============For everybody============


kick player_name
kick player_id
	player_name - Name of the player to be kicked
	player_id - Id number of the player. Can be found using 'list' command	
	Administrator kicks player immediately, clients start voting.


startadmin password
	Password - password for remote administration
	Send password on server to enable remote administration for this client.

list
	The list of all players is printed to the console.
	
listadmins
	List of all administrators is printed to the console.

mpresult				
	- outputs current game results into text file.
	
mllist				
	- outputs current 'missions list' to the console.
	
mlchangecurmap mission endrule endruleval		
	- for example: mlchangecurmap StreamCTF time 20.
	- changes current mission in the mission list.
	- when no admin uses it, voting is started.
	
restartmap				
	- restarts current mission.
	- when no admin uses it, voting is started.
	
chattoconsole 0/1/2
	- default is 0 for server and 1 for client.
	- 0 - nothing is written to the console.
	- 1 - players' chat is written to the console.
	- 2 - players' chat and info about killing is written to the console.		
	
consoletime 0/1
	- when on (1) adds system time as a prefix to important messages written to the console.

ignore player_name
ignore player_id
	- switch on/off ignoring of chat messages from chosen player.

ignorelist
	- outputs the list of ignored players to the console.
	
set clnvoicechat [status]
	- switches off/on Voice chat on client side.
	- status can be 0 ( off) or 1 ( on )
	
voicechatstatus
	- outputs server settings of voice chat and all players with voice chat enabled to the console.




	============ For the spectator ============

rpstart filename
	- starts saving of the game replay, the result is replay\filename.rep file.
	
rpend
	- ends saving of the game replay.
	
rpload filename
	- loads saved relay, the game disconnects from current game and goes to 'replay mode'.

bindreload
	- reloads MP bind keys definition - user\mp_bindkeys.txt		


		
	============ In replay mode ============

rpsetbmp fps filename
	example: rpsetbmp 25 StreamBattle
	- sets fps for BMP saving and the name of the files




	============For administrator and remote administrator only============
	
banimport [filename relative to Vietcong folder]
	- Imports ban list into the current one. Good to share ban lists with other admins.
	
banip [username] [ip.ip.ip.ip] [hours]
	- Allows manualy add any IP adress to the ban list. Username is just for better identification.
	
playerip [player id]
	- Write player IP adress into console

set srvcoopdif [difficulty]
	- changes	 Coop game difficulty ( 0 - easy, 1 - normal, 2 - hard, 3 - vietnam)

ban player_name hours
ban player_id hours
	example: ban UglyPlayer 10
		ban 268 0	
	player_name - Name of the player to be banned
	player_id - Id number of the player. Can be found using list command
	hours - number of hours, 0 means for ever
	Player is kick out from the game and he cannot to join this server for selected number of hours.
	
banip player_name time
banip player_id time
	- bans player from the game as standard 'ban' command, but remembers player's IP address and disables anybody to connect from this IP
		
banlist
	- outputs a list of all banned players to the console
	
banremove index
	- removes banned player from the list
	
clearban
	- Clears list of banned players
			
set srvvm status
	status - 0 or 1
	Sets Vietnam mode off / on.
	
set srvab status
	status - 0 or 1
	Sets Autobalance off / on
	
set srvff status
	status - 0 or 1
	Sets Friendly fire off / on

set srvec status
	status - 0 or 1
	Sets Enemy camera off / on

set srvcleng limit
	limit - max number of player of this class
	Sets limit for engineer class

set srvclmed limit
	limit - max number of player of this class
	Sets limit for medic class
	
set srvclsni limit
	limit - max number of player of this class
	Sets limit for sniper class

set srvclrad limit
	limit - max number of player of this class
	Sets limit for radioman class

set srvclmac limit
	limit - max number of player of this class
	Sets limit for machinegunner class


set srvakidle minutes
	minutes - number of minutes or 0 to disable
	Sets time for 'AutoKick idle player '

set srvakping ms
	ms - number of milliseconds or 0 to disable
	Sets ping for 'AutoKick high ping'
	
set srvaktk tk_value ban_hours
	tk_value - number of ally kills, 0 to disable
	ban_hours - number of hours to be banned when kicked by this autokick
	Sets 'AutoKick teamkill'
		
	
set srvpassword new_password	
	- changes current server password

mlclear
	- clears all mission in the mission list except the actual one		
	
mlchangemap index mission endrule endruleval	
	example: mlchangemap 0 StreamATG points 4
	- changes mission in mission list (can be used for actual mission too - mission is reloaded immediately)
		
mlchangeendrule index endrule endruleval
	example: mlchangeendrule 0 frags 20
		mlchangeendrule 0 time 40
		mlchangeendrule 0 points 5
	- changes end rule (can be used for actual mission too )
	
mlremovemap index
	- removes mission from the list (cannot be used on actual mission )
	
mladdmap mission endrule endruleval	
	example: mladdmap NvaCoop time 60
	- adds mission to the list
	
nextmap
	- switches to the next mission in the list

nextmap map_index
	- switches to specified map in the mission list
		
adminsay "something to say"
	example: adminsay " Hello, I'm your ruler! "
	- special chat for administrator - so everybody see it's a admin (the message has different color and stays for longer time)
	
set srvdb 0/1
	- set 'BlackDeath' option on or off - after player is killed his screen fades to black (required for clan wars )
	
swapplayer name/id
	- swaps player to other team ( valid for team based games)
	
set srvspectators limit delay
	- set spectators properties
		- limit - max number of spectators
		- delay - delay in second

set srvctf respawn_time_seconds
	- sets respawn time limit for CTF mode

set srvtt mission_time_minutes respawn_time_seconds
	- sets mission and respawn times for TT mode
	
set srvvoicechat [status]
	- switches off/on Voice chat support on the server
	- status can be 0 (off ), 1 ( low quality), 2 ( high quality )
	- we suggest to use low quality on good internet servers and high quality for LAN games only.
	
set srvjoinmsg "Message from the server"
	- enables admin to set a message that is sent to all players join the server

	

	============For administrator only============

set srvadmin password
	password - new password
	Sets password for remote administration
	
set srvadmin
	Clears password for remote administration. No remote administration is allowed.
