hpfxd / PandaSpigot

Fork of Paper for 1.8.8 focused on improved performance and stability.
GNU General Public License v3.0
242 stars 67 forks source link

Player crashing server #162

Closed literally1984 closed 1 year ago

literally1984 commented 1 year ago

Hello, a player on my server keeps crashing it. He is not using a lag machine and I believe either it's some sort of packet crash or he's just flying very fast. I would like to know what it is exactly, however. Here are the logs:

https://pastes.dev/rlPIQV2HTG

andreasdc commented 1 year ago

Add some anticrash plugin and apply limit for player's speed in the spigot.yml moved-too-quickly-threshold, but don't set it too low, install anticheat too.

literally1984 commented 1 year ago

Add some anticrash plugin and apply limit for player's speed in the spigot.yml moved-too-quickly-threshold, but don't set it too low, install anticheat too.

Sorry if this is a dumb question, but what exactly does the number in the moved-too-quickly-threshold represent? Is it the maximum blocks per second a player can move? Also, if you could link any anticrash plugins that would be great. I've been having a hard time finding any good ones for 1.8.

andreasdc commented 1 year ago

Add some anticrash plugin and apply limit for player's speed in the spigot.yml moved-too-quickly-threshold, but don't set it too low, install anticheat too.

Sorry if this is a dumb question, but what exactly does the number in the moved-too-quickly-threshold represent? Is it the maximum blocks per second a player can move? Also, if you could link any anticrash plugins that would be great. I've been having a hard time finding any good ones for 1.8.

This is combination of some movement values, setting it too low will block legit movements. I think it moved blocks x moved blocks. this.player.motX * this.player.motX + this.player.motY * this.player.motY + this.player.motZ * this.player.motZ You can try this one, check the config as it may contain weird checks: https://github.com/Obydux/ExploitFixer You can check the code, it is not perfect for sure, but should protect you from crashers.

MachineBreaker commented 1 year ago

LPX it's a good one

andreasdc commented 1 year ago

LPX it's a good one

Not worth for sure

codemarked commented 1 year ago

Hello, a player on my server keeps crashing it. He is not using a lag machine and I believe either it's some sort of packet crash or he's just flying very fast. I would like to know what it is exactly, however. Here are the logs:

https://pastes.dev/rlPIQV2HTG

I see you are using skript, i assume you have close to 50 plugins running on that poor spigot, if my assumption is correct then please develop proper plugins to have a proper server which will run properly. Having 50 plugins is the worst way to run a server...

On the other hand if that's not the case then check your sk files, there could be something in there too. No spigot crashes when someone moves fast across the world unless you have something slowing it down like a plugin or the machine is ancient.

literally1984 commented 1 year ago

Hello, a player on my server keeps crashing it. He is not using a lag machine and I believe either it's some sort of packet crash or he's just flying very fast. I would like to know what it is exactly, however. Here are the logs: https://pastes.dev/rlPIQV2HTG

I see you are using skript, i assume you have close to 50 plugins running on that poor spigot, if my assumption is correct then please develop proper plugins to have a proper server which will run properly. Having 50 plugins is the worst way to run a server...

On the other hand if that's not the case then check your sk files, there could be something in there too. No spigot crashes when someone moves fast across the world unless you have something slowing it down like a plugin or the machine is ancient.

I'm pretty sure that the number of plugins or Skript isn't causing or significantly contributing to the crash because my server actually only has very few plugins (13) and 7 skripts. Most of which are very light. You might be right about the quality of the machine though, so I'm moving my server to a much better machine. I will reopen this or make a new issue if I get this same crash in the future.