Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { PluginName Init(PluginManager) error Start() Pause() }
type PluginManager ¶
type PluginManager interface { Printf(scope string, format string, a ...any) (n int, err error) Println(scope string, a ...any) (n int, err error) RegisterLogProcesser(context PluginName, process func(logmsg string, iscommandrespone bool)) (channel chan *manager.MessageResponse) RegisterManagerMessageChannel(skipRegister bool) (channel chan *manager.MessageResponse) RegisterPlugin(plugin Plugin) (p Plugin, err error) GetPlugin(pluginName string) Plugin UnRegisterManagerMessageChannel(channel chan *manager.MessageResponse) RunCommand(cmd string) string Status(opts ...grpc.CallOption) (*manager.StatusResponse, error) Stop(opts ...grpc.CallOption) (*emptypb.Empty, error) StartMinecraft() (err error) }
type PluginNameWrapper ¶
func (*PluginNameWrapper) DisplayName ¶
func (p *PluginNameWrapper) DisplayName() string
func (*PluginNameWrapper) Name ¶
func (p *PluginNameWrapper) Name() string
Click to show internal directories.
Click to hide internal directories.