Package net.blockhost.commons.commands.help
@NullMarked
package net.blockhost.commons.commands.help
Help system for command documentation.
This package provides utilities for formatting and displaying command help messages using MiniMessage formatting.
Quick Start
// Create formatter with config
HelpFormatter formatter = new HelpFormatter(config.help());
// Send help to a player
formatter.sendHelp(player, List.of(
new HelpFormatter.CommandEntry("spawn", "Teleport to spawn"),
new HelpFormatter.CommandEntry("home", "Teleport to your home")
));
- See Also:
-
ClassDescriptionConfiguration for command help message formatting.Formats and sends help messages for commands.Represents a command entry in the help listing.