So what you need is a way to run two server instances and to bounce the connected client to the second server. You'll need two configuration files on the host machine, probably two copies of the minetestserver binary, each with its own config file. (Or a fork server but that's even more complicated)...