Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugin = proxy.Plugin{ Name: "TabList", Init: func(ctx context.Context, p *proxy.Proxy) error { log := logr.FromContextOrDiscard(ctx) log.Info("Hello from TabList plugin!") event.Subscribe(p.Event(), 0, onPostLogin) return nil }, }
Plugin is a demo TabList plugin that sets a custom header and footer when a player logs in.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.