Give me a summary of all important events in the novel, Treasure Island

Treasure Island is a classic adventure novel by Robert Louis Stevenson that tells the story of young Jim Hawkins, who gets caught up in a dangerous treasure hunt after finding a map to a hidden pirate treasure. Here is a summary of the key events in the novel:

1. Jim Hawkins discovers a map to the buried treasure of the infamous pirate Captain Flint in the sea chest of a dead buccaneer named Billy Bones.

2. Jim and his friends, including the squire Trelawney, Dr. Livesey, and the pirate Long John Silver, set sail on the ship the Hispaniola to find the treasure on Treasure Island.

3. Long John Silver, who is secretly the leader of a band of mutinous pirates, plans to steal the treasure for himself.

4. A battle ensues between the loyal sailors and the mutineers, resulting in the death of several crew members.

5. Jim discovers that Long John Silver is a traitor and joins forces with Dr. Livesey, Captain Smollett, and Ben Gunn, a former member of Flint's crew, to outwit the pirates.

6. The loyal crew members successfully defend the stockade and thwart the pirates' attempts to retrieve the treasure.

7. In the end, Long John Silver escapes with some of the treasure, while Jim and his friends enjoy the rest of the treasure and return home safely.

Overall, Treasure Island is a thrilling tale of adventure, betrayal, and friendship set against the backdrop of a treasure hunt on the high seas.