View Full Version : MP: Server commands
sensationikke
07-06-2009, 09:12 AM
I know there is somewhere a topic about it, but i don't seem to find it.
So the question: I've got a friend who hosts player matches. (not dedicated). How can he kick/ban people and what are the commands?
Its in the FC2ServerLauncher readme 1.03 R2
but here it is;
---------------------
Host only commands:
---------------------
net_EndMatch : End the current match.
net_RestartMatch : Restart the current match.
net_ExtendMatch : Extend the current match.
net_ShuffleTeams : Shuffle teams.
net_ChangeCaptain : Change captain. Usage: net_ChangeCaptain <team name>
net_SkipMap : Skip the current map.
net_KickClient : Kick the specified player. Usage: net_kickClient <player name>
net_KickBanClient : Kick/Ban the specified player. Usage: net_kickBanClient <player name>
net_TellClientId : Send a message to a given player. Usage: net_tellClientId <player id> <message>
net_KickClientId : Kick the specified player. Usage: net_kickClientId <player id>
net_KickBanClientId : Kick/Ban the specified player. Usage: net_kickBanClientId <player id>
net_ServeCustomMapEnabled : Enable serving of a custom map when hosting a server.
---------------------
Host and client commands:
---------------------
net_GetCurrentMapName : Displays the current map name.
net_GetCurrentGameModeName : Displays the current game mode name.
net_GetHostAddress : Displays the host address.
net_GetHostName : Displays the host name.
net_GetCurrentSessionMaxPlayer : Displays the maximum number of players for the current session.
net_GetPlayerList : Get the player list.
net_GetPlayerListByTeam : Get the player list by team.
net_GetCaptainNames : Get the name of each captain.
net_GetGameScoreStats : Get the current game score statistics.
call_vote_end_match : Start a vote to end the current match.
call_vote_restart_match : Start a vote to restart the match.
call_vote_extend_match : Start a vote to extend the match.
call_vote_shuffle_teams : Start a vote to shuffle teams.
call_vote_change_captain : Start a vote to change captain.
call_vote_kick : Start a vote to kick a client. Usage: call_vote_kick <player name>
call_vote_kick_id : Start a vote to kick a client. Usage: call_vote_kick_id <player id>
call_vote_skip_map : Start a vote to skip map.
vote : Usage: vote <yes/no>
ready : Enable/disable ready state.
===============================================
Tango_2_0
07-06-2009, 12:58 PM
Also, there are the setsetting commands available, these are some that are useful:
setsetting gamemode Deatmatch
setsetting gamemode TeamDeatmatch
setsetting gamemode Ctf
setsetting gamemode Uprising
setsetting hardcore_mode 1
setsetting hardcore_mode 0
setsetting minplayers [any number 2-16]
setsetting maxplayers [any number 2-16]
Doing a "setsetting minplayers 1" command when at least one player is ready will cause the server to launch.
Agent00Kevin
07-12-2009, 07:11 PM
setsetting dont_crash_ubisoft