voxelsrv-protocol

For client, see [VoxelSrv/voxelsrv](https://github.com/VoxelSrv/voxelsrv) For server, see [VoxelSrv/voxelsrv-server](https://github.com/VoxelSrv/voxelsrv-server)

Usage no npm install needed!

<script type="module">
  import voxelsrvProtocol from 'https://cdn.skypack.dev/voxelsrv-protocol';
</script>

README

For client, see VoxelSrv/voxelsrv For server, see VoxelSrv/voxelsrv-server

VoxelSrv is using Protocol Buffers with additional byte (ID) at the beginning - [id byte, ...serialized protocol buffer output]. ID is based on position of message in definition file (so for client, LoginResponse = 0. Ping = 1...). IDmap can be also found in idmap folder as a JSON array. Data itself is send via WebSocket (ws:// for unencrypted and wss:// for encrypted).

If you need files for other languages than provided, you can copy proto folder and use any protocol buffer 3 implementation.

Server.* and client.* files are most likely ones you need. Proxy-* is only used for connecting to non-websocket based servers with main (or any other) proxy. Mostly used for mc0.30c support

If you want to use it, you should check: