sampctl
sampctl copied to clipboard
Webhooks for server events
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