Maintenance Message - noobscode/Game-Server-Website GitHub Wiki

  • In your root directory there is a file called maintenance.txt, if you put anything inside the file it will automaticly change from the "All good" box to "Up comming maintenance" and echo the output of maintenance.txt.

  • You can populate the file with just plain text or code if you'd like.

  • This maintenance alert has several functions: Fully disable, hide if maintenance.txt is empty only displaying the yellow warning if there is an upcomming maintenance.

You can change the default text in modules/maintenance.php

GSW Maintenance