sampctl icon indicating copy to clipboard operation
sampctl copied to clipboard

Webhooks for server events

Open Southclaws opened this issue 7 years ago • 0 comments

This ties in to #20 but deserves its own issue.

Configurable web hooks for server events would make it easier to integrate apps and services with SA:MP.

Proposed events to trigger webhooks:

  • Player connects
  • Player disconnects
  • Server initialises
  • Server closes (restarts?)

The player events are tricky. One way of doing this would be to poll the server via the UDP interface but this solution feels pretty hacky and wasteful (a-la HTTP vs Websockets). See #112

Southclaws avatar Feb 19 '18 12:02 Southclaws