This uses an async function with setTimeout to automatically remove old servers after the timeout specified in config.ini
This is useful when the game server crashes, comes back online, and attempts to re-add itself to the master server before a player is able to call /list.
Before this was added, the server would never be able to add itself to the master server unless it called /list because the master server would give an error about a conflicting IP. This still happens until the master server automatically prunes old servers but once that happens, the game server will get added and will be shown to the player the next time they call /list
Probably not everyone will need this but the branch exists on my fork for anyone who does if this PR isnt merged.
This uses an async function with setTimeout to automatically remove old servers after the timeout specified in config.ini
This is useful when the game server crashes, comes back online, and attempts to re-add itself to the master server before a player is able to call /list.
Before this was added, the server would never be able to add itself to the master server unless it called /list because the master server would give an error about a conflicting IP. This still happens until the master server automatically prunes old servers but once that happens, the game server will get added and will be shown to the player the next time they call /list
Probably not everyone will need this but the branch exists on my fork for anyone who does if this PR isnt merged.