How can I limit player bandwidth on my server

Discussion in 'Spigot Help' started by Avecteus, Feb 16, 2020.

  1. Hello, I didnt know where to put this and I didnt see a way to do this easily
    My server for me and my friends which averages 4 players on at a time lags constantly
    My server computer runs nothing but spigot and teamviewer but it still lags without reaching max cpu, drive usage, etc. One thing that I have noticed is that even with only 2 players it is constantly using 20 - 30 Mbps. I suspect that this is the cause of the lag because this is the only thing that seems to be limiting the server. How can I fix this and why is it using so much network? Thanks for your help in advance!
     
  2. High view distance or allowing players to fly around quickly can cause this.
    Open server.properties and set network-compression-threshold to 64. This will compress more network packets to save bandwidth.
     
  3. Thanks! This fixed most of the lag
     
    • Like Like x 1