Updated VanishEvent to use new custom event API