R3vo – User talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Replaced content with "{{GVI|arma3|1.22}}")
Tag: Replaced
Line 1: Line 1:
{{Warning|It is recommended to use [[BattlEye#RCon|BattlEye's RCon]] tool to administrate the server;<br>
{{GVI|arma3|1.22}}
it uses custom port which one may easily secure by firewall rules! (RCON cannot be affected by in-game script exploits)}}
 
==HowTo==
You can access the command line '''by pressing the chat key ( ''default:'' <tt>/</tt> )'''.
 
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 <tt>#</tt> character before the command'''.
 
The commands can be used in SQF scripts by using [[serverCommand]].
 
{{Informative|'''Troubleshooting''': All commands are confirmed via a message in the console. If you enter a command that is properly formatted and you see no confirmation of the command then an error has occurred. Check your server log for more information (e.g. one or more of your mission files is corrupt or has an error which prevents the Missions Lobby from loading, or may prevent other commands like #restart or #reassign from executing).}}
 
==Commands==
The following commands are available to you once you have connected to a server:
 
{| class="wikitable sortable"
|-
! Syntax !! Example !! Description !! Available for !! Introduced with
|-
| <nowiki>#</nowiki>login (password) || <tt>#login<tt><br><tt>#login adminPassword</tt> || Log in as the admin. Without password only possible if you are listed as an admin[] in server.cfg#Server_Options || player || {{n/a}}
|-
| #logout || {{n/a}} || Admin log out. || admin || {{n/a}}
|-
| #mission filename (fileName) || <tt>#mission myDM.intro</tt><br><tt>#mission myDM.intro Veteran</tt> || Select mission with known name and set the difficulty. Difficulty parameter is optional and if not set, current difficulty is kept. || admin || {{n/a}}
|}
 
 
===Admin===
{| class="wikitable"
! Command                                !! Example                      !! Description
|-
| <tt>#login</tt> <br>
<tt>#login</tt> ''password''<br>
| <tt>#login</tt>  <br>
<tt>#login adminPW</tt>  <br>
| Log in as the admin. Without password only possible if you are listed as an admin[] in [[server.cfg#Server_Options]]
|-
| <tt>#logout</tt>                        ||                              || Admin log out.
|-
|<tt>#mission</tt> ''filename''<br>
<tt>#mission</tt>&nbsp;''filename''&nbsp;''difficulty''
|<tt>#mission&nbsp;myDM.intro</tt><br>
<tt>#mission&nbsp;myDM.intro&nbsp;Veteran</tt>
| Select mission with known name and set the difficulty. Difficulty parameter is optional and if not set, current difficulty is kept.
|-
| <tt>#missions</tt>                      ||                              || Select mission.
|-
| <tt>#restart</tt>                      ||                              || Restart mission.
|-
| <tt>#reassign</tt>                      ||                              || Start over and reassign roles.
|-
| <tt>#shutdown</tt>                      ||                              || Shuts down the server immediately
|-
| <tt>#restartserver</tt>                ||                              || Shuts down and restarts the server immediately (since Arma 3 v1.65.138168)
|-
| <tt>#shutdownserveraftermission</tt>    ||                              || Shuts down the server after mission ends (since Arma 3 1.72.142200)
|-
| <tt>#restartserveraftermission</tt>    ||                              || Shuts down and restarts the server after mission ends (since Arma 3 1.72.142200)
|-
| <tt>#init</tt>                          ||                              || Reload server config file loaded by <tt>[[-config]]</tt> option.
|-
|<tt>#exec ban</tt> ''name''<br>
<tt>#exec ban</tt> ''ID''<br>
<tt>#exec ban</tt> ''Player#''
|<tt>#exec ban nickName</tt><br>
<tt>#exec ban 47114712</tt><br>
<tt>#exec ban 3</tt>
| Allows you to ban a player. Their ID will be added to the ''<tt>ban.txt</tt>''
|-
| <tt>#kick</tt> ''name''<br>
<tt>#kick</tt> ''ID''<br>
<tt>#kick</tt> ''Player#''
| <tt>#kick nickName</tt><br>
<tt>#kick 47114712</tt><br>
<tt>#kick 3</tt>
| Allows you to kick a 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.
 
{| class="wikitable"
|+ Values description
! colspan="2" | Traffic
|-
| G || Guaranteed messages
|-
| NG || Non-Guaranteed messages
|-
! colspan="2" | Player info
|-
| L || lobby
|-
| R || role selection
|-
| B || briefing
|-
| G || in-game
|-
| D || debriefing
|}
|-
| <tt>#monitords</tt> ''(interval in sec)'' || <tt>#monitords 1</tt>          || Shows performance information in the dedicated server console. Interval <tt>0</tt> means to stop monitoring. (since Arma 3 v1.64)
|-
| <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.
|-
| <tt>#debug</tt> ''(command) (param)''
| <tt>#debug checkFile expansion\Dta\ui.pbo</tt><br>
<tt>#debug userSent</tt> ''<username>''<br>
<tt>#debug userInfo</tt> ''<username>''<br>
<tt>#debug userQueue</tt> ''<username>''<br>
<tt>#debug JIPQueue</tt> ''<username>''<br>
<tt>#debug totalSent</tt> ''10''
| The available commands are:<br>
: <tt>checkFile</tt>
: <tt>userSent</tt>
: <tt>userInfo</tt>
: <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>
: Outputs into ''logFile'' defined in [[server.cfg]] as ''e.g.'' <tt>logFile = "server_console.log";</tt>
Each of those commands should show a confirmation in the chat channels.
|}
 
{| class="wikitable"
|+ New admin commands since Armed Assault:
! Command                                                                !! Description
|-
| <tt>#exec</tt> ''[[ArmA: Server Side Scripting|server side command]]'' || Execute administration scripting command.
|-
| <tt>#lock</tt>                                                        || Locks the server, prevents new clients from joining.
|-
| <tt>#unlock</tt>                                                      || Unlocks the server, allows new clients to join.
|}
 
 
===="#debug von" sample====
'''server_console.log'''
<pre>*** 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 ))***</pre>
 
 
===="#debug (command)" sample====
'''DebugView'''
<pre>#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 userSent playerName
[1508] Debug: userSent
[1508] playerName: sent 1531 bps (2.30 Msgps), received 1259 bps (1.70 Msgps)
 
#debug userInfo 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</pre>
 
===Player===
{| class="wikitable"
! Command                          !! Example                          !! Description
|-
| <tt>#vote missions</tt>          ||                                  || Users can vote for the mission selection.
|-
| <tt>#vote mission</tt> ''(name)'' || <tt>#vote mission myD.intro</tt> || Users can vote on a particular mission to loaded.
|-
| <tt>#vote admin</tt> ''(name/ID/PLR#)''
|<tt>#vote admin nickName</tt><br>
<tt>#vote admin 47114712</tt><br>
<tt>#vote admin 3</tt>
| Users can vote an admin to control the server.
|-
| <tt>#vote kick</tt> ''(name, ID or Player#)''
| <tt>#vote kick nickName</tt><br>
<tt>#vote kick 47114712</tt><br>
<tt>#vote kick 3</tt>
| Users can vote to kick off an individual.
|-
| <tt>#vote restart</tt>            ||                                  || Vote to restart the mission.
|-
| <tt>#vote reassign</tt>          ||                                  || Vote to reassign.
|-
| <tt>#userlist</tt>                ||                                  || Displays the list of users on the server (use ''PgUp'' to scroll up).
|}
 
===Battleye===
{| class="wikitable"
! Command                    !! Description
|-
| <tt>#beclient players</tt> || Displays the list of ''GUID's'' of all players on the server.
|-
| <tt>#beclient guid</tt>    || Show your own ''GUID''.
|}
 
===Arma 3===
 
In Arma 3 '''#exec kick''' and '''#exec ban''' commands require quotes (string) for ''Name'', ''UID'' or ''Player#''. To do this for the UID or Player#, use [[format]] command to turn the user ID into a string.
 
<pre>#exec kick "5"
#exec ban "imah4x0r"
#exec kick "938679499494"</pre>
 
'''#kick''' command can still be used either way:
 
<pre>#kick imah4x0r
#kick "imah4x0r"</pre>
 
In case of banning, ''ban.txt'' file is created in root Arma 3 directory that contains a list of banned UIDs. To unban a user by UID (UID is the only option) or to clear the ''ban.txt'':
<pre>#exec unban "98749837498374"
#exec clearbans</pre>
 
2 more diagnostic commands have been added to Arma 3:
 
* '''#logEntities''' (see also [[logEntities]])
* '''#exportJIPqueue''' (see also [[exportJIPMessages]])
 
Also new in Arma 3:
 
* '''#restartServer'''
* '''#monitorDS'''
 
[[Category:Multiplayer Hints and Tips]]
{{GameCategory|arma3| Multiplayer}}
{{GameCategory|arma2|Multiplayer}}
{{GameCategory|arma1| Multiplayer}}
{{GameCategory|ofp| Multiplayer}}

Revision as of 16:17, 31 January 2021