Skip to content

payload-bot/payload-logs-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payload.tf logo

payload-logs-plugin

Payload's webhook plugin to send logs previews to channels

Downloads Last commit Open issues Closed issues Size GitHub Workflow Status

Description

SourceMod plugin to allow sending logs.tf previews to a Discord channel through the Payload API.

Requirements

  • Sourcemod and Metamod
  • SteamWorks and logstf .inc files (included in releases)

Installation

  1. Grab the latest release from the release page and unzip it in your sourcemod folder.
  2. Restart the server, or type sm plugins load payload-webhook in the console to load the plugin.
  3. Grab your webhook token
  4. 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.

Issues, Questions

Any issues or questions should be posted on GitHub issues, where they can be more easily tracked. Feature requests are welcome!

Support this Project

You may back me on my Patreon. Direct sponsorship of this project can be discussed on Discord (24#7644) or by another medium.

Contributing

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.

Useful Links

License

This project is MIT licensed.