FiguraSVC

Quick rating

Community listing page, reviews may not be monitored by the author.

FiguraSVC

By KnownserOwner

No reviews yet

A unofficial addon that allows Figura scripts to detect and process Simple Voice Chat audio in real time.

Mod Loaders
Minecraft

About

Description

[ NOTICE (2026-10-10) ]

I have been in the mood to work on Minecraft modding again, a better written FiguraSVC successor is currently in the works, with a much better API and an actually fairly decent codebase. FiguraSVC was written as mostly a proof-of-concept and can be volatile to VM errors.

FiguraSVC

A unofficial addon for Figura that allows Simple Voice Chat to be detected by Figura Lua scripts.

Example Script

-- Example talking animation
local microphoneOffTime = 0
local isMicrophoneOn = false

function pings.talking(state)
    -- (safe on servers) (visible to everyone)
    animations.model.talk:setPlaying(state)
end

function events.tick()
    local previousMicState = isMicrophoneOn

    microphoneOffTime = microphoneOffTime + 1
    isMicrophoneOn = microphoneOffTime <= 2 -- has svc.microphone been called in the past 2 ticks?

    if previousMicState ~= isMicrophoneOn then
        pings.talking(isMicrophoneOn)
    end
end

if client:isModLoaded("figurasvc") and host:isHost() then
    function events.HOST_MICROPHONE(pcm)
        microphoneOffTime = 0
    end
end