This plugin generates non-repeating integers within a given range, and will cycle with a given threshold to not repeat within that threshold.
I'm not aware of any problems.