How to keep up a server

Ok so i want to be able to keep up a server even when there are no players in it. It still will shut down after 20 minutes of idle but until then, you should be able to rejoin

5 Likes

not possible, people would abuse this by creating a ton of empty servers which would possibly make roblox servers overload

4 Likes

have like a bot? the one that moves around in circles. then trap it in a box.

2 Likes

wouldnt work, it needs to be a real player unless you want to use an alt account and exploits for every single server then go ahead

2 Likes

i saw and scambots do this, i believe this is macro. for everysingle server, i could say it could be 100 sized servers so it can limit the amount of accounts needed to run per server.

you see, scambots work remotely because if they weren’t, there would be real humans trying to control and spam these links and that would be a disgrace, so they made a computer do it instead

2 Likes

scambots is a different thing, you dont need each for every server the game has lowering the pc resources they need and they use exploits to join different servers and send the message

2 Likes

Maybe use this:

game:BindToClose(function()
    task.wait(20*60)--20 minutes
end)
2 Likes

Functions bound to close will be forcefully stopped after 30 seconds anyway.

The only way to do this would be to have a bot in the server.

5 Likes

The only thing that comes to mind is using game:BindToClose to extend the server lifetime to a maximum 30 more seconds after the last player leaves. Also if you want to prevent the last player from leaving by being afk you can teleport them back in at a fixed interval(for example every 15 minutes), this will stop the server from getting shutdown assuming you use the 30 second trick and the client loads in quickly enough. Also if you want to stop most players from leaving(which I do not recommend since it may break the ToS) you can use the event GuiService.MenuOpened to detect when their core Roblox menu opens(in case they want to leave through the menu).

1 Like

doesnt most players leave through the window close button though

1 Like

Just use UserSettings().GameSettings:InFullScreen() in combination with checking if the player mouse(that you can get through player:GetMouse()) X, Y coordinates are near or are moving towards the top right of the screen.

2 Likes