You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add a custom top panel item you need to register your item with Basemod, you should do this in the receivePostInitialize callback from PostInitializeSubscriber.
BaseMod.addTopPanelItem(TopPanelItem topPanelItem) - this is what you what you would use to register your top panel item with Basemod. This is all you need for Basemod to add the item to the top panel.
Example
The TopPanelItem class should be extended to create your TopPanelItem.