Manage multiple events on the same map

Hi, i'm actually trying to create a TrainingAim server. 
I created a class with all my gamemode parameters, to have a unique instance of that gamemode by player
I'd like to isolate all the entities of an instance from the others, i mean :
- I wanna render my player but not others
- I should see only spawning entities from my instance, and not other entities.

I saw the "CanNetworkTo" hook from oxide but, can't really manage to understand and make it works. 
Can someone please help me ?

If you will go with CanNetworkTo usage, you will end up with huge performance issues. See how network groups are managed in Rust.

Alright, thanks for your answer !
What should i use then ? 

SmXme

Alright, thanks for your answer !
What should i use then ? 

Read the last sentence of my previous message

Can't really find any documentation about the Network groups. Kinda managed to do what i needed with CanNetworkTo, i just have to find how i can hide Bullets impacts from a player to the others. Any ideas ?

SmXme

Can't really find any documentation about the Network groups. Kinda managed to do what i needed with CanNetworkTo, i just have to find how i can hide Bullets impacts from a player to the others. Any ideas ?

There is no documentation, it is part of the game, look in the assemblies

Checked the assembly with dnspy, checked SendNetworkGroupUpdate(), etc, but tbh i can't really find what i should use to create a new network group and put all instance entities in it. 

 

Any chance you can help me with that since it looks like you know how to do what i'm looking for please ?