@Override
      public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
               if (cmd.getName().equalsIgnoreCase("bang")) {
         		if (!(sender instanceof Player)) {
         			sender.sendMessage("This command can only be run by a player.");
            		} else {
                                if(args[0].equals("getbang")){
        			Player player = (Player) sender;
                                player.getInventory().addItem(new BangCard().getItemStack());
                                }
                                if(args[0].equals("gethide")){
        			Player player = (Player) sender;
                                player.getInventory().addItem(new HideCard().getItemStack());
                                } 
                                if(args[0].equals("getheal")){
        			Player player = (Player) sender;
                                player.getInventory().addItem(new HealCard().getItemStack());
                                } 
                                if(args[0].equals("owner")){
        			Player player = (Player) sender;
                                player.getInventory().addItem(new OccupationCard(Occupation.Owner).getItemStack());
                                } 
                                if(args[0].equals("operator")){
        			Player player = (Player) sender;
                                player.getInventory().addItem(new OccupationCard(Occupation.Operator).getItemStack());
                                } 
                                if(args[0].equals("griefer")){
        			Player player = (Player) sender;
                                player.getInventory().addItem(new OccupationCard(Occupation.Griefer).getItemStack());
                                } 
                                if(args[0].equals("cheater")){
        			Player player = (Player) sender;
                                player.getInventory().addItem(new OccupationCard(Occupation.Cheater).getItemStack());
                                } 
         		}
          		return true;
           	}
           	return false;
      }