Optionalonthe player that sent the message
the sent message
The new username.
The new playlist to add.
The playlist index to remove.
Whether to perform advanced filtering tactics when generating the songs array. Currently just ignores parens when filtering for identical song names.
The music start position.
Used as default value in PlayerPicksGame, used as forced position in MultipleChoiceGame.
Whether to prefer distractions by the same artist.
Whether to directly end the round after all players answered.
The game mode being played.
The amount of time a player should have to pick a song.
The amount of rounds to play.
The time per question in each round.
Optionalanswer?: stringProvided only for PlayerPicksGame. The string of the song name the player guessed.
OptionalanswerIndex?: numberProvided only for MultipleChoiceGame. The index of the selected answer.
Where to send the player to.
The name of the player that should get host.
The song the player picked in the choose step.
The name of the song artist.
A URL to the audio file of the song. Currently only audio previews from Apple Music and SoundCloud are allowed.
Cover URL of the song.
The URL users will be redirected to when clicking.
The name of the song.
The selected start pos for the song.
Optionalerror?: stringOptional error message if the requested action could not be performed.
The message that is being confirmed.
The sequence number the pong should respond with
The sequence number asked for in the ping packet.
whether the message was handled by this listener.
OptionalonCalled every time the tick loop of ValidRoom is run.
Handles incoming client messages