Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
FiguraSVC

FiguraSVC

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

19.2k
30
Decoration
Social

Compatibility

Minecraft: Java Edition

1.21.x
1.20.4
1.20.1

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

KnownSH
KnownSH Member

Details

Licensed LGPL-2.1-only
Published last year
Updated 2 weeks ago
DescriptionGalleryChangelogVersions

FiguraSVC

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

DOCUMENTATION

Wiki will come soon!

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

Modrinth is open source.

fix-window-open@1656e14

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.