wsmc

Enable Websocket support for Minecraft Java.
Back to Files

1.20.2-1.20.4-0.6.1-forge

File namewsmc-0.6.1-forge.jar
Uploader
rikka0w0rikka0w0
Uploaded
Feb 24, 2025
Downloads
31
Size
627.5 KB
Mod Loaders
Forge
File ID
6230987
Type
B
Beta
Supported game versions
  • 1.20.4
  • 1.20.3
  • 1.20.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:wsmc-920581:6230987")

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