@Override
    public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){ 
        
        if (cmd.getName().equalsIgnoreCase("getmute")){
           if (args.length <= 0) {
                sender.sendMessage(Msg.$("getmute-usage"));
                return true;
            }
           MuteManager.getMute(sender, args[0]);
        } else if (cmd.getName().equalsIgnoreCase("mymute")){
            if (sender instanceof Player){
                Player p = (Player) sender;
                MuteManager.getMute(sender, p.getName());
            }
            else
                sender.sendMessage("Only player can access this command!");
        } else if (cmd.getName().equalsIgnoreCase("reloadmute")){
            if (Access.canReload(sender)) {
                try {
                    config.load(configFile);
                } catch (IOException e) {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                } catch (InvalidConfigurationException e) {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                }
                Msg.setupMsg(getDataFolder());
                MuteManager.setupMuteManager(getDataFolder());
                Swear.setupSwear(getDataFolder(), this);
                sender.sendMessage(Msg.$("reloaded"));
            } else {
                sender.sendMessage(Msg.$("not-permitted"));
            }
        }
        
        return true;
    }