Today, I'll upload my Dungeon gate scripts.
What you need to do is just insert this script to your Script folder
([Server]/Scripts/Custom/ is best place to insert)
and reboot your server.
After that, you need to use [DungeonMoonGen command to generate Red Dungeon Moon Gates.
Isn't it simple?
Each place have prices that player must pay to uset the gate.
But, if you want to change costs, Goto Line.228 in DungeonGate.cs and change the prices.
Maybe you'll modify this script for your server