Custom interface to display when the server crashes or the client loses connection
.github/workflows | ||
lua | ||
materials/icons | ||
resource/fonts | ||
.gitignore | ||
LICENSE | ||
README.md |
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 tohttps://nanny.cfcservers.org/cfc3-ping
.
Is expected to return a JSON table containing astatus
key, which will beserver-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 to180
cfc_disconnect_interface_game_url
- (String) The url to the dinosaur game.
Defaults tohttps://cdn.cfcservers.org/media/dinosaur/index.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.