OptionalonId of the player who kicked the ball.
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 goal has been scored.
Id of the team that scored the goal.
Id of the goal object that the ball went in.
The goal object that the ball went in.
Id of the ball disc that caused the goal.
The ball disc that caused the goal.
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 ended.
Id of the team that won 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 a game tick has occurred. This will run a lot of times per second. Be careful not to make too many calculations here, otherwise the game might slow down.
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 kick-off event has occurred.
OptionalcustomData: anyvoid or a custom data to pass to the next callback.
OptionalonCalled just after the game has ended by timeout.
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 player positions have been reset. This event happens just after a new game has been started or a goal has been scored. The player positions are reset to their corresponding spawn points defined in the current room's Stadium 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 collision has happened between two discs.
Id of the first collided disc.
The player's id that the first disc belongs to. If the disc is not a player's disc, this value will be null.
Id of the second collided disc.
The player's id that the second disc belongs to. If the disc is not a player's disc, this value will be null.
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 collision has happened between a disc and a segment.
Id of the collided disc.
The player's id that the disc belongs to. If the disc is not a player's disc, this value will be null.
Id of the collided segment.
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 collision has happened between a disc and a plane.
Id of the collided disc.
The player's id that the disc belongs to. If the disc is not a player's disc, this value will be null.
Id of the collided plane.
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 local ping handicap value has been changed.
The new ping handicap value in milliseconds. Range: 0 <= value <= 300.
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 recording has been started or stopped.
If true, recording has just been started,
value as an ArrayBuffer. You might want to write the contents to a version-3 replay file.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 plugin has been activated or deactivated.
The plugin which was activated or deactivated. This property stores the current activation status of the plugin: plugin.active.
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 config object has been replaced by a new one.
The old RoomConfig object.
The new RoomConfig 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 the room's renderer object has been replaced by a new one.
void or a custom data to pass to the next callback.
OptionalonCalled just after a plugin object has been added.
The Plugin 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 plugin object has been moved.
The Plugin 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 an old plugin object has been replaced by a new one.
void or a custom data to pass to the next callback.
OptionalonCalled just after a plugin object has been removed.
The Plugin 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 library object has been added.
The Library 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 library object has been moved.
The Library 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 an old library object has been replaced by a new one.
void or a custom data to pass to the next callback.
OptionalonCalled just after a library object has been removed.
The Library 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 the API's language has been changed.
The new language's abbreviation 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 the value of a variable has been changed.
The Addon object that the variable belongs to.
The name of the variable whose value has been changeed.
The old value of the variable.
The new value of the variable.
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 the ball has been kicked.