@Override
	public boolean onCommand(final CommandSender sender, Command cmd, String label, final String[] args) {
        Bukkit.getScheduler().runTaskLaterAsynchronously(plugin, new Runnable() {
            @Override
            public void run() {
                if(sender instanceof Player){
                    Player player = (Player)sender;

                    if(args.length == 0){
                        String name = player.getName();
                        sender.sendMessage(Message.getDisplay(plugin, name, getKarma(name)));
                    } else if(args.length == 1){
                        if(player.hasPermission("karma.view")){
                            if(args[0].equalsIgnoreCase("version")){
                                sender.sendMessage("Karma v"+plugin.getDescription().getVersion() + " by Mitizmitiz and frdmn");
                            }else{
                                sender.sendMessage(view(args[0]));
                            }
                        } else {
                            sender.sendMessage("You don't have permission.");
                        }
                    } else {
                        sender.sendMessage("usage: /karma [player]");
                    }
                } else {

                    if(args.length == 1){
                        if(args[0].equalsIgnoreCase("version")){
                            sender.sendMessage("Karma v"+plugin.getDescription().getVersion() + " by Mitizmitiz and frdmn");
                        }else{
                            sender.sendMessage(view(args[0]));
                        }
                    } else {
                        sender.sendMessage("usage: /karma [player]");
                    }
                }
            }
        }, 2);

		return true;
	}