Sends nice Discord embeded messages when a new map record is set. The messages will look like this:
- Sourcemod and Metamod
- SurfTimer-Official
- SM-RipExt
The stage record feature will only work with the version 1.0.5 or above of the main project.
- Grab the latest release from the release page and unzip it in your sourcemod folder.
- Restart the server or type
sm plugins load SurfTimer-discordin 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@hereand@everyonenormally. - WARNING Discord no longer allows "everyone" and "here" as webhook names, nor the following substrings: "@", "#", ":", "```", "discord".
- You can use the
sm_ck_discordtestcommand to test the messages.