VoiceCraft
Ecosystem

Addon API

VoiceCraft.Addon exposes a script-driven McApi layer that is much wider than just vcbind.

Addon API

VoiceCraft.Addon exposes a script-driven McApi layer that is much wider than just vcbind.

This page is aimed at addon and world developers.

High-level API surface

The addon-side API exposes:

  • connection lifecycle
  • packet send / receive
  • entity creation and destruction
  • world ID, position, rotation, mute, deafen, and bitmask updates
  • effect updates
  • audio-received events

High-level events

From the current API layer:

  • OnConnected
  • OnDisconnected
  • OnPlayerBind
  • OnPlayerUnbind
  • OnPacket

Script events used by the system include:

  • voicecraft:onConnected
  • voicecraft:onDisconnected
  • voicecraft:onPlayerBind
  • voicecraft:onPlayerUnbind
  • voicecraft:onPacket
  • voicecraft:sendPacket

Packet-level coverage

Current exposed packet events include categories such as:

  • login / logout / ping
  • accept / deny / reset responses
  • entity create / destroy
  • title / description / name updates
  • mute / deafen / server mute / server deafen
  • talk / listen / effect bitmask
  • position / rotation / world ID
  • cave factor / muffle factor
  • effect updates
  • audio received

This makes the addon API useful not only for stock worlds, but also for custom game modes.

Common customization ideas

  • auto-binding by team, role, or tag
  • custom bind UI
  • custom effect presets per biome or area
  • region-based world ID remapping
  • staff moderation tools through server UI forms
  • scripted NPC or fake-entity voice logic

Basic integration model

Typical addon logic:

  1. connect to VoiceCraft transport
  2. authenticate
  3. create or discover entities
  4. bind players
  5. update world ID / position / rotation on tick or event
  6. react to packet-level updates

Important implementation notes

  • McWss mode depends on command tunnel throughput
  • effect toggles are encoded through bitmasks
  • packet-level automation should be tested carefully on real Bedrock builds
  • start from Basic if you need a working reference
  • switch to Core.McHttp or Core.McWss when building a custom experience
  • keep your world automation thin at first, then expand packet hooks gradually
Copyright © 2026