A shell script to restart BungeeCord running on Screen.
- Execute alert command on 10m, 5m, 1m, 30s, 10s, 5s, 4s, 3s, 2s, 1s.
- Execute the start script of the directory after executing the command end.
The script executes /end command after 10 minutes and 2 seconds. Therefore, we recommend that you run the script 10 minutes before the time you want to restart.
If you use it, be sure to edit it according to your own server.