Implementation of ROT.JS (Roguelike Toolkit) for C3Runtime.
I haven't looked at the plugin, but generally, with randomly-generated maps, you can remember the seed that the map was generated from. If you use the same seed later, you get the same map.