Resilience through cooperation: With or without multilateral consensus