Consider a daytime party. No alcohol or other drugs. No leaving, then returning to the party. No gate crashers allowed. Lights will be left on.
Some rooms are off limits.
Be visible and aware. You are legally responsible for anything that may happen to a minor who has been served drugs or alcohol in your home. Invite another parent or couple as company for you during a long evening, and to help if there are any problems. When parents deliver their teens to your house, invite them in to get acquainted, if only briefly. When your teen is going to a party.