In the plumbing of a swamp cooler, a brass or copper valve is commonly used. This type of valve is known for its durability and resistance to corrosion, making it an excellent choice for water-intensive appliances like swamp coolers.