islandsurvivalcraft/test-server/start_process.ps1
Harrison e45d642791 Added and changed server scripts.
tasks.json updated accordingly.

Also added a convenience normal start script.
2020-04-23 21:14:18 -05:00

6 lines
327 B
PowerShell

write-Output "Attempting to start Paper test server."
$SID = Start-Process java -ArgumentList "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=25566", "-Xms512M", "-Xmx1G", "-jar", "paper-195.jar", "nogui" -PassThru
$SID = $SID.Id
write-Output "Process started. PID is: $SID"
$SID | Out-File -FilePath "pid.temp"