Question Ping spikes after teleportation/joining the server

bambolumba

New member
Dec 14, 2024
4
0
1
My players and I, among others, experience ping spikes when they log on to the server or teleport. At the same time, with any other actions, the ping is normal, for me it always stays around ~ 20.

I think this is not a performance problem, the CPU load is kept at a minimum, the RAM is not full. I note that when teleporting, the player immediately downloads the world around him, but because of the huge ping in the first couple of seconds, he cannot do anything.

And so, is this a Paper problem, or could it be caused by one of the plugins?
 

bambolumba

New member
Dec 14, 2024
4
0
1
Okay, I probably have found the reason. Seems like it was built-in anti-xray. After disabling me and others doesnt have problems with ping. At least for now

I used the standard configuration with engine-mod 2. Are there any ways to optimize it? Maybe someone can share a ready-made setup?

theres config that i used (just default, i have only enabled it and change engine-mod to 2)
anti-xray: enabled: false engine-mode: 2 hidden-blocks: - copper_ore - deepslate_copper_ore - raw_copper_block - gold_ore - deepslate_gold_ore - iron_ore - deepslate_iron_ore - raw_iron_block - coal_ore - deepslate_coal_ore - lapis_ore - deepslate_lapis_ore - mossy_cobblestone - obsidian - chest - diamond_ore - deepslate_diamond_ore - redstone_ore - deepslate_redstone_ore - clay - emerald_ore - deepslate_emerald_ore - ender_chest lava-obscures: false max-block-height: 64 replacement-blocks: - stone - oak_planks - deepslate update-radius: 2 use-permission: false
 

electronicboy

Administrator
Staff member
Dec 11, 2021
290
18
57
28
login and teleporting are two points in which a client is going to be flooded with chunk packets, and anti x-ray only reduces the compressibility of those packets. You can use mode 3 to improve packet compressibility which should aid here, or reduce the sending rates inside of the paper config
 

bambolumba

New member
Dec 14, 2024
4
0
1
login and teleporting are two points in which a client is going to be flooded with chunk packets, and anti x-ray only reduces the compressibility of those packets. You can use mode 3 to improve packet compressibility which should aid here, or reduce the sending rates inside of the paper config
previously i tried reduce "player-max-chunk-send-rate" from 75 to 45 (just a random number from my head lol) but it doesnt help. Ok i`ll try mode 3, thanks