Looking over the code it does not appear to actually do anything.
If you want something like this check out https://pterodactyl.io/
It has pre-built support for like 100 games: https://github.com/pterodactyl/game-eggs