Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Variable
- $NBplayermax="30"
- $path="A:\AtlasServer\ShooterGame\Binaries\Win64\ShooterGameServer.exe"
- $IP="XXX.XXX.XXX.XXX"
- ($csv = Import-Csv "A:\Launcher\Servers\Servers.csv" -Delimiter ";") | foreach {
- $X=$_.x
- $Y=$_.y
- $name=$_.name
- $RCONPort=$_.RCONPort
- $QueryPort=$_.QueryPort
- $Port=$_.Port
- # -ForceRespawnDinos Launch with this command to destroy all wild creatures on a startup. (this will only destroy wild creatures that are NOT currently being tamed)
- # -AlwaysActiveFountainsOfYouth Locks the Fountain of Youth to one Golden Age Ruins
- start $path "Ocean?ServerX=$($X)?ServerY=$($Y)?AltSaveDirectoryName=$($name)?MaxPlayers=$($NBplayermax)?ReservedPlayerSlots=0?RCONEnabled=True?RCONPort=$($RCONPort)?QueryPort=$($QueryPort)?Port=$($Port)?SeamlessIP=$($IP)?ForceAllStructureLocking=true -log -server -NoBattlEye -AlwaysActiveFountainsOfYouth"
- Sleep -s 3
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement