All these things happened either before he went to Neverland or when he was doing deliveries for Pan.
They also have the option to do Hook flashbacks during the missing year. There was that extended period of time following when he re-took the Jolly Roger from Blackbeard, but before he traded his ship back to Blackbeard to get back to the Land Without Magic.