Giter VIP home page Giter VIP logo

optimized-papermc-egg's Introduction

This egg is still in development, DO NOT USE IN PRODUCTION!

What this egg does

This egg ains to give 3 different tiers of optimization, all of them were based from https://github.com/YouHaveTrouble/minecraft-optimization and https://paper-chan.moe/paper-optimization/

Startup

java -Xms$(({{SERVER_MEMORY}} - ({{SERVER_MEMORY}}/5)))M -Xmx$(({{SERVER_MEMORY}} - ({{SERVER_MEMORY}}/5)))M -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 -jar {{SERVER_JARFILE}} Basically, this startup is from https://docs.papermc.io/paper/aikars-flags, starting with 80% of the max server memory (Due to memory overhead).

Basic

This tier give some basic optimization, not changing much gameplay and not giving any breaking changes. Ticks-per mob spawn were increased 10 times from vanilla levels, this big change isn't expected to give much difference in gameplay. Merge-radius of both exp and items were increased, view distanced decreased to 8 and simulation to 7, entity activation range increased slightly. Monster density is expected to be about 80% from vanilla level, other mobs were decreased, but without much affect to gameplay.

Advanced

This tier gives a more abrupt optimization, changing the gameplay a little, but still not having any breaking element on gameplay. Ticks-per mob sawn were increased, and merge radius, monster density is expected to be about 50% from vanilla levels, other mobs were decreased, may affect gameplay.

Complete

This tier doesn't changes a lot from advanced, with the exception of game breaking mechanics, such as:

  • Armor stands doesn't tick
  • Max entity collision is decreased to 4
  • Treasure maps were disabled
  • Hopper move event were disabled, and they ignore ocluding blocks

Specific changes can be seen on the files of each tier, the only configuration on the file is what was changed, Paper will take care to update the configuration to newer versions and add the rest of it.

optimized-papermc-egg's People

Contributors

zeptiny avatar

Stargazers

Daniel Henrique avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.