In standard BedWars, there is none — it is added by a plugin or data pack, so prices, resources, upgrades, and even team sizes vary by server. The core setup is the same: teams start on empty islands, each with a bed. As long as the bed is intact, a player who dies is revived; if the bed is broken, the next death is final. Resources from generators are spent at the vendor for blocks, weapons, and armor. The last team with living players wins.
What's on the server you're playing on—check the server rules or mode description. Below is what's independent of the server: the game's mechanics and rules of our data pack.