Package ru.tehkode.permissions.commands

Examples of ru.tehkode.permissions.commands.Command.description()


      Command command = commands.get(i).getMethodAnnotation();
      String commandName = String.format("/%s %s", command.name(), command.syntax()).replace("<", ChatColor.BOLD.toString() + ChatColor.RED + "<").replace(">", ">" + ChatColor.RESET + ChatColor.GOLD.toString()).replace("[", ChatColor.BOLD.toString() + ChatColor.BLUE + "[").replace("]", "]" + ChatColor.RESET + ChatColor.GOLD.toString());


      sender.sendMessage(ChatColor.GOLD + commandName);
      sender.sendMessage(ChatColor.AQUA + "    " + command.description());
    }
  }

  @Command(name = "pex",
      syntax = "version",
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.