Restrict Which Clients Receive Object States

Options
I'm working on a game with an authoritative server that clients connect to. It's a simple 2d spaceship fly-around game. Each player has a radius around them where they can see other players, and this is all handled fine client side by simply not drawing players outside the range. However, to prevent cheating (ESP), I want to completely prevent any state information about players outside the vision radius from being sent to a player.

Is there a straight forward way to whitelist which connections are retrieving information about which entities?

Comments

This discussion has been closed.