There are two companies, Jadrolinija and Krilo ticket shops are ~150m one from another. In Split you can buy tickets only on the day of departure and in Hvar you can buy tickets a day before. Beware, sometimes tickets can be sold out even a day before in 7.30h in morning !!.