@SuppressWarnings("unchecked")
	@EventHandler
	public void onPlayerDeath(EntityDeathEvent e){
		if(e instanceof PlayerDeathEvent){
			if(this.plugin.getConfig().getBoolean("show_death") && !this.privatePlayers.contains(e.getEntity()) ){
				JSONObject json	=	new JSONObject();
				json.put("message",((PlayerDeathEvent) e).getDeathMessage());
				json.put("time",new Date().toString());
				json.put("player","Humiliator");
				json.put("source", "in");
				this.plugin.getFileMan().write(this.plugin.chatFile(), json);
			}
		}
	}