Optional
spawn: booleanOptional
spawn: booleanAdd the vote of a player to vote for another player to be kicked.
room.votebansystem.addVote(client.me, player);
The player to count the vote as.
The player to vote to be kicked.
Get a certain component from the object.
The component class to get.
The dirty state of this component.
Flags for this object, see SpawnFlag.
The net ID of this component.
The ID of the owner of this component.
Optional
playerThe player that this component belongs to.
The room that this component belongs to.
The type of object that this component belongs to.
The accumulated votes.
Optional
data: HazelReader | VoteBanSystemDataOptional
gameData: GameData<RoomType>Generated using TypeDoc
Represents a room object for handling vote kicks.
See VoteBanSystemEvents for events to listen to.