Voice
Proximity voice chat, built into the server. It is on by default and needs no extra program or port. The server only forwards voice and decides who hears whom; nothing is recorded.
voice.setEnabled()
Voice.setEnabled(enabled)Switches voice chat on or off for the whole server. Off also closes the microphone and voice output in every player's game, and nothing goes over the network.
voice.isEnabled()
Voice.isEnabled()Whether voice chat is on for this server.
voice.setRange()
Voice.setRange(tier, meters)Sets how far a tier reaches, in metres, for every player. The defaults are whisper 2, normal 10 and shout 30. 0 means that tier reaches nobody.
voice.getRange()
Voice.getRange(tier)How far a tier reaches, in metres.
voice.setPlayerTier()
Voice.setPlayerTier(player, tier)Sets the tier a player talks in. Their game shows it at once.
voice.getPlayerTier()
Voice.getPlayerTier(player)The tier a player talks in.
voice.setPlayerMuted()
Voice.setPlayerMuted(player, muted)Silences a player for everyone, or lets them talk again.
voice.isPlayerMuted()
Voice.isPlayerMuted(player)Whether a player is silenced for everyone.
voice.setPlayerMuffled()
Voice.setPlayerMuffled(player, amount)Makes a player sound muffled to everyone, as through a gag or a hood over the mouth. They are still heard; only how they sound changes.
voice.getPlayerMuffled()
Voice.getPlayerMuffled(player)How muffled a player sounds, 0 to 1.
voice.setPlayerDeaf()
Voice.setPlayerDeaf(player, deaf)Makes a player hear nobody, or hear again.
voice.isPlayerDeaf()
Voice.isPlayerDeaf(player)Whether a player hears nobody.
voice.setListenerMuted()
Voice.setListenerMuted(listener, talker, muted)Stops one player hearing another. Nobody else is affected.
voice.isListenerMuted()
Voice.isListenerMuted(listener, talker)Whether one player has stopped hearing another.
voice.isTalking()
Voice.isTalking(player)Whether a player is talking now. See the voiceTalkingChanged event.