[IDEA] Server-Authoritative Room Packs and Terrain Generation
Goal Description
Join a system that allows the server to control the actual room packs received by the client or the generated room terrain, rather than relying solely on the client's rendering facilities to refresh positions using seeds
Proposed Solution
Introduce or add a new interface to transfer control over room packets and terrain generation to the server side. The server determines the actual room packets sent to the client or directly generates the terrain data. Instead of merely sending a seed and letting the client render it on its own, the server acts as the sole authoritative source of state and synchronizes the computed results to the client. The client is no longer responsible for the core generation logic; it is only responsible for receiving and rendering data from the server.
Notes
I think this feature requires evaluating the current network protocol, adding structures for transmitting actual room packets/terrain data, and refactoring the client's existing rendering pipeline so that it can receive and parse the complete data sent directly from the server, rather than only parsing seeds. Introducing these features may potentially cause certain issues.
Similar to https://github.com/northwood-studios/LabAPI/issues/194