InfoButtonFactory

public final class InfoButtonFactory

Factory for the shared "info" MenuButton that appears at the top of Nightbreak-style setup menus (originally extracted from EliteSetupMenu#createMenu). Plugins call nightbreakInfoButton with their own copy text, links, and the skull-owner username for the button's player-head icon.

The button's onClick closes the inventory and prints a small chat block: a decorative gradient bar, a headline, three labeled hover-link rows (wiki / content / discord), an optional click-to-run command row gated on hasToken, and a closing gradient bar.

Functions

Link copied to clipboard
public static MenuButton nightbreakInfoButton(String skullName, String displayName, List<String> displayLore, String headlineMessage, String wikiLabel, String wikiLinkDisplay, String wikiLinkHover, String wikiUrl, String contentLabel, String contentLinkDisplay, String contentLinkHover, String contentUrl, String discordLabel, String discordLinkDisplay, String discordLinkHover, String discordUrl, String downloadAllClickMessage, String downloadAllClickHover, String downloadAllCommand)
Builds the standard Nightbreak info MenuButton.