-
Notifications
You must be signed in to change notification settings - Fork 197
Description
Hi,
as dbub pointed at in a discord conversion, having an event that resend all data to all clients from a single event without any verification is bad pratices.
Example : Some cheats just spam the event with massive chunk of data, the server just send it through all clients leading to network overflow.
Possible solutions :
- Remove this feature if it doesn't see a lot of use
- Replace this feature with preconfigured data vars
- Verify for a valid data schema
- Limit the sending of the event to certains clients in certains conditions only
I would have made a PR proposing some solution but I don't really understand what this event is for. (event from reading the original commit description i'm not sure why this feature exist in the first place)
The resources I read before making this PR, useful for context :
An different solution would be to create server-side checks for PolyZone, it would actually be useful to implement PolyZone server-side now that we have full knowledge of the entities position on Onesync.
The goal of this issue is not to shame the implementation or usage of this resource, just to open a discussion about modifications on this useful resource.