Added and changed server scripts.

tasks.json updated accordingly.

Also added a convenience normal start script.
This commit is contained in:
Harrison Deng 2020-04-23 21:14:18 -05:00
parent cbe8c30ece
commit e45d642791
5 changed files with 5 additions and 4 deletions

8
.vscode/tasks.json vendored
View File

@ -25,7 +25,7 @@
"dependsOn": ["package"],
"label": "update test server",
"type": "shell",
"args": ["-ExecutionPolicy", "Bypass", "-File", "./load-latest-build.ps1"],
"args": ["-ExecutionPolicy", "Bypass", "-File", "./load_latest_build.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell",
"problemMatcher": [],
@ -35,7 +35,7 @@
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": true
"clear": false
}
},
{
@ -43,7 +43,7 @@
"label": "start test server",
"type": "shell",
"runOptions": {"instanceLimit": 1},
"args": ["-ExecutionPolicy", "Bypass", "-File", "./start-debug-server-process.ps1"],
"args": ["-ExecutionPolicy", "Bypass", "-File", "./start_process.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell",
"problemMatcher": [],
@ -60,7 +60,7 @@
{
"label": "stop test server",
"type": "shell",
"args": ["-ExecutionPolicy", "Bypass", "-File", "./end-debug-server-process.ps1"],
"args": ["-ExecutionPolicy", "Bypass", "-File", "./end_process.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell",
"problemMatcher": [],

View File

@ -0,0 +1 @@
Start-Process java -ArgumentList "-Xms512M", "-Xmx1G", "-jar", "paper-195.jar", "nogui"