Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugin = proxy.Plugin{ Name: "BossBar", Init: func(ctx context.Context, p *proxy.Proxy) error { log := logr.FromContextOrDiscard(ctx) log.Info("Hello from BossBar plugin!") event.Subscribe(p.Event(), 0, bossBarDisplay()) return nil }, }
Plugin is a boss bar plugin that displays a boss bar to the player upon login.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.