Skip to content

CFC-Servers/cfc_restart_alerter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFC Restart Alerter

Alerts to a URL when the server has restarted

Purpose

We needed a way to send an alert to Discord when the server has fully restarted and is ready to join, doing it from within the game was the best option.

Usage

Setup

First, you'll need to have a backend server that does something with this HTTP request. We have a simple web server that receives this requesst and fires off a Discord webhook, but you can do anything you'd like!

Next, you'll need to put the URL of your endpoint in garrysmod/data/cfc/restart_alerter_endpoint.txt (i.e. http://localhost:2100/my/endpoint)

And that's it! When your server restarts, it'll send an HTTP POST request to the endpoint you defined.

About

Alerts to a URL when the server has restarted

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors

Languages