Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

VoiceChatSendRule

VoiceChatSendRule = (world, speaker) => boolean | string

Whether speaker may talk on a channel now: true to let the speaker, false to refuse, or the words the speaker’s microphone button shows, such as “Only the dead talk now”. The rule reads the world as the last step left it and writes nothing. As text chat’s TextChatSendRule.

Parameter Type
world World
speaker PlayerEntity

boolean | string