Server manager – DayZ

From Bohemia Interactive Community
Jump to navigation Jump to search
m (+Official)
(Added support for DayZ Experimental server app)
Line 33: Line 33:
-lp                default        Must to be used in combination with -s/-server.
-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).
-launchParam        user          Select which file with server launch parameters will be used (default or user).
___________________________________________________________________________________________________________________
-app                stable/exp    Select which Steam server application you want to use.
___________________________________________________________________________________________________________________
___________________________________________________________________________________________________________________
</pre>
</pre>
Line 42: Line 44:
</syntaxhighlight>
</syntaxhighlight>
   
   
<br>Update server:
<br>Update Experimental server:
<syntaxhighlight lang="PowerShell">
<syntaxhighlight lang="PowerShell">
C:\foo> .\Server_manager.ps1 -update server
C:\foo> .\Server_manager.ps1 -update server -app exp
</syntaxhighlight>
</syntaxhighlight>
 
 

Revision as of 16:17, 24 March 2020

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 mod data from the Steam Workshop.
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).
___________________________________________________________________________________________________________________
-app                stable/exp     Select which Steam server application you want to use.
___________________________________________________________________________________________________________________
Examples:
Open Main menu:
C:\foo> .\Server_manager.ps1


Update Experimental server:

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


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