Class PluginsCommand

java.lang.Object
cn.nukkit.command.Command
cn.nukkit.command.defaults.PluginsCommand
All Implemented Interfaces:
GenericParameter, CoreCommand

public class PluginsCommand extends Command implements CoreCommand
Since:
2015/11/12
Author:
xtypr
  • Constructor Details

    • PluginsCommand

      public PluginsCommand(String name)
  • Method Details

    • execute

      @Since("1.19.60-r1") public int execute(CommandSender sender, String commandLabel, Map.Entry<String,ParamList> result, CommandLogger log)
      Description copied from class: Command
      Execute int.
      Overrides:
      execute in class Command
      Parameters:
      sender - 命令发送者
      commandLabel - the command label
      result - 解析的命令结果
      log - 命令输出工具
      Returns:
      int 返回0代表执行失败, 返回大于等于1代表执行成功