Text this: Deconfinement transitions in a generalised XY model