@Override
	public boolean onCommand(CommandSender sender, Command cmd, String label, String args[]){
		if (cmd.getName().equalsIgnoreCase("staff")){
			ArrayList<String> staff = new ArrayList<String>();
			String onlineStaff = "";
			for (Player player: plugin.getServer().getOnlinePlayers()){
				if (player.hasPermission("stumcreport.staff") && plugin.getDuty(player.getName()).equals("on")){
					staff.add(player.getDisplayName());
				}
			}
			if (staff.size() == 1){
				onlineStaff = staff.get(0);
			}else if (staff.size() != 0){
				for (int i=0; i<staff.size(); i++){
					if (i < staff.size() - 1){
						onlineStaff += staff.get(i) + ", ";
					}else{
						onlineStaff += staff.get(staff.size() - 1);
					}
				}
			}
			if (onlineStaff.isEmpty()){
				sender.sendMessage(ChatColor.GOLD+"No staff online.");
			}else{
				sender.sendMessage(ChatColor.GOLD+"Online staff: "+onlineStaff);
			}
			return true;
		}
		return false;
	}