AbstractPlayerCommand

abstract class AbstractPlayerCommand extends AbstractAsyncCommand

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

java.lang.Object > AbstractAsyncCommand > AbstractPlayerCommand

Field Summary

ref

final Ref ref

Field ref.

store

final Store store

Field store.

world

final World world

Field world.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

AbstractPlayerCommand

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

Method AbstractPlayerCommand.

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

executeAsync

final CompletableFuture executeAsync (@Nonnull final CommandContext context)

Method executeAsync.

Parameters:
@Nonnull final CommandContext context