HelpCommand

public class HelpCommand extends AbstractAsyncCommand

Command for hel operations. Registered with the command system and callable by players.

java.lang.Object > AbstractAsyncCommand > HelpCommand

Field Summary

playerRef

final Ref playerRef

Field playerRef.

store

final Store store

Field store.

world

final World world

Field world.

resolvedCommand

final String resolvedCommand

Field resolvedCommand.

playerComponent

final Player playerComponent

Field playerComponent.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

lowerName

final String lowerName

Field lowerName.

aliases

final Set aliases

Field aliases.

commandName

final String commandName

Field commandName.

Method Detail

HelpCommand

public public HelpCommand ()

Method HelpCommand.

HelpCommandVariant

public new HelpCommandVariant ()

Method HelpCommandVariant.

executeAsync

protected CompletableFuture executeAsync (@Nonnull final CommandContext context)

Method executeAsync.

Parameters:
@Nonnull final CommandContext context

CommandListPage

public new CommandListPage (playerRefComponent, resolvedCommand)

Method CommandListPage.

Parameters:
playerRefComponent playerRefComponent
resolvedCommand resolvedCommand

resolveCommandName

static String resolveCommandName (@Nullable final String commandNameOrAlias)

Method resolveCommandName.

Parameters:
@Nullable final String commandNameOrAlias