PlayerStatsAddCommand

public class PlayerStatsAddCommand extends AbstractTargetPlayerCommand

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

java.lang.Object > AbstractTargetPlayerCommand > PlayerStatsAddCommand

Field Summary

statAmount

final int statAmount

Field statAmount.

entityStat

final String entityStat

Field entityStat.

Method Detail

PlayerStatsAddCommand

public public PlayerStatsAddCommand ()

Method PlayerStatsAddCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nullable final Ref sourceRef, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world, @Nonnull final Store store)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nullable final Ref sourceRef
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world
@Nonnull final Store store