From d054a0d26a97c061c86e8bc8ddb95ed704f75158 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Wed, 20 Aug 2025 19:32:38 +0300 Subject: [PATCH 1/5] optimize java GC startup flags according to https://github.com/Obydux/Minecraft-startup-flags.git to improve memory performace --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 06bbd00..110b6e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -206,4 +206,4 @@ CMD \ chown -R worker:worker ${WORKDIR_PATH} && \ # Launch - su worker -c "java -Xms${MEMORY} -Xmx${MEMORY} -jar *.jar -nogui" + su worker -c "java -Xms${MEMORY} -Xmx${MEMORY} -XX:+UseZGC -XX:+ZGenerational -XX:+AlwaysPreTouch -XX:+UseStringDeduplication -jar *.jar -nogui" From ace4d01f1de5982ba49985da3ae2afc5fcf59730 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Wed, 20 Aug 2025 19:40:46 +0300 Subject: [PATCH 2/5] disable performance hungry anti-xray obfuscations this allows cheaters to find chests and other entity-blocks but improves performance https://github.com/Imprex-Development/Orebfuscator/wiki/Frequently-Asked-Questions#what-is-the-proximity-hider --- src/plugins/Orebfuscator/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/Orebfuscator/config.yml b/src/plugins/Orebfuscator/config.yml index 29b63fe..53a4a56 100644 --- a/src/plugins/Orebfuscator/config.yml +++ b/src/plugins/Orebfuscator/config.yml @@ -220,11 +220,11 @@ proximity: - world distance: 24 frustumCulling: - enabled: true + enabled: false minDistance: 3.0 fov: 80.0 rayCastCheck: - enabled: true + enabled: false onlyCheckCenter: true useBlockBelow: true hiddenBlocks: From 89b3cfe154ffd643dcaf921419ebbd713118f446 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Wed, 20 Aug 2025 22:49:20 +0300 Subject: [PATCH 3/5] reduce view- and simulation distance to improve performance --- src/server.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.properties b/src/server.properties index a3e4e0a..32e0b06 100644 --- a/src/server.properties +++ b/src/server.properties @@ -53,7 +53,7 @@ resource-pack-sha1= server-ip= server-name=Unknown Server server-port=25565 -simulation-distance=10 +simulation-distance=8 spawn-animals=true spawn-monsters=true spawn-npcs=true @@ -61,5 +61,5 @@ spawn-protection=0 sync-chunk-writes=true text-filtering-config= use-native-transport=true -view-distance=10 +view-distance=8 white-list=false From 5ae76be9316fbe73688468a5cd05bda2a3ff0414 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Wed, 20 Aug 2025 22:55:55 +0300 Subject: [PATCH 4/5] add xp obrs merging plugin --- src/plugins/Clumps-5.0.jar | 3 ++ src/plugins/Clumps/config.yml | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 src/plugins/Clumps-5.0.jar create mode 100644 src/plugins/Clumps/config.yml diff --git a/src/plugins/Clumps-5.0.jar b/src/plugins/Clumps-5.0.jar new file mode 100644 index 0000000..8cb3b2d --- /dev/null +++ b/src/plugins/Clumps-5.0.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6a54992623e6536b98f6d54a87d7c5139963905972fee82fdedf1d5274df9b5 +size 11571 diff --git a/src/plugins/Clumps/config.yml b/src/plugins/Clumps/config.yml new file mode 100644 index 0000000..5663f1d --- /dev/null +++ b/src/plugins/Clumps/config.yml @@ -0,0 +1,55 @@ +# XP Clumps Plugin Configuration + +# The radius within which XP orbs will merge (in blocks) +merge-radius: 2.0 + +# Minimum XP amount required in an orb for it to be merged with others +min-xp-to-merge: 5 + +# How often (in seconds) the plugin checks and merges XP orbs in each world +merge-interval-seconds: 10 + +# The radius within which XP orbs will be instantly collected by players +instant-collect-radius: 1 + +# Enable or disable the instant collection of XP orbs by players within the defined radius +enable-instant-collect: true + +# Enable or disable the merging of XP orbs across the server +enable-merging: true + +# The XP boost multiplier for players collecting XP near merged XP orbs (percentage as a multiplier) +xp-boost-multiplier: 1.1 # 10% XP boost + +# Enable or disable the XP boost feature for players near merging XP orbs +enable-xp-boost: false + +# Enable or disable particle effects when XP orbs merge (visual animations) +enable-merge-animations: true + +# Prevent duplication of XP orbs (to avoid excessive orb spawning) +prevent-orb-duplication: true + +# World-specific settings (if you want different settings for different worlds) +world-settings: + # Example of how to configure world-specific settings for merging XP orbs + # These settings will override the global settings for specific worlds + overworld: + merge-radius: 2.0 + min-xp-to-merge: 5 + merge-interval-seconds: 10 + enable-instant-collect: true + enable-merging: true + xp-boost-multiplier: 1.1 + enable-xp-boost: true + enable-merge-animations: true + nether: + merge-radius: 3.0 # Different radius for the Nether + min-xp-to-merge: 10 + merge-interval-seconds: 15 # Longer interval for Nether + enable-instant-collect: false # Disabled instant collect in the Nether + enable-merging: true + xp-boost-multiplier: 1.2 # Higher XP boost in the Nether + enable-xp-boost: true + enable-merge-animations: false # Disable animations in the Nether + From 70056502ddae477bc22da10588be6e6ba78be92b Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Wed, 20 Aug 2025 22:56:54 +0300 Subject: [PATCH 5/5] add plguin to ajust server render distance to clients' settings --- src/plugins/SeeMore-1.0.2.jar | 3 +++ src/plugins/SeeMore/config.yml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/plugins/SeeMore-1.0.2.jar create mode 100644 src/plugins/SeeMore/config.yml diff --git a/src/plugins/SeeMore-1.0.2.jar b/src/plugins/SeeMore-1.0.2.jar new file mode 100644 index 0000000..a848396 --- /dev/null +++ b/src/plugins/SeeMore-1.0.2.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d06d342489947a296f07fbd012ea0e9842242f5af8d534f2dc91b9d2f0721e6 +size 107284 diff --git a/src/plugins/SeeMore/config.yml b/src/plugins/SeeMore/config.yml new file mode 100644 index 0000000..cab7c65 --- /dev/null +++ b/src/plugins/SeeMore/config.yml @@ -0,0 +1,20 @@ +# Configuration for SeeMore. + +# Please don't change this! +version: 2 + +# The delay (in ticks) before a player's view distance is lowered after their client settings change. +# * This stops players overloading the server by constantly changing their view distance. +update-delay: 600 + +# Whether the plugin should log to the console when it changes a player's view distance. +log-changes: true + +# These settings can be specified per world. +# * Note: If a world is not listed here or if a setting is missing, it will use the settings listed under the default +# section. +world-settings: + default: + # The maximum view distance a player in this world can have. + # Set to -1 to use the server's configured view distance for this world. + maximum-view-distance: -1 \ No newline at end of file