If your running a dedi mini game does /endminigame work 4 it?
Do not use his minigame script, because it does not work, not even close.
The one I linked you to has RTB options to configure it, or you can just edit the script yourself.
The minigame will start when the dedi server starts.