promotional bannermobile promotional banner

wsmc

Enable Websocket support for Minecraft Java.
Back to Files

1.20.2-1.20.4-0.6.1-fabric

File namewsmc-0.6.1-fabric.jar
Uploader
rikka0w0rikka0w0
Uploaded
Feb 24, 2025
Downloads
37
Size
622.9 KB
Mod Loaders
Fabric
File ID
6230984
Type
R
Release
Supported game versions
  • 1.20.4
  • 1.20.3
  • 1.20.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:wsmc-920581:6230984"

Learn more about Curse Maven

What's new

Port feature from 1.20.1 branch

  1. Move to new building system
  2. Support maxFramePayloadLength
  3. Properly support SSL
  4. 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

This mod has no additional files