ζ³₯ι°
commited on
Commit
Β·
0225cac
1
Parent(s):
db44659
fix
Browse files
run.sh
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
docker run - it -d \
|
| 2 |
-
-p 25565:25565 \
|
| 3 |
-
-v ~/minecraft/data:/minecraft \
|
| 4 |
-
-e MAX_HEAP=2G \
|
| 5 |
-
-e MIN_HEAP=1G \
|
| 6 |
-
--name mc-server \
|
| 7 |
-
minecraft-server:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
start.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
-
./ngrok config add-authtoken
|
| 4 |
./ngrok tcp 7860 > /dev/null &
|
| 5 |
java -Xmx14336M -Xms14336M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Daikars.new.flags=true -Dusing.aikars.flags=https://mcflags.emc.gs -jar purpur.jar --nogui
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
./ngrok config add-authtoken 31UZeF2XSUMfPW8lKE0W0NwHMm2_rnMDXp5hPcQPr26jgbrw
|
| 4 |
./ngrok tcp 7860 > /dev/null &
|
| 5 |
java -Xmx14336M -Xms14336M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Daikars.new.flags=true -Dusing.aikars.flags=https://mcflags.emc.gs -jar purpur.jar --nogui
|