PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.37k stars 2.19k forks source link

"delay-chunk-unloads-by" setting ignored in 1.21 #10903

Open ShaneBeee opened 2 weeks ago

ShaneBeee commented 2 weeks ago

Expected behavior

in the paper-world-defaults.yml config:

chunks:
  delay-chunk-unloads-by: 0s

There should be no delay when a player leaves a chunk, before unloaded.

Observed/Actual behavior

The chunks appear to take about 5 seconds (give or take) to unload. Setting it to "10s" as well, still takes about 5 seconds.

Steps/models to reproduce

Im just including a video as I dont really have code to test. I just have my scoreboard which shows the amount of current oaded chunks in a world. https://imgur.com/a/59it2KA

Plugin and Datapack List

pl 09:31:16 INFO: Server Plugins (11): 09:31:16 INFO: Bukkit Plugins: 09:31:16 INFO: - BeeConomy, PermissionsEx, RandomTeleport, SkBee, SkBriggy, skNoise, Skript, skript-reflect, spark, StressTestBots

Paper version

[09:31:26 INFO]: This server is running Paper version 1.21-4-master@090775e (2024-06-18T13:42:35Z) (Implementing API version 1.21-R0.1-SNAPSHOT) You are running the latest version Previous version: 1.21-2-b4b8208 (MC: 1.21)

Other

No response

molor commented 2 weeks ago

This setting does nothing since 2023, see https://github.com/PaperMC/Paper/pull/9519

ShaneBeee commented 2 weeks ago

duly noted thanks.

I guess I could update/change the issue to the fact in 1.20.6 the chunks unloaded immediately, and in 1.21 they take about 5 seconds. Would that be more appropriate?