This is my optimization for proxy + lobby + world I hope you like it 🙂
Minecraft version 1.18, 1.19, 1.20
Stap 1
Stap 2
Stap 3 Recemended
It is ready to go for use note for security you need to adjust this properly
📂 Proxy/forwarding.secret.yml >
a1234567890
📂 world/config/paper-global.yml > :
proxies:
velocity:
secret: a1234567890
📂lobby/config/paper-global.yml >
proxies:
velocity:
secret: a1234567890
Recommended java
Tunning
- I have only fine tunning those yml
🛠︠Config + Bukkit + pufferfish + purpur + spigot + velocity + terminal
📝Terminal
java -XX:+UseG1GC –add-modules=jdk.incubator.vector -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 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar
PAUSE
📝Terminal proxy
java -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -jar proxy.jar
PAUSE