For glass you need non-lead based enamels, or glass stains (especially for glass or ceramic peices used for food)... ensure paints (enamels or glass stains/dyes) are food safe.
In general, Enamels work well on glass. Model Enamel, 1-Shot enamel, etc.. .most are not water soluable.. and therefore washing them is good. Keep in mind, any paint will eventually breakdown with high temperatures, so dishwashers will eventually cause your paints to flake.
Hope that helps.
May your world be painted in the Brightest of colors!
-Artist/Illustrator / Film/Media Designer & SFX MakeUp / Storyboard Artist
(All mediums; Conceptual Design, Costume Creation, to Application)