Sends nice Discord embeded messages when a new map record is set. The messages will look like this:
- Sourcemod and Metamod
- SurfTimer-Official (main project or Sad's fork)
- SM-RipExt
- Grab the latest release from the release page and unzip it in your sourcemod folder.
- Restart the server or type
sm plugins load SurfTimer-discord
in the console to load the plugin. - The config file will be automatically generated at
cfg/sourcemod/SurfTimer-discord.cfg
- In the config file, configure your Discord Webhook and your Steam API key (optional, you can get it here).
- You can modify the phrases in addons/sourcemod/translations/SurfTimer-discord.phrases.txt.
- Once the plugin has been loaded, you can modify the cvars in cfg/sourcemod/SurfTimer-discord.cfg.
- To use Discord mentions, follow this tutorial to get the role's ID and use
<@&role_id>
in the .cfg file. You can use@here
and@everyone
normally.
- You can use the
sm_ck_discordtest
command to test the messages.