feat: support kick

This commit is contained in:
Vaala Cat
2023-06-19 19:21:26 +08:00
parent 730aea3e3b
commit c278b3f516
16 changed files with 447 additions and 90 deletions

16
services/mc/defs.go Normal file
View File

@@ -0,0 +1,16 @@
package mc
const (
ErrNotJoined = "not joined"
)
const (
EventPlayerJoined = "multiplayer.player.joined"
EventPlayerLeft = "multiplayer.player.left"
)
const (
StatusPending = iota
StatusNormal
StatusBanned
)