Martens Chat Stacker is a client side mod that removes and stacks unnecessary game messages in your chat.
Demonstration of how player messages interrupt chat stacking
As of 1.0.2, player messages are also able to be stacked