Stanley goes to Camp Green Lake and The Warden is the lady which people don't want oto mess with.
The curse that was set on the Yelnats and Camp Green Lake.
Stanley's great-great grandfather didn't carry madam Zeroni up the mountain to get a drink of water.
They reach God's Thumb and they eat the onions and drink the water that runs up hill and then Stanley sings the family song to Zero which then breaks the curse set on their family.
They dig one more hole and find Kate Barlow's treasure which had Stanley's name on it and breaks the curse set on the Camp. Then it finally rains in Camp Green Lake, so that curse was broken.
They get money from the treasure that they find and they give half of it to Zero so that he could find his mom. All the boys get out of camp and Zero finds his mom. Then the camp becomes a girl scouts camp.