Made database handling for EntityJoinEvent server-side only; fixed data path