public void onEntityDamage(EntityDamageEvent event)
		{
			Entity entity = event.getEntity();
			if(entity instanceof Player){
				Player player = (Player) entity;
				if(event.getCause().equals(DamageCause.ENTITY_ATTACK))
				{
					if (entity.getLastDamageCause() instanceof EntityDamageByEntityEvent)
		        	{
						Entity attacker = ((EntityDamageByEntityEvent)event.getEntity().getLastDamageCause()).getDamager();
		    			if(attacker instanceof Player){
		    				Player killer = (Player) attacker;
							//if(player.getLastDamageCause().getDamager())
							Set<String> cubos = CuboidsList.getRaw().keySet();
							String cles[] = cubos.toArray(new String[0]);
							int n = cubos.size();
							int x = 0;
							while(x < n)
							{
								Cuboid testable = null;
								try {
									testable = CuboidsList.getCuboid(cles[x]);
								} catch (Exception e) {
									// TODO Auto-generated catch block
									e.printStackTrace();
								}
								//player.sendMessage("test :"+cles[x]);
								if(testable.getFlag("checkenter") == 1){
									//player.sendMessage(cles[x]+" est vérifié");
									if(testable.isPlayerIn(player)){
										if(testable.getFlag("nopvp") == 1)
										{
										event.setCancelled(true);
										killer.sendMessage(ChatColor.RED+"You're in a non-pvp area.");
										}
									}
								}
								x++;
							}
			        	}
		        	}
				}
			}
		}