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:
@@ -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"
|
||||
|
@@ -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"
|
Reference in New Issue
Block a user