Sorry, I'm not sure what you mean by a whitelist to add players. You can add people to friends list with .friends add
For combat mods, any friends will not be attacked if "attack friends" is disabled.
Combat entity whitelists are within each mod. You click on where it says "Entities".