UNPKG

@quenty/softshutdown

Version:

This service lets you shut down servers without losing a bunch of players. When game.OnClose is called, the script teleports everyone in the server into a reserved server.

27 lines (20 loc) 1.1 kB
## SoftShutdown <div align="center"> <a href="http://quenty.github.io/NevermoreEngine/"> <img src="https://github.com/Quenty/NevermoreEngine/actions/workflows/docs.yml/badge.svg" alt="Documentation status" /> </a> <a href="https://discord.gg/mhtGUS8"> <img src="https://img.shields.io/discord/385151591524597761?color=5865F2&label=discord&logo=discord&logoColor=white" alt="Discord" /> </a> <a href="https://github.com/Quenty/NevermoreEngine/actions"> <img src="https://github.com/Quenty/NevermoreEngine/actions/workflows/build.yml/badge.svg" alt="Build and release status" /> </a> </div> This service lets you shut down servers without losing a bunch of players. When game.OnClose is called, the script teleports everyone in the server into a reserved server. <div align="center"><a href="https://quenty.github.io/NevermoreEngine/api/SoftShutdownService">View docs →</a></div> ## Installation ``` npm install @quenty/softshutdown --save ``` You can also just insert this free model into ServerScriptService. https://www.roblox.com/library/9976385594/Quentys-soft-shutdown