Background: I run a server from home with gigabit fibre on a separate PC, which only runs my Left 4 Dead 2 server. My DNS settings are set to cloudflare so decent performance overall.
Problem:
Occasionally, though, there will be a medium-impact lag spike driving my ping (gaming PC) to about 90, and others in the server to the mid 150s. While that's not overly terrible, it's noted in chat each time.
Proposed solution:
A plugin and / or extension that notes either:
Average ping between players.
x% increase of ping of players.
x% server load increase.
And executes:
A pause of minimum 5 seconds.
Chat message or onscreen message noting a lag spike.
Not sure if this is even a good idea - but keen to get thoughts.
Unfortunately I don't know much about the development side - I'm a front end server user, so I can't really offer any input on how it would function.
Edit: Nice to have (second phase?):
A voting plugin at the beginning of the campaign asking if players would like the game to pause if there is a lag spike - but not in that language so as to not scare players.
Best,
Chad
Last edited by ChadMaestro; 01-03-2022 at 22:43.
Reason: Added phase 2.