Rewrite and fix EssentialsHandler