Server manager – DayZ

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Add category)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Tool|=
{{Tool


|AUTHOR= [[:Category:Projects|Bohemia Interactive]]
|AUTHOR= [[:Category:Projects|Bohemia Interactive]]
Line 5: Line 5:
|COMPATIBILITY=
|COMPATIBILITY=
Requires: PowerShell V4 or newer
Requires: PowerShell V4 or newer
<br>Supported OS: Windows 10, Windows Server 2012 R2 or newer
<br>Supported OS: Windows 10, Windows Server 2012 R2, or newer


|DOWNLOAD=
|DOWNLOAD=


|DESCRIPTION=
|DESCRIPTION=
Script for download and management of DayZ server and mods.
Script for download and management of {{dayz}} server and mods.<br>


<br>This script can be used for download of SteamCMD, DayZ server data and DayZ server mod data.
This script can be used for download of SteamCMD, {{dayz}} server data and mod data from the Steam Workshop.<br>
<br>It can also run DayZ server with specified user configuration (launch parameters, server configuration file).
It can also run {{dayz}} server with specified user configuration (launch parameters, server configuration file).


|NOTES=
|NOTES=
File Name: Server_manager.ps1  
File Name: {{hl|Server_manager.ps1}}<br>
<br>Requires: PowerShell V4
Location: {{hl|DayZServer\server_manager}}<br>
<br>Supported OS: Windows 10, Windows Server 2012 R2 or newer
: {{Feature|important|As of {{GVI|dayz|1.24|size= 0.75}}, the {{hl|Server_manager.ps1}} file is missing; this situation is about to be solved as of 2024-03-19 (either in {{GVI|dayz|1.25|size= 0.75}} or by a minor Steam update).}}
Requires: PowerShell V4<br>
Supported OS: Windows 10, Windows Server 2012 R2, or newer
 


|COMMAND=
|COMMAND=
<pre>
<pre>
PARAMETERS:         VALUES:       INFO:
PARAMETERS: VALUES: INFO:
___________________________________________________________________________________________________________________
-u server Update server or mods or both to latest version.
-u                 server         Update server or mods or both to latest version.
-update mod
-update             mod
all
                    all
-s start Start server or stop running server/servers.
___________________________________________________________________________________________________________________
-server stop
-s                 start         Start server or stop running server/servers.
-lp default Must to be used in combination with -s/-server.
-server             stop
-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.
-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).
___________________________________________________________________________________________________________________
</pre>
</pre>


Line 41: Line 41:
C:\foo> .\Server_manager.ps1
C:\foo> .\Server_manager.ps1
</syntaxhighlight>
</syntaxhighlight>
 
<br>Update server:
 
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>
 
<br>Update both server and mods and start server with user config:
 
Update both server and mods and start server with user config:
<syntaxhighlight lang="PowerShell">
<syntaxhighlight lang="PowerShell">
C:\foo> .\Server_manager.ps1 -u all -s start -lp user
C:\foo> .\Server_manager.ps1 -u all -s start -lp user
</syntaxhighlight>
</syntaxhighlight>
 
<br>Stop running servers:
 
Stop running servers:
<syntaxhighlight lang="PowerShell">
<syntaxhighlight lang="PowerShell">
C:\foo> .\Server_manager.ps1 -s stop
C:\foo> .\Server_manager.ps1 -s stop
</syntaxhighlight>
</syntaxhighlight>


|LICENSING=  
|LICENSING= [[End User License Agreement for BI's Tools|Bohemia Interactive End User License Agreement]]
[[End User License Agreement for BI's Tools|Bohemia Interactive End User License Agreement]]


}}
}}


[[Category:Tools]]
 
[[Category:DayZ:Tools]]
{{GameCategory|dayz|Server}}
{{GameCategory|dayz|Official Tools}}

Latest revision as of 17:04, 19 March 2024

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
Location: DayZServer\server_manager
As of dayzlogoinv.png1.24, the Server_manager.ps1 file is missing; this situation is about to be solved as of 2024-03-19 (either in dayzlogoinv.png1.25 or by a minor Steam update).
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