Payload's webhook plugin to send logs previews to channels
SourceMod plugin to allow sending logs.tf previews to a Discord channel through the Payload API.
- Sourcemod and Metamod
- SteamWorks and logstf .inc files (included in releases)
- Grab the latest release from the release page and unzip it in your sourcemod folder.
- Restart the server, or type
sm plugins load payload-webhook
in the console to load the plugin. - Grab your webhook token
- Set the convar
sm_payload_token
to the token gained above
You're set! You should now recieve logs.tf previews when logs.tf uploads a log successfully.
If you wish to disable the previews, you can set the sm_payload_send
convar to 0
. To test that the webhook works, you may use the command sm_payload_test
.
Any issues or questions should be posted on GitHub issues, where they can be more easily tracked. Feature requests are welcome!
You may back me on my Patreon. Direct sponsorship of this project can be discussed on Discord (24#7644) or by another medium.
Before contributing, please make sure no one else has stated against your proposal. Otherwise, make a Pull Request detailing your proposal and any relevant code changes.
This project is MIT licensed.