Open vexyl opened 2 years ago
After screwing up the commits a few time, I've added basic CPE negotiation. There's still some work to do (check TODO/FIXME comments).
See https://github.com/vexyl/MCHawk2/issues/7
Work on this continues until I feel like it's solidly implemented.
The server should negotiate each supported extension for each player, storing them in some lookup table. The server should only use those extensions for players supporting them, and it should try to make a sensible replacement if it's not supported. The server should also be allowed to require all or specific extensions for players. Adding extensions through this system should be straightforward and painless to do.