better start scripts, requires test servers location to be in project folder under "/server/"

master
Benjamin Kraft 3 years ago
parent 0a08f93942
commit 8fc9071449
  1. 1
      .gitignore
  2. 15
      .idea/codeStyles/Project.xml
  3. 5
      .idea/codeStyles/codeStyleConfig.xml
  4. 1
      Sharehealth.iml
  5. 1
      deploy.bat
  6. 1
      scripts/deploy.bat
  7. 0
      scripts/deploy.sh
  8. 2
      scripts/start_server.bat
  9. 0
      scripts/start_server.sh
  10. 2
      start_server.bat

1
.gitignore vendored

@ -96,6 +96,7 @@ $RECYCLE.BIN/
*.lnk
target/
server/
pom.xml.tag
pom.xml.releaseBackup

@ -0,0 +1,15 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<ScalaCodeStyleSettings>
<option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
</ScalaCodeStyleSettings>
<codeStyleSettings language="Scala">
<indentOptions>
<option name="INDENT_SIZE" value="4" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="4" />
<option name="USE_TAB_CHARACTER" value="true" />
</indentOptions>
</codeStyleSettings>
</code_scheme>
</component>

@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>

@ -15,6 +15,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" />
<excludeFolder url="file://$MODULE_DIR$/server" />
</content>
<orderEntry type="jdk" jdkName="openjdk-13" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />

@ -1 +0,0 @@
xcopy IntelliJ_IDEA\Sharehealth\target\Sharehealth.jar Minecraft_Servers\Server_1.16.1\plugins\ /Y

@ -0,0 +1 @@
xcopy target\Sharehealth.jar server\plugins\ /Y

@ -0,0 +1,2 @@
cd server
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar spigot-1.16.5.jar nogui

@ -1,2 +0,0 @@
cd Server_1.16.1
call start.bat
Loading…
Cancel
Save