Add server and multi bots

This commit is contained in:
2024-05-17 16:41:08 -03:00
parent 6e3e932648
commit 54e5f3000c
13 changed files with 400 additions and 21 deletions

9
server/run.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
JAVA="java"
JAR="paper-1.20.4-496.jar"
RAM="8192M"
FLAGS="-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 -Daikars.new.flags=true -Dusing.aikars.flags=https://mcflags.emc.gs"
echo "Launching server..."
${JAVA} -Xms${RAM} ${FLAGS} -jar ${JAR} --nogui