"Gratz" is simply internet slang, short for "congratulations."
You'll see it all over RuneScape and other online games when a player achieves something noteworthy, like leveling up or landing a rare drop. It's just a quick, friendly way of saying "well done."