Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
Identifier string
OnLoad func(*Plugin)
Unload func(*Plugin)
// contains filtered or unexported fields
}
type Server ¶
type Server struct {
TickManager *tick.TickManager
World *world.World
CommandManager *command.Manager
Players *state.PlayerEntityManager
// contains filtered or unexported fields
}
func New ¶
func New(cfg properties.ServerProperties, world *world.World) (*Server, error)
Creates a new server instance using the specified config, returns an error if unable to bind listener
func (*Server) Properties ¶
func (srv *Server) Properties() properties.ServerProperties
func (*Server) SetStatusProvider ¶
func (srv *Server) SetStatusProvider(sp net.StatusProvider)
Directories
¶
| Path | Synopsis |
|---|---|
|
Package command provides utilities for handling and registering commands
|
Package command provides utilities for handling and registering commands |
|
chunk
Package chunk provides a way of encoding and modifying chunks
|
Package chunk provides a way of encoding and modifying chunks |
|
chunk/section
Package section provides methods of modifying chunk sections
|
Package section provides methods of modifying chunk sections |
|
level/seed
Package seed provides parsing of string seeds and generating them
|
Package seed provides parsing of string seeds and generating them |
Click to show internal directories.
Click to hide internal directories.