Jim wants an adventure and is excited to find a treasure map in a chest his boss Mr. Johansen brings to their shop. They realize the chest must have belonged to Bluebeard the Pirate! They find a ship to take them to where X marks the spot, but the captain turns out to be Long John Silver, a pirate who steals the map and kicks them off his ship. But Jim had memorized the map, and on a raft they beat the pirate to the island and dig up the treasure. When the pirate comes ashore, Jim and Mr. Johansen board the ship and return home, where they live lives rich in treasure and adventure.