PluginCommand

public class PluginCommand extends AbstractCommandCollection

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

java.lang.Object > AbstractCommandCollection > PluginCommand

Field Summary

module

final PluginManager module

Field module.

plugins

final Set plugins

Field plugins.

identifier

final PluginIdentifier identifier

Field identifier.

plugin

final PluginBase plugin

Field plugin.

onlyBootList

final boolean onlyBootList

Field onlyBootList.

serverConfig

final HytaleServerConfig serverConfig

Field serverConfig.

playerComponent

final Player playerComponent

Field playerComponent.

Method Detail

PluginCommand

public public PluginCommand ()

Method PluginCommand.

PluginListCommand

public new PluginListCommand ()

Method PluginListCommand.

PluginLoadCommand

public new PluginLoadCommand ()

Method PluginLoadCommand.

PluginUnloadCommand

public new PluginUnloadCommand ()

Method PluginUnloadCommand.

PluginReloadCommand

public new PluginReloadCommand ()

Method PluginReloadCommand.

PluginManageCommand

public new PluginManageCommand ()

Method PluginManageCommand.

parse

public PluginIdentifier parse (@Nonnull final String input, @Nonnull final ParseResult parseResult)

Method parse.

Parameters:
@Nonnull final String input
@Nonnull final ParseResult parseResult

executeSync

protected void executeSync (@Nonnull final CommandContext context)

Method executeSync.

Parameters:
@Nonnull final CommandContext context

execute

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

Method execute.

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

PluginListPage

public new PluginListPage (playerRef)

Method PluginListPage.

Parameters:
playerRef playerRef