Skip to main content

onStreamIn

This event is triggered when an entity is streamed in.

Parameters

NameTypeDescription
entityEntityManagerThe entity that has been streamed in.

Example

engine.players.events.on('onStreamIn', player => {
console.log('A player has streamed in: ' + player.id);
});

Available on: Client Server