promotional bannermobile promotional banner

wsmc

Enable Websocket support for Minecraft Java.

File Details

1.20.1-0.6.0-fabric

  • R
  • Feb 24, 2025
  • 613.02 KB
  • 51
  • 1.20.1
  • Fabric

File Name

wsmc-0.6.0-fabric.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:wsmc-920581:6229855"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Allow client to specify http hostname and SNI

Syntax are shown below. Port and path can be appended if necessary. The most simple WebSocket connection: ws://ip.ip.ip.ip

Websocket connection with http hostname specified: ws://host.com@ip.ip.ip.ip

The most simple secured WebSocket connection: wss://sni-host-ip.com

Specify sni and http hostname to the same value(sni-host.com), resolve server IP from ip.ip.ip.ip: wss://sni-host.com@ip.ip.ip.ip

Set sni and http hostname differently, resolve server IP from host.com: wss://sni.com:@host.com[:port]

Set sni and http hostname differently, resolve server IP from sni.com: wss://:host.com@sni.com[:port]

Set sni, http hostname, and the server address seperately wss://sni.com:host.com@ip.ip.ip.ip