Files
mc/server/doc.go
T
TarnaWijaya 26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
up3
2026-07-09 08:33:57 +08:00

14 lines
520 B
Go

// Package server implements a high-level implementation of a Minecraft server.
// Creating such a server may be done using the `server.New()` function.
// Additional configuration may be passed by using server.Config{...}.New().
// `Server.Listen()` may be called to start and run the server. It should be
// followed up by a loop as such:
//
// for p := range srv.Accept() {
// // Use p
// }
//
// `Server.Accept()` blocks until a new player connects to the server and
// spawns in the default world.
package server