AbstractCommandCollection

abstract class AbstractCommandCollection extends AbstractAsyncCommand

Class AbstractCommandCollection. Provides abstractcommandcollection functionality for the Hytale server.

java.lang.Object > AbstractAsyncCommand > AbstractCommandCollection

Field Summary

message

final Message message

Field message.

Method Detail

AbstractCommandCollection

public public AbstractCommandCollection (@Nonnull final String name, @Nonnull final String description)

Method AbstractCommandCollection.

Parameters:
@Nonnull final String name
@Nonnull final String description

getFullUsage

public Message getFullUsage (@Nonnull final CommandSender sender)

Method getFullUsage.

Parameters:
@Nonnull final CommandSender sender

executeAsync

final CompletableFuture executeAsync (@Nonnull final CommandContext context)

Method executeAsync.

Parameters:
@Nonnull final CommandContext context

getUsageString

public Message getUsageString (@Nonnull final CommandSender sender)

Method getUsageString.

Parameters:
@Nonnull final CommandSender sender