public void givePickaxeReward(Player p, int breaks) {
		
		if (pickaxeGlobalRewards == null 
				|| !pickaxeGlobalRewards.containsKey(breaks) 
				|| pickaxeGlobalRewards.get(breaks) == null) {
			return;
		}
		
		Reward r = globalRewards.get(breaks);
		
		if (r == null) {
			return;
		}
		
		if (r.getCommands() == null || r.getCommands().isEmpty()) {
			return;
		}
		
		for (String cmd : r.getCommands()) {
			
			String f = cmd.replace("%player%", p.getName()).replace("%blocksbroken%", breaks+"");
			
			if (cmd.startsWith("ezmsg")) {
				p.sendMessage(ChatColor.translateAlternateColorCodes('&', f.replace("ezmsg ", "")));
			}
			else if (cmd.startsWith("ezbroadcast")) {
				Bukkit.broadcastMessage(ChatColor.translateAlternateColorCodes('&', f.replace("ezbroadcast ", "")));
			}
			else {
				Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), f);
			}
			
		}
				
	}