Server manager – DayZ

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Switched to tools template)
Line 1: Line 1:
==Synopsis==
{{Tool|=
Script for download and management of DayZ server and mods.


==Description==
|AUTHOR= [[:Category:Projects|Bohemia Interactive]]
This script can be used for download of SteamCMD, DayZ server data and DayZ server mod data.
<br>It can also run DayZ server with specified user configuration (launch parameters, server configuration file).


 
|COMPATIBILITY=
==Notes==
Requires: PowerShell V4 or newer
File Name  : Server_manager.ps1
<br>Author : Bohemia Interactive a.s. - https://feedback.bistudio.com/project/view/2/
<br>Requires : PowerShell V4
<br>Supported OS: Windows 10, Windows Server 2012 R2 or newer
<br>Supported OS: Windows 10, Windows Server 2012 R2 or newer


==Links==
|DOWNLOAD=
DayZ web:
<br>https://dayz.com/


DayZ forums:
|DESCRIPTION=
<br>https://forums.dayz.com/forum/136-official/
Script for download and management of DayZ server and mods.


DayZ Wiki:
<br>This script can be used for download of SteamCMD, DayZ server data and DayZ server mod data.
<br>https://community.bistudio.com/wiki/...
<br>It can also run DayZ server with specified user configuration (launch parameters, server configuration file).


|NOTES=
File Name: Server_manager.ps1
<br>Requires: PowerShell V4
<br>Supported OS: Windows 10, Windows Server 2012 R2 or newer


==Parameters==
|COMMAND=
{| class="wikitable"
<syntaxhighlight lang="cmd">
|-
PARAMETERS:        VALUES:        INFO:
! PARAMETERS !! VALUES !! INFO
_______________________________________________________________________________________________________________
|-
-u                 server         Update server or mods or both to latest version.
| -u<br>-update || server<br>mod<br>all || Update server or mods or both to latest version.
-update            mod
|-
                    all
| -s<br>-server || start<br>stop || Start server or stop running server/servers.
_______________________________________________________________________________________________________________
|-
-s                 start         Start server or stop running server/servers.
| -lp<br>-launchParam || default<br>user || Must to be used in combination with -s/-server. <br>Select which file with server launch parameters will be used (default or user).
-server            stop
|}
_______________________________________________________________________________________________________________
-lp                 default       Must to be used in combination with -s/-server.
-launchParam        user          Select which file with server launch parameters will be used (default or user).
_______________________________________________________________________________________________________________
</syntaxhighlight>


 
|EXAMPLE=
==Examples : Command line==
Open Main menu:
Open Main menu:
<syntaxhighlight lang="PowerShell">
<syntaxhighlight lang="PowerShell">
Line 59: Line 56:
C:\foo> .\Server_manager.ps1 -s stop
C:\foo> .\Server_manager.ps1 -s stop
</syntaxhighlight>
</syntaxhighlight>
<br>
 
|LICENSING=
[[End User License Agreement for BI's Tools|Bohemia Interactive End User License Agreement]]
 
}}


[[Category:Tools]]
[[Category:Tools]]
[[Category:DayZ:Tools]]
[[Category:DayZ:Tools]]

Revision as of 14:58, 21 May 2019

Basic information

Author:
Bohemia Interactive
Compatibility:
Requires: PowerShell V4 or newer
Supported OS: Windows 10, Windows Server 2012 R2 or newer

Description

Description:
Script for download and management of DayZ server and mods.
This script can be used for download of SteamCMD, DayZ server data and DayZ server mod data.
It can also run DayZ server with specified user configuration (launch parameters, server configuration file).
Notes:
File Name: Server_manager.ps1
Requires: PowerShell V4
Supported OS: Windows 10, Windows Server 2012 R2 or newer

Usage

Line call:
PARAMETERS:         VALUES:        INFO:
_______________________________________________________________________________________________________________
-u                  server         Update server or mods or both to latest version.
-update             mod
                    all
_______________________________________________________________________________________________________________
-s                  start          Start server or stop running server/servers.
-server             stop
_______________________________________________________________________________________________________________
-lp                 default        Must to be used in combination with -s/-server.
-launchParam        user           Select which file with server launch parameters will be used (default or user).
_______________________________________________________________________________________________________________
Examples:
Open Main menu:
C:\foo> .\Server_manager.ps1


Update server:

C:\foo> .\Server_manager.ps1 -update server


Update both server and mods and start server with user config:

C:\foo> .\Server_manager.ps1 -u all -s start -lp user


Stop running servers:

C:\foo> .\Server_manager.ps1 -s stop

Licenses

Licensing:
Bohemia Interactive End User License Agreement