From 0714a817539ca0ab343411bfe2c1f252a27e2623 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Thu, 7 Nov 2019 23:38:36 +0100 Subject: [PATCH] Optimize server settings https://www.spigotmc.org/threads/guide-server-optimization%E2%9A%A1.283181/ --- Server/bukkit.yml | 12 +++++----- Server/paper.yml | 52 ++++++++++++++++++++++++++++------------ Server/server.properties | 4 ++-- Server/spigot.yml | 10 ++++---- 4 files changed, 50 insertions(+), 28 deletions(-) diff --git a/Server/bukkit.yml b/Server/bukkit.yml index 6d98818..1a7e996 100644 --- a/Server/bukkit.yml +++ b/Server/bukkit.yml @@ -24,14 +24,14 @@ settings: shutdown-message: Server closed minimum-api: none spawn-limits: - monsters: 40 - animals: 10 - water-animals: 15 - ambient: 15 + monsters: 50 + animals: 8 + water-animals: 3 + ambient: 1 chunk-gc: - period-in-ticks: 600 + period-in-ticks: 400 ticks-per: animal-spawns: 400 - monster-spawns: 1 + monster-spawns: 4 autosave: 6000 aliases: now-in-commands.yml diff --git a/Server/paper.yml b/Server/paper.yml index 4a59b05..baef703 100644 --- a/Server/paper.yml +++ b/Server/paper.yml @@ -63,19 +63,19 @@ world-settings: fixed-chunk-inhabited-time: -1 disable-teleportation-suffocation-check: false remove-corrupt-tile-entities: false - optimize-explosions: false - per-player-mob-spawns: false + optimize-explosions: true + per-player-mob-spawns: true experience-merge-max-value: -1 use-vanilla-world-scoreboard-name-coloring: false enable-treasure-maps: true treasure-maps-return-already-discovered: false - prevent-moving-into-unloaded-chunks: false - max-auto-save-chunks-per-tick: 24 + prevent-moving-into-unloaded-chunks: true + max-auto-save-chunks-per-tick: 6 falling-block-height-nerf: 0 tnt-entity-height-nerf: 0 portal-search-radius: 128 filter-nbt-data-from-spawn-eggs-and-related: true - max-entity-collisions: 8 + max-entity-collisions: 2 disable-creeper-lingering-effect: false duplicate-uuid-resolver: saferegen duplicate-uuid-saferegen-delete-range: 32 @@ -89,22 +89,22 @@ world-settings: armor-stands-do-collision-entity-lookups: true nether-ceiling-void-damage-height: 0 water-over-lava-flow-speed: 5 - grass-spread-tick-rate: 1 + grass-spread-tick-rate: 4 bed-search-radius: 1 - use-faster-eigencraft-redstone: false + use-faster-eigencraft-redstone: true allow-non-player-entities-on-scoreboards: false disable-explosion-knockback: false - container-update-tick-rate: 1 + container-update-tick-rate: 3 parrots-are-unaffected-by-player-movement: false prevent-tnt-from-moving-in-water: false - non-player-arrow-despawn-rate: -1 - creative-arrow-despawn-rate: -1 + non-player-arrow-despawn-rate: 60 + creative-arrow-despawn-rate: 60 armor-stands-tick: true spawner-nerfed-mobs-should-jump: false allow-leashing-undead-horse: false baby-zombie-movement-speed: 0.5 all-chunks-are-slime-chunks: false - mob-spawner-tick-rate: 1 + mob-spawner-tick-rate: 2 game-mechanics: scan-for-legacy-ender-dragon: true disable-chest-cat-detection: false @@ -121,8 +121,8 @@ world-settings: MinimumTicks: 100 MaximumTicks: 600 despawn-ranges: - soft: 32 - hard: 128 + soft: 28 + hard: 96 lightning-strike-distance-limit: sound: -1 impact-sound: -1 @@ -143,11 +143,11 @@ world-settings: cooldown-when-full: true disable-move-event: false alt-item-despawn-rate: - enabled: false + enabled: true items: COBBLESTONE: 300 anti-xray: - enabled: false + enabled: true engine-mode: 1 chunk-edge-mode: 2 max-chunk-section-index: 3 @@ -173,3 +173,25 @@ world-settings: generator-settings: flat-bedrock: false baby-zombie-movement-modifier: 0.5 + worldhub: + anti-xray: + enabled: false + v1: + anti-xray: + enabled: false + auto-save-interval: 120000 + keep-spawn-loaded: false + v2: + anti-xray: + enabled: false + auto-save-interval: 120000 + keep-spawn-loaded: false + v3: + anti-xray: + enabled: false + auto-save-interval: 120000 + keep-spawn-loaded: false + world_the_end: + anti-xray: + enabled: false + auto-save-interval: 9020 diff --git a/Server/server.properties b/Server/server.properties index 8160725..8356bd7 100644 --- a/Server/server.properties +++ b/Server/server.properties @@ -21,7 +21,7 @@ level-type=default hardcore=false enable-command-block=true max-players=20 -network-compression-threshold=256 +network-compression-threshold=-1 resource-pack-sha1= max-world-size=29999984 function-permission-level=2 @@ -32,7 +32,7 @@ server-ip=127.0.0.1 spawn-npcs=true allow-flight=false level-name=world -view-distance=6 +view-distance=10 resource-pack= spawn-animals=true white-list=false diff --git a/Server/spigot.yml b/Server/spigot.yml index f04bb37..accbdcc 100644 --- a/Server/spigot.yml +++ b/Server/spigot.yml @@ -101,10 +101,10 @@ world-settings: sweetberry-modifier: 100 kelp-modifier: 100 entity-activation-range: - animals: 32 - monsters: 32 + animals: 16 + monsters: 24 raiders: 48 - misc: 16 + misc: 8 tick-inactive-villagers: true entity-tracking-range: players: 48 @@ -129,5 +129,5 @@ world-settings: squid-spawn-range: min: 45.0 merge-radius: - exp: 3.0 - item: 2.5 + exp: 6.0 + item: 4.0