Provide official ListPingHandler implementation
This commit is contained in:
@ -1,3 +1,25 @@
|
||||
// Package server provide a minecraft server framework.
|
||||
// You can build the server you want by combining the various functional modules provided here.
|
||||
// An example can be found in examples/frameworkServer.
|
||||
//
|
||||
// A server is roughly divided into two parts:
|
||||
//
|
||||
// +----------------------------------------------+
|
||||
// | Go-MC Server Framework |
|
||||
// +-----------------------+----------------------+
|
||||
// | Gate | GamePlay |
|
||||
// +--------------+--------+--------+-------------+
|
||||
// | LoginHandler | ListPingHandler | Coming Soon |
|
||||
// +--------------+-----------------+-------------+
|
||||
//
|
||||
// Gate, which is used to respond to the client login request, provide login verification,
|
||||
// respond to the List Ping Request and providing the online players' information.
|
||||
//
|
||||
// Gameplay, which is used to handle all things after a player successfully logs in
|
||||
// (that is, after the LoginSuccess package is sent),
|
||||
// and is responsible for functions including player status, chunk management, keep alive, chat, etc.
|
||||
//
|
||||
// The implement of Gameplay will provide later.
|
||||
package server
|
||||
|
||||
import "github.com/Tnze/go-mc/net"
|
||||
|
Reference in New Issue
Block a user