mirror_server

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MC_MIRROR_DIR = "minecraft-mirrors"
)

Variables

View Source
var MirrorServerPluginObj plugin.Plugin

Functions

func GetMirrorServerPluginInstance

func GetMirrorServerPluginInstance() plugin.Plugin

Types

type MirrorServerPlugin

type MirrorServerPlugin struct {
	// contains filtered or unexported fields
}

func (*MirrorServerPlugin) ChangeConfCallBack

func (p *MirrorServerPlugin) ChangeConfCallBack()

------------------回调接口--------------------

func (*MirrorServerPlugin) DestructCallBack

func (p *MirrorServerPlugin) DestructCallBack()

func (*MirrorServerPlugin) GetCommandName

func (p *MirrorServerPlugin) GetCommandName() string

func (*MirrorServerPlugin) GetDescription

func (p *MirrorServerPlugin) GetDescription() string

func (*MirrorServerPlugin) GetHelpDescription

func (p *MirrorServerPlugin) GetHelpDescription() string

func (*MirrorServerPlugin) GetId

func (p *MirrorServerPlugin) GetId() string

func (*MirrorServerPlugin) GetName

func (p *MirrorServerPlugin) GetName() string

func (*MirrorServerPlugin) HandleMessage

func (p *MirrorServerPlugin) HandleMessage(message *models.ReciveMessage)

func (*MirrorServerPlugin) Init

func (p *MirrorServerPlugin) Init(mcServer server.MinecraftServer)

func (*MirrorServerPlugin) InitCallBack

func (p *MirrorServerPlugin) InitCallBack()

func (*MirrorServerPlugin) IsGlobal

func (p *MirrorServerPlugin) IsGlobal() bool

func (*MirrorServerPlugin) NewInstance

func (*MirrorServerPlugin) NewInstance() plugin.Plugin

func (*MirrorServerPlugin) Start

func (p *MirrorServerPlugin) Start()

---------非全局插件,服务端启动,关闭回调---------

func (*MirrorServerPlugin) Stop

func (p *MirrorServerPlugin) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL