public static void sendDenied(String[] args) { CommandSender sender = CommandManager.getSender(); String title = Language.getString("general.title"); String message = Language.getString("general.access-denied"); String command = ""; for (int i = 0; i < args.length; i++) command = command + " " + args[i]; log(sender.getName() + " was denied to use a command (/" + command + ")"); }
public static void sendSuccess(String string) { CommandSender sender = CommandManager.getSender(); String title = Language.getString("general.title"); sender.sendMessage(ChatColor.GREEN + "[" + title + "]" + ChatColor.WHITE + message); }