-
Notifications
You must be signed in to change notification settings - Fork 25
/
doc.go
14 lines (14 loc) · 981 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Package mcwss implements a websocket server to be used with Minecraft Bedrock Edition. It aims to implement
// most of the protocol and abstraction around it to achieve and easy to use API for interacting with the
// client.
//
// When using mcwss.NewServer(nil), the default configuration is used. Once the server is ran, (Server.Run())
// your client may connect to it using `/connect localhost:8000/ws'. The client will remain connected to the
// websocket until it either connects to a new one or closes the entire game, or when the websocket server
// chooses to forcibly close the connection.
//
// After connecting to a websocket server in a world that has cheats enabled, it is possible to join (online)
// games, like Mineplex, or other single player worlds, that do not have cheats enabled. Executing commands
// or other actions that would modify the world are not available on those servers, but events will still be
// sent by the client as expected.
package mcwss