Improved server running

This commit is contained in:
Sekwah 2018-07-13 00:47:39 +01:00
parent 5c0aa56f94
commit 55f5d57314

View File

@ -69,7 +69,7 @@ task runJar() {
javaexec {
main "-jar"
args "${System.env.MC_SERVER_LOC}\\${System.env.MC_SERVER_JAR}.jar"
jvmArgs "-DIReallyKnowWhatIAmDoingISwear=true"
jvmArgs "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -DIReallyKnowWhatIAmDoingISwear=true"
workingDir "${System.env.MC_SERVER_LOC}"
}
}