EpsilonNetWorkGroup / scccpdebris

Optional public part
GNU General Public License v3.0
4 stars 2 forks source link

[SUGGESTION] Users using Bobby should be limited by placing random blocks #1

Open Onako2 opened 1 year ago

Onako2 commented 1 year ago

View distance limit can be bypassed with the mod Bobby , instead the plugin could prevent cheaters to see threw blindness by placing random fake blocks(optimally common ones) around them outside of the blindness distance, the distance should also adapt to the ping, when a player has a ping of 3000 the distance should be much higher, when the player has only 10 ms it should be lower. Another thought would be to check for the checks by anti cheats if the player is cheating. When a player has been detected to cheat just lower the distance.

D3it7i commented 1 year ago

I've tried doing this before, creating a fake box in the form of a square box. Use Player#sendBlockChanges(), but due to performance issues, doing so will cause the server TPS to drop severely, then I use async, more trouble will follow. It is difficult to ensure that it does not affect the player experience

Onako2 commented 1 year ago

I've tried doing this before, creating a fake box in the form of a square box. Use Player#sendBlockChanges(), but due to performance issues, doing so will cause the server TPS to drop severely, then I use async, more trouble will follow. It is difficult to ensure that it does not affect the player experience The server could instead send empty chunks in a radius of maybe 8 chunks

D3it7i commented 1 year ago

Not sure how the client and Bobby mod will handle empty chunks outside the view-distance, but I'll give it a try sometime