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.
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 CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
PluginListPage
public
new
PluginListPage
(playerRef)
Method PluginListPage.
- Parameters:
playerRefplayerRef