Custom interface to display when the server crashes or the client loses connection
Go to file
2024-06-01 08:24:29 -07:00
.github/workflows Add glualint workflow (#21) 2022-09-26 10:12:16 -07:00
lua Update dino url 2024-02-08 13:37:03 -08:00
materials/icons Redesign 2019-12-23 01:33:12 +00:00
resource/fonts Initial commit 2019-12-15 03:14:30 +00:00
.gitignore Styling fixes + add gitignore 2020-12-23 22:49:00 -08:00
LICENSE Update LICENSE 2019-05-28 10:38:13 -07:00
README.md Update README.md 2024-06-01 08:24:29 -07:00

cfc_disconnect_interface

Custom interface to display when the server crashes or the client loses connection
You get to play the Dinosaur Game from Google Chrome!

Requirements

Convars (Server-side)

  • cfc_disconnect_interface_status_endpoint - (String) The url that will be pinged to check server status.
    Defaults to https://nanny.cfcservers.org/cfc3/ping.
    Is expected to return a JSON table containing a status key, which will be server-is-up when the server is running.
    {
    	"status": "server-is-up"
    }
    
  • cfc_disconnect_interface_restart_time - (Int) The number of seconds that will be displayed as the average restart time for the server.
    Defaults to 180
  • cfc_disconnect_interface_game_url - (String) The url to the dinosaur game.
    Defaults to https://loading.cfcservers.org/dino.html

Commands (Client-side)

  • cfc_disconnect_interface_test_crash - Mimics the server crashing, showing the interface.
  • cfc_disconnect_interface_test_nointernet - Mimics your internet disconnecting, showing the interface.
  • cfc_disconnect_interface_test_restart - Mimics the server restarting, allowing you to reconnect.
  • cfc_disconnect_interface_test_recover - Mimics the server fully recovering, closing the interface.