Changed test-server scripts and reconfigured tasks.

VSCode task output and cleanup config changed.

Added some more verbosity to scripts.
This commit is contained in:
2020-04-22 21:16:43 -05:00
parent 7d07332ef5
commit 421af33658
3 changed files with 24 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
write-Output "Attempting to delete previous world..."
write-Output "Deleting previous world if there was one..."
remove-Item -Recurse world -Force -ErrorAction Ignore
write-Output "Attempting to copy plugin jar to plugins folder"
copy-Item -Path "..\target\IslandSurvivalCraft-1.0.0.jar" -Destination "plugins\IslandSurvivalCraft-1.0.0.jar"
write-Output "Attempting to copy plugin jar to plugins folder..."
copy-Item -Path "..\target\IslandSurvivalCraft-1.0.0.jar" -Destination "plugins\IslandSurvivalCraft-1.0.0.jar"

View File

@@ -1,3 +1,6 @@
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"