ComputerCraft
ComputerCraft copied to clipboard
Only send terminal state to interacting players
This splits the computer state (blinking, label, etc...) and terminal state into two separate packets. When a computer changes, the computer state is sent to all players and the terminal state is sent to players who are currently using the computer. This reduces network usage by a substantial amount.
CCTweaks has employed a similar optimisation for a while now, and not seen any adverse effects.
There are several further optimisations which could be implemented (such as only sending regions of the terminal which have changed) but that is not within the scope of this PR.
Can one of the admins verify this patch?