Documentation ¶
Index ¶
- Variables
- func RunPlugin(conn *minecraft.Conn, path string, bridge plugin_structs.PluginBridge)
- func StartPluginSystem(conn *minecraft.Conn)
- type PluginBridgeImpl
- func (*PluginBridgeImpl) ConvertFunctionChainItemList(list map[string]plugin_structs.FunctionChainItem) interface{}
- func (*PluginBridgeImpl) RegisterBuilder(name string, ...) bool
- func (*PluginBridgeImpl) RegisterEnum(desc string, parser func(string) byte, inv byte) int
- func (*PluginBridgeImpl) RegisterFunction(function_cont plugin_structs.Function)
- func (br *PluginBridgeImpl) SendChat(content string) error
- func (br *PluginBridgeImpl) SendCommand(commandstr string) error
- func (br *PluginBridgeImpl) SendCommandCB(cmd string, cb func([]plugin_structs.CommandOutputMessage, string))
- func (br *PluginBridgeImpl) SendWSCommandCB(cmd string, cb func([]plugin_structs.CommandOutputMessage, string))
- func (br *PluginBridgeImpl) SubscribeChat(cb func(string, string))
- func (br *PluginBridgeImpl) Tellraw(message string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ChatEventListeners []func(string, string) = []func(string, string){}
Functions ¶
func RunPlugin ¶
func RunPlugin(conn *minecraft.Conn, path string, bridge plugin_structs.PluginBridge)
func StartPluginSystem ¶
Types ¶
type PluginBridgeImpl ¶
type PluginBridgeImpl struct {
// contains filtered or unexported fields
}
func (*PluginBridgeImpl) ConvertFunctionChainItemList ¶
func (*PluginBridgeImpl) ConvertFunctionChainItemList(list map[string]plugin_structs.FunctionChainItem) interface{}
func (*PluginBridgeImpl) RegisterBuilder ¶
func (*PluginBridgeImpl) RegisterBuilder(name string, function_cont func(config plugin_structs.MainConfig, blc chan *plugin_structs.Module) error) bool
func (*PluginBridgeImpl) RegisterEnum ¶
func (*PluginBridgeImpl) RegisterFunction ¶
func (*PluginBridgeImpl) RegisterFunction(function_cont plugin_structs.Function)
func (*PluginBridgeImpl) SendChat ¶
func (br *PluginBridgeImpl) SendChat(content string) error
func (*PluginBridgeImpl) SendCommand ¶
func (br *PluginBridgeImpl) SendCommand(commandstr string) error
func (*PluginBridgeImpl) SendCommandCB ¶
func (br *PluginBridgeImpl) SendCommandCB(cmd string, cb func([]plugin_structs.CommandOutputMessage, string))
func (*PluginBridgeImpl) SendWSCommandCB ¶
func (br *PluginBridgeImpl) SendWSCommandCB(cmd string, cb func([]plugin_structs.CommandOutputMessage, string))
func (*PluginBridgeImpl) SubscribeChat ¶
func (br *PluginBridgeImpl) SubscribeChat(cb func(string, string))
func (*PluginBridgeImpl) Tellraw ¶
func (br *PluginBridgeImpl) Tellraw(message string) error
Click to show internal directories.
Click to hide internal directories.