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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
speaker |
PlayerEntity |
Returns
Section titled “Returns”boolean | string