Minecraft
McWss for Singleplayer Worlds
McWss is suitable for local/testing scenarios and singleplayer worlds.
McWss for Singleplayer Worlds
McWss is suitable for local/testing scenarios and singleplayer worlds.
Important
- This mode is less stable than
McHttp. - For public production servers,
McHttpis recommended.
Requirements
VoiceCraft.ServerwithMcWssConfig.Enabled: true.VoiceCraft.Addon.Core.McWss.zipaddon.
Installation
Option 1 (mcaddon import)
- Rename archive to
VoiceCraft.Addon.Core.McWss.mcaddon. - Open the file so Minecraft imports the addon.
- Enable
VoiceCraft.Addon.Core.McWss.BPandVoiceCraft.Addon.Core.McWss.RPin world.
Option 2 (manual copy)
- Extract archive.
- Copy
RPandBPto Minecraft Bedrock directories. - Enable both packs in target world.
Connection
- In world, run the websocket connect command:
/connect <VOICECRAFT_HOST>:<MCWSS_PORT>
Example:
/connect 127.0.0.1:9051
- Authenticate with token:
/voicecraft:vcconnect <LOGIN_TOKEN>
Use LOGIN_TOKEN from McWssConfig.LoginToken.
If your Bedrock build supports a short alias, /vcconnect may also work, but voicecraft:vcconnect is the recommended form.
Tuning
If you see lag/crashes:
- reduce
CommandsPerTick, - check
MaxStringLengthPerCommand, - test disabling selected packet types in
DisabledPacketTypeswhen needed.