Yatopia/patches/server/0040-Add-IntelliJ-IDEA-runnable.patch

47 lines
2.2 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Zoe <duplexsys@protonmail.com>
Date: Sun, 27 Sep 2020 17:07:16 -0500
Subject: [PATCH] Add IntelliJ IDEA runnable
diff --git a/.gitignore b/.gitignore
index 67fb370cad6924895a6b27052dbd5c1767e3f0c9..a111955550db7b00a6923a4fd715f3c524c7c438 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,3 +37,5 @@ dependency-reduced-pom.xml
/src/main/resources/achievement
/src/main/resources/lang
+
+/testserver/**
diff --git a/.run/Yatopia.run.xml b/.run/Yatopia.run.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ebba87ca805d8e57ce7aeb57d7f0b11abda0cc1c
--- /dev/null
+++ b/.run/Yatopia.run.xml
@@ -0,0 +1,23 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Yatopia" type="Application" factoryName="Application">
+ <option name="MAIN_CLASS_NAME" value="org.bukkit.craftbukkit.Main" />
+ <module name="yatopia" />
+ <option name="PROGRAM_PARAMETERS" value="nogui" />
+ <selectedOptions>
+ <option name="before.launch.openToolWindow" />
+ <option name="beforeRunTasks" />
+ <option name="commandLineParameters" />
+ <option name="doNotBuildBeforeRun" />
+ <option name="environmentVariables" />
+ <option name="jrePath" />
+ <option name="mainClass" />
+ <option name="vmParameters" />
+ <option name="workingDirectory" />
+ </selectedOptions>
+ <option name="VM_PARAMETERS" value="-Xms2G -Xmx2G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testserver" />
+ <method v="2">
+ <option name="MakeProject" enabled="true" />
+ </method>
+ </configuration>
+</component>
\ No newline at end of file