Documentation ¶
Index ¶
- func GetBroadcastPluginInstance() plugin.Plugin
- type BroadcastPlugin
- func (p *BroadcastPlugin) ChangeConfCallBack()
- func (p *BroadcastPlugin) DestructCallBack()
- func (p *BroadcastPlugin) GetCommandName() string
- func (p *BroadcastPlugin) GetDescription() string
- func (p *BroadcastPlugin) GetHelpDescription() string
- func (p *BroadcastPlugin) GetId() string
- func (p *BroadcastPlugin) GetName() string
- func (p *BroadcastPlugin) HandleMessage(message *models.ReciveMessage)
- func (p *BroadcastPlugin) Init(mcServer server.MinecraftServer)
- func (p *BroadcastPlugin) InitCallBack()
- func (p *BroadcastPlugin) IsGlobal() bool
- func (*BroadcastPlugin) NewInstance() plugin.Plugin
- func (p *BroadcastPlugin) Start()
- func (p *BroadcastPlugin) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BroadcastPlugin ¶
type BroadcastPlugin struct {
// contains filtered or unexported fields
}
func (*BroadcastPlugin) ChangeConfCallBack ¶
func (p *BroadcastPlugin) ChangeConfCallBack()
------------------回调接口--------------------
func (*BroadcastPlugin) DestructCallBack ¶
func (p *BroadcastPlugin) DestructCallBack()
func (*BroadcastPlugin) GetCommandName ¶
func (p *BroadcastPlugin) GetCommandName() string
func (*BroadcastPlugin) GetDescription ¶
func (p *BroadcastPlugin) GetDescription() string
func (*BroadcastPlugin) GetHelpDescription ¶
func (p *BroadcastPlugin) GetHelpDescription() string
func (*BroadcastPlugin) GetId ¶
func (p *BroadcastPlugin) GetId() string
func (*BroadcastPlugin) GetName ¶
func (p *BroadcastPlugin) GetName() string
func (*BroadcastPlugin) HandleMessage ¶
func (p *BroadcastPlugin) HandleMessage(message *models.ReciveMessage)
func (*BroadcastPlugin) Init ¶
func (p *BroadcastPlugin) Init(mcServer server.MinecraftServer)
func (*BroadcastPlugin) InitCallBack ¶
func (p *BroadcastPlugin) InitCallBack()
func (*BroadcastPlugin) IsGlobal ¶
func (p *BroadcastPlugin) IsGlobal() bool
func (*BroadcastPlugin) NewInstance ¶
func (*BroadcastPlugin) NewInstance() plugin.Plugin
func (*BroadcastPlugin) Start ¶
func (p *BroadcastPlugin) Start()
---------非全局插件,服务端启动,关闭回调---------
func (*BroadcastPlugin) Stop ¶
func (p *BroadcastPlugin) Stop()
Click to show internal directories.
Click to hide internal directories.