< Back

New-Arma3Server

Fri Jan 10, 2020 8:53 pm

NAME New-Arma3Server



SYNOPSIS

Sets up a new instance of an Arma3 dedicated server.





SYNTAX

New-Arma3Server [-SteamCMDinstallPath] <String> [-Arma3ServerName] <String> [-SteamUsername] <String>

[-SteamPassword] <String> [[-ServerConfigFileLocation] <String>] [[-mods] <String[]>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-SteamCMDinstallPath <String>

The location of SteamCMD. If not already there, SteamCMD will be downloaded to this location.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Arma3ServerName <String>

Setup-Arma3Server will create a new folder inside of the SteamCMD structure and install the server to there,

using this parameter's name.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SteamUsername <String>

The username of the Steam account to login to SteamCMD with.



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SteamPassword <String>

The password for the above account.



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServerConfigFileLocation <String>

Full path of the server config file you wish to copy, if you wish to copy one.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-mods <String[]>

An array of mods to download for Arma3 Server. seperate like: 'mod','mod2','mod3'

must use the Steam ID. For example to install CBA_A3, it would be 450814997. Taken from

https://steamcommunity.com/sharedfiles/ ... =450814997



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





AUTHOR: Caius Ajiz

WEBSITE: https://github.com/CaiusAjiz/Arma3Powershell/



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Install Arma3 Server into C:\\SteamCMD with 3 mods (CBA_A3, ShacktacUI & ASR AI3)



Setup-Arma3Server -SteamCMDinstallPath "C:\\SteamCMD" -Arma3ServerName 'Arma3Live' -SteamUsername [Username]

-SteamPassword [Password] -mods '450814997','498740884','642457233'











RELATED LINKS