OptionalonId of the first player affected by this event.
Id of the team which the first player was moved into.
Id of the second player affected by this event, or null if there was only one spectator when this event was triggered.
Id of the team which the second player was moved into, or null if there was only one spectator when this event was triggered.
Id of the player who has triggered the event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the game has been paused or resumed.
Whether the game has been paused or not.
Id of the player who has triggered this event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the game has been started.
Id of the player who has started the game.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the game has been stopped.
Id of the player who has stopped the game.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the room's kick rate limit has been changed.
The new min part of kick rate limit.
The new rate part of kick rate limit.
The new burst part of kick rate limit.
Id of the player who has changed the kick rate limit.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after room's overtime limit has been changed.
The desired overtime limit of the game.
OptionalcustomData: anyvoid or a custom data to pass to the next callback.
OptionalonCalled just after a player's admin rights have been given/taken.
Id of the player whose admin rights have been given/taken.
The new admin rights status of the player whose id is id.
Id of the player who has triggered this event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player has changed his/her avatar.
Id of the player who has changed his/her avatar.
The new avatar value.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a chat message has been received.
Id of the player who has sent the chat message.
The chat message.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player has activated or deactivated his/her chat indicator. This happens when a player focuses/loses focus on the chat input component in the website.
Id of the player whose chat indicator has been activated/deactivated.
Whether the chat indicator has been activated or not.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the direction of an individual player was changed. room.state.directionActive must be true for this to work.
Id of the player whose energy values will be modified.
New direction value of the player.
OptionalcustomData: anyvoid or a custom data to pass to the next callback.
OptionalonCalled just after a disc object has been assigned to a player object.
The new Player object that has just been assigned a disc object.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a disc object has been removed from a player object.
The Player object whose disc object has just been removed.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player's input has been changed.
Id of the player whose input has been changed.
The new input value of the player.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player has joined the room.
The data representation of the player that has just joined the room.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player has left the room.
The player who has left the room.
The reason of leaving the room. If null, the player has left by himself/herself.
Whether the player has been banned or not. If reason is null, this value is ignored.
Id of the player who has kicked/banned the player. If reason is null, this value is ignored.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player object has been created. This callback can be used to define custom properties inside all player objects.
The new Player object that has just been created.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player's synchronization status has changed.
Id of the player whose synchronization status has changed.
The new synchronization status.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a player has been moved to a different team.
Id of the player who has been moved to a different team.
Id of the player's new team.
Id of the player who has triggered this event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the score limit has been changed.
The new score limit value.
Id of the player who has triggered this event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the room's current stadium has been changed.
The room's new Stadium object.
Id of the player who has triggered this event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after a team's colors have been changed.
The team that colors have been changed.
The new team colors value.
Id of the player who has changed the team colors.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the room's teams have been locked/unlocked.
The room's new teams lock value.
Id of the player who has triggered this event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
OptionalonCalled just after the time limit has been changed.
The new time limit value.
Id of the player who has triggered this event.
OptionalcustomData: anythe custom data that was returned from the previous callback.
void or a custom data to pass to the next callback.
Called just after an "auto" event has been triggered to automatically move at least one, at most two players from spectators to teams.