Server Management – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix version and link)
m (Fix link)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TOC|side}}
{{TOC|side}}
{{Feature|informative|See also: [[Arma Reforger:Server Hosting|Server Hosting]].}}
{{Feature|informative|See also: {{Link|Arma Reforger:Server Hosting|Server Hosting}}.}}




Line 6: Line 6:


An in-game server administrator can be:
An in-game server administrator can be:
* ''the player hosting the server''
* the player hosting the server (PC only)
* a logged-in admin, using {{hl|[[#login]] [[Arma Reforger:Server Hosting#adminPassword|adminPassword]]}}
* a logged-in admin, using {{hl|[[#login]] [[Arma Reforger:Server Config#passwordAdmin|passwordAdmin]]}}
* ''a voted-in admin through the {{hl|#vote admin}} command''
* a voted-in admin
 
{{Feature|important|As of {{armaR}} 0.9.'''6''' neither player-hosting nor the {{hl|#vote}} command are implemented, leaving only the {{HashLink|#login|logged-in admin}} option for now.}}




Line 18: Line 16:
|- class="align-center"
|- class="align-center"
! rowspan="2" | Right
! rowspan="2" | Right
! colspan="3" | Roles
! colspan="3" | Player Role
! colspan="2" | RCON Permission
|- class="align-center"
|- class="align-center"
! Logged Admin
! Logged Admin
<!-- ! Voted Admin -->
! Voted Admin
! Player
! Player
! RCON Admin
! RCON Monitor
|-
|-
| {{hl|#login}}
| {{hl|#login}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
<!-- | {{Icon|unchecked}} -->
| {{Icon|unchecked}}
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#logout}}
| {{hl|#logout}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|checked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#roles}}
| {{hl|#roles}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#restart}}
| {{hl|#restart}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|unchecked}} -->
| {{Icon|unchecked}}
| {{Icon|unchecked}}
| {{Icon|checked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#shutdown}}
| {{hl|#shutdown}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|unchecked}} -->
| {{Icon|unchecked}}
| {{Icon|unchecked}}
| {{Icon|checked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#kick}}
| {{hl|#kick}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|unchecked}}
| {{Icon|unchecked}}
| {{Icon|checked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#ban}}
| {{hl|#ban}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
| {{hl|#unban}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
| {{hl|#bans}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#id}}
| {{hl|#id}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|unchecked}}
| {{Icon|unchecked}}
|-
|-
| {{hl|#players}}
| {{hl|#players}}
| {{Icon|checked}}
| {{Icon|checked}}
<!-- | {{Icon|checked}} -->
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|checked}}
| {{Icon|checked}}
|}
|}
Line 85: Line 94:
=== login ===
=== login ===


Login as server administrator with the password set in server config's field {{hl|[[Arma Reforger:Server Hosting#adminPassword|adminPassword]]}}.
Login as server administrator with the password set in server config's field {{hl|[[Arma Reforger:Server Hosting#passwordAdmin|passwordAdmin]]}}.
{{Feature|informative|Admins (in server config) or Owner (in {{hl|ownerToken.bin}}) can use the command without password.}}
 
; Syntax
#login
#login <password>
 
; Example
; Example
#login
  #login myServersPassword
  #login myServersPassword


Line 129: Line 145:


Kick (eject) the player out of the server through their playerId (obtained by {{Link|#players}}). Said player can still rejoin the server.
Kick (eject) the player out of the server through their playerId (obtained by {{Link|#players}}). Said player can still rejoin the server.
; Syntax
#kick <playerId>
; Example
; Example
  #kick 123456789
  #kick 123456789
Line 134: Line 153:
=== ban ===
=== ban ===


This command prefixes ban-related commands: "create", "remove", "list"
Ban (eject and banish forever or for a certain duration in seconds) the player out of the server through their playerId (obtained by {{Link|#players}}). Said player cannot rejoin until ban expiration.
Ban (eject and banish forever or for a certain duration in seconds) the player out of the server through their playerId (obtained by {{Link|#players}}). Said player cannot rejoin until ban expiration.
{{Feature|important|This command can only be executed on a dedicated server.}}
==== create ====
Create a ban entry for the player related to the provided id.
; Syntax
#ban create <playerId or identityId> <durationInSeconds> <reason (optional)>
if using {{hl|playerId}}, the player must actually be connected to the server; use {{hl|identityId}} if required.
; Example
; Example
Ban for an hour
Ban for an hour
  #ban 123456789 3600
  #ban create 123456789 3600
Ban forever
Ban forever
  #ban 123456789 -1
  #ban create 123456789 0
Ban with a reason
#ban create 123456789 86400 teamkilling
 
==== remove ====
Remove a ban entry linked to the provided identity, allowing the player to rejoin.


=== unban ===
; Syntax
#ban remove <identityId>


Unban (cancel the ban) the player, allowing them to rejoin.
; Example
; Example
  #unban 123456789
  #ban remove 123456789
 
==== list ====
List current bans in a format {{hl|BanID ; Player UID ; Duration}}.
{{Feature|important|
* If the ''page'' parameter is not provided then the first page is shown.
* RCON can show 25 bans per page while game only 10.
}}


=== bans ===
; Syntax
#ban list <page (optional)>


List bans in a format {{hl|BanID ; Player UID ; Duration}}
; Example
; Example
  #bans
  #ban list
#ban list 2


=== id ===
=== id ===

Latest revision as of 11:52, 1 April 2024

See also: Server Hosting.


Administrator Roles

An in-game server administrator can be:

  • the player hosting the server (PC only)
  • a logged-in admin, using #login passwordAdmin
  • a voted-in admin


Permissions

Right Player Role RCON Permission
Logged Admin Voted Admin Player RCON Admin RCON Monitor
#login Unchecked Unchecked Checked Unchecked Unchecked
#logout Checked Checked Unchecked Unchecked Unchecked
#roles Checked Checked Checked Unchecked Unchecked
#restart Checked Unchecked Unchecked Checked Unchecked
#shutdown Checked Unchecked Unchecked Checked Unchecked
#kick Checked Unchecked Unchecked Checked Unchecked
#ban Checked Unchecked Unchecked Checked Unchecked
#id Checked Checked Checked Unchecked Unchecked
#players Checked Checked Checked Checked Checked


Commands

login

Login as server administrator with the password set in server config's field passwordAdmin.

Admins (in server config) or Owner (in ownerToken.bin) can use the command without password.
Syntax
#login
#login <password>
Example
#login
#login myServersPassword

logout

Example
#logout

roles

Print the list of server roles the player possesses.

Example
#roles

restart

Restart the actually running scenario. The server keeps the clients connected.

Example
#restart

shutdown

Shut down the server, disconnecting all the clients.

Example
#shutdown

kick

Kick (eject) the player out of the server through their playerId (obtained by players). Said player can still rejoin the server.

Syntax
#kick <playerId>
Example
#kick 123456789

ban

This command prefixes ban-related commands: "create", "remove", "list" Ban (eject and banish forever or for a certain duration in seconds) the player out of the server through their playerId (obtained by players). Said player cannot rejoin until ban expiration.

This command can only be executed on a dedicated server.

create

Create a ban entry for the player related to the provided id.

Syntax
#ban create <playerId or identityId> <durationInSeconds> <reason (optional)>

if using playerId, the player must actually be connected to the server; use identityId if required.

Example

Ban for an hour

#ban create 123456789 3600

Ban forever

#ban create 123456789 0

Ban with a reason

#ban create 123456789 86400 teamkilling

remove

Remove a ban entry linked to the provided identity, allowing the player to rejoin.

Syntax
#ban remove <identityId>
Example
#ban remove 123456789

list

List current bans in a format BanID ; Player UID ; Duration.

  • If the page parameter is not provided then the first page is shown.
  • RCON can show 25 bans per page while game only 10.
Syntax
#ban list <page (optional)>
Example
#ban list
#ban list 2

id

Gives the local player's id.

Example
#id

players

Lists session's players and their playerId.

Example
#players