diff --git a/cmd/daze/daze.go b/cmd/daze/daze.go index 9a48dc9..352dd30 100644 --- a/cmd/daze/daze.go +++ b/cmd/daze/daze.go @@ -1,6 +1,7 @@ package main import ( + // "github.com/Tnze/go-mc/authenticate" "github.com/Tnze/go-mc/bot" "github.com/Tnze/go-mc/chat" "log" @@ -8,6 +9,15 @@ import ( func main() { c := bot.NewClient() + // For online-mode, you need login your Mojang account + // and load your Name and UUID to client: + // + // auth, err := authenticate.Authenticate(Your E-mail", "Your Password") + // if err != nil { + // panic(err) + // } + // c.Name, c.AsTk = auth.SelectedProfile.Name, auth.SelectedProfile.ID + //Login err := c.JoinServer("localhost", 25565) if err != nil {