Server Message Buffers
Hard limits for server RAM stability
Most chat plugins send a message and 'forget' about it, leading to infinite UI bloat. MP_ChatSystem completely eliminates this flaw by using a deterministic synchronization pipeline.
When you configure a room using the FMP_ChatRoomDesc struct, you define a MaxMessages hard limit (e.g., 100 messages).
- The Server Buffer: The server holds exactly 100 messages. When the 101st arrives, the oldest is automatically dropped from the
FFastArray. - Deterministic UI Sync: Because the front-end is bound to the server state, when the server deletes a message, it is instantly removed from the Client's UI.
- Zero Client Bloat: Your UI stays perfectly 1:1 with the server. Clients never hold 'ghost messages' and require zero manual cleanup.
âšī¸NOTE
Unlimited History
Setting MaxMessages to 0 bypasses this protection, which is recommended only for persistent rooms using external database saving.