mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-09-17 18:11:16 +02:00
435f17de1c
Fixes #212 Additionally lowered the ram allocated and changed the work directory for the intellij run config.
37 lines
1.9 KiB
Diff
37 lines
1.9 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Bud Gidiere <sgidiere@gmail.com>
|
|
Date: Sun, 27 Sep 2020 17:07:16 -0500
|
|
Subject: [PATCH] Add IntelliJ IDEA runnable
|
|
|
|
|
|
diff --git a/.run/Yatopia.run.xml b/.run/Yatopia.run.xml
|
|
new file mode 100644
|
|
index 0000000000000000000000000000000000000000..8bc8c24cc51f8cae8c44083b977772945eac51dd
|
|
--- /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="testserver" />
|
|
+ <method v="2">
|
|
+ <option name="MakeProject" enabled="true" />
|
|
+ </method>
|
|
+ </configuration>
|
|
+</component>
|
|
\ No newline at end of file
|