Multiplayer Server Commands: Difference between revisions
m (Added debug output sample) |
Fred Gandt (talk | contribs) m (Tidied up a table, then got tired.) |
||
Line 5: | Line 5: | ||
==HowTo== | ==HowTo== | ||
You can access the command line | You can access the command line '''by pressing the chat key (default: <big>/</big>)'''. | ||
In the chat input window you can type any of the following commands in and confirm them with the enter key. | |||
You have to | In the chat input window you can type any of the following commands in and confirm them with the enter key. | ||
You have to '''add the <big>#</big> character before the command'''. | |||
==Commands== | ==Commands== | ||
Line 13: | Line 15: | ||
===Admin=== | ===Admin=== | ||
{| | {| class="operators" style="width:100%;border-spacing:1px;border-collapse:separate;background-color:#bbb;" | ||
! Command !! Example !! Description | |||
|- | |||
|- | | <tt>#login</tt> ''password'' || <tt>#login adminPW</tt> || Log in as the admin. | ||
| #login password || | |- | ||
| <tt>#logout</tt> || || Admin log out. | |||
|| Log in as the admin | |- | ||
|- | | <tt>#mission</tt> ''filename'' || <tt>#mission myDM.intro</tt> || Select mission with known name. | ||
| #logout || | |- | ||
|- | | <tt>#missions</tt> || || Select mission. | ||
| #mission filename || | |- | ||
| <tt>#restart</tt> || || Restart mission. | |||
|| Select mission with known name | |- | ||
|- | | <tt>#reassign</tt> || || Start over and reassign roles. | ||
| #missions || | |- | ||
|- | | <tt>#shutdown</tt> || || Shuts down the server. | ||
| #restart || | |- | ||
|- | | <tt>#init</tt> || || Reload server config file loaded by <tt>[[-config]]</tt> option. | ||
| #reassign || | |- | ||
|- | | <tt>#exec ban</tt> ''(name, ID or Player#)'' | ||
| #shutdown || | | <tt>#exec ban nickName</tt><br> | ||
|- | <tt>#exec ban 47114712</tt><br> | ||
| #init || | <tt>#exec ban 3</tt> | ||
|- | | Allows you to ban a player. Their ID will be added to the ''<tt>ban.txt</tt>'' | ||
| #exec ban (name, ID or Player#) | | |- | ||
| <tt>#kick</tt> ''(name, ID or Player#)'' | |||
| <tt>#kick nickName</tt><br> | |||
<tt>#kick 47114712</tt><br> | |||
<tt>#kick 3</tt> | |||
|- | | Allows you to kick a player. | ||
| #kick (name, ID or Player#) | | |- | ||
| <tt>#monitor</tt> ''(interval in sec)'' || <tt>#monitor 1</tt> || Shows performance information of the server. Interval <tt>0</tt> means to stop monitoring. | |||
|- | |||
| <tt>#debug off</tt> || <tt>#debug off</tt> || Disables debugging. | |||
|- | |||
|- | | <tt>#debug</tt> ''(interval in sec)'' || <tt>#debug 30</tt> || Default interval is <tt>10</tt> seconds. | ||
| #monitor (interval in sec) || | |- | ||
| <tt>#debug</tt> ''(command) (param)'' | |||
|| Shows performance information of the server. Interval 0 means to stop monitoring | | <tt>#debug checkFile expansion\Dta\ui.pbo</tt><br> | ||
|- | <tt>#debug userSent</tt> ''<username>''<br> | ||
| #debug off || | <tt>#debug userInfo</tt> ''<username>''<br> | ||
<tt>#debug userQueue</tt> ''<username>''<br> | |||
|| | <tt>#debug JIPQueue</tt> ''<username>''<br> | ||
|- | <tt>#debug totalSent</tt> ''10'' | ||
| #debug (interval in sec) || | | The available commands are:<br> | ||
: <tt>checkFile</tt> | |||
|| | : <tt>userSent</tt> | ||
|- | : <tt>userInfo</tt> | ||
| #debug (command) (param) | | : <tt>userQueue</tt> | ||
: <tt>totalSent</tt> | |||
: <tt>JIPQueue</tt> | |||
Each command can be disabled by the use of the <tt>off</tt> parameter ''e.g.'' <tt>#debug userSent off</tt><br> | |||
Each command differs a bit; some output to screen, some to log file etc.<br> | |||
<small>You need some debugger capable of catching ''OutputDebugString'' running on the client machine<br> | |||
(one very small and easy to use is available at ''SysInternals'' website).<br> | |||
You launch this debugger, then launch ARMA client, connect to the server, and issue any of the commands</small>. | |||
|- | |||
| <tt>#debug</tt> ''(command)'' | |||
| <tt>#debug von</tt><br> | |||
<tt>#debug console</tt> | |||
| The available commands are: | |||
<tt>console</tt> | |||
< | : Send to submitter what's on server console. Works as ''DebugAnswer'' for all writes into the console. | ||
<tt>von</tt> | |||
<small>You need some debugger capable of catching OutputDebugString running on the client machine <br> | : Outputs into ''logFile'' defined in [[server.cfg]] as ''e.g.'' <tt>logFile = "server_console.log";</tt> | ||
(one very small and easy to use is available at SysInternals website. <br> | Each of those commands should show a confirmation in the chat channels. | ||
You launch this debugger, | |||
|- | |||
| #debug (command) | | |||
|} | |} | ||
New admin commands since Armed Assault: | New admin commands since Armed Assault: |
Revision as of 04:36, 10 May 2014
Warning
HowTo
You can access the command line by pressing the chat key (default: /).
In the chat input window you can type any of the following commands in and confirm them with the enter key.
You have to add the # character before the command.
Commands
The following commands are available to you once you have connected to a server:
Admin
Command | Example | Description |
---|---|---|
#login password | #login adminPW | Log in as the admin. |
#logout | Admin log out. | |
#mission filename | #mission myDM.intro | Select mission with known name. |
#missions | Select mission. | |
#restart | Restart mission. | |
#reassign | Start over and reassign roles. | |
#shutdown | Shuts down the server. | |
#init | Reload server config file loaded by -config option. | |
#exec ban (name, ID or Player#) | #exec ban nickName #exec ban 47114712 |
Allows you to ban a player. Their ID will be added to the ban.txt |
#kick (name, ID or Player#) | #kick nickName #kick 47114712 |
Allows you to kick a player. |
#monitor (interval in sec) | #monitor 1 | Shows performance information of the server. Interval 0 means to stop monitoring. |
#debug off | #debug off | Disables debugging. |
#debug (interval in sec) | #debug 30 | Default interval is 10 seconds. |
#debug (command) (param) | #debug checkFile expansion\Dta\ui.pbo #debug userSent <username> |
The available commands are:
Each command can be disabled by the use of the off parameter e.g. #debug userSent off |
#debug (command) | #debug von #debug console |
The available commands are:
console
von
Each of those commands should show a confirmation in the chat channels. |
New admin commands since Armed Assault:
Command | Description |
#exec server side command | Execute administration scripting command |
#lock | Locks the server, prevents new clients from joining |
#unlock | Unlocks the server, allows new clients to join |
"#debug von" sample
server_console.log
*** VoN Topology Diagnostics ((*** =Player=: #2 P2PManager: Time: 13:38:48 waiting edges: 0, active negotiations: 0 Matrix: 3056006: #2 #2: 3056006 Cliques: 3056006,#2 Version: 1.60.86277 Private: 192.168.178.21 Connections: 3056006: Direct P2P, 5 KA, snd: 10 sec, rcv: 10 sec, (192.168.178.21:2317) snd=0 rcv=0(0) Repl(-5,0,0) Cliques: 3056006,Unknown =Player=: 3056006 Version: 1.60.86277 Private: 192.168.178.21 Public: 77.4.35.154 Connections: #2: Direct P2P, 5 KA, snd: 10 sec, rcv: 10 sec, (192.168.178.21:2305) snd=0 rcv=0(0) Repl(-5,0,0) Cliques: 3056006,Unknown *** VoN Topology Diagnostics ))***
"#debug (command)" sample
DebugView
#debug console [1508] Debug: console
#debug totalSent [1508] Debug: totalSent [1508] ** Total: sent 1447 bps (2.10 Msgps), received 3788 bps (6.10 Msgps)
#debug userQueue playerName [1508] Debug: userSent [1508] playerName: sent 1531 bps (2.30 Msgps), received 1259 bps (1.70 Msgps)
#debug userQueue playerName [1508] Debug: userInfo [1508] __SERVER__: Info Unknown player ID = 2 [1508] playerName: Info ping 0ms( 0, 1) BWfee 286Kb( 3, 204, 3) lost22.2%%( 2) queue 0B( 0) ackWait 0(0.0,0.0)
#debug userQueue playerName [1508] Debug: userQueue [1508] __SERVER__: Queue 0 B (0) 0 B Guaranteed (0), Desync 0 [1508] playerName: Queue 0 B (0) 222 B Guaranteed (3), Desync 0
Player
Command | Example | Description |
#vote missions | Users can vote for the mission selection | |
#vote mission (name) |
|
Users can vote on a particular mission to loaded |
#vote admin (name/ID/PLR#) |
|
Users can vote an admin to control the server |
#vote kick (name, ID or Player#) |
|
Users can vote to kick off an individual |
#vote restart | Vote to restart the mission | |
#vote reassign | Vote to reassign | |
#userlist | Displays the list of users on the server (use pgup to scroll up) |
Battleye
Command | Description |
#beclient players | Displays the list of GUID's of all players on the server |
#beclient guid | Show your own GUID |