1zc / SurfTimer-discord

A Discord notification plugin for SurfTimer with some SteamAPI integration

Home Page:https://discord.surftimer.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SurfTimer-discord

Downloads Last commit Open issues Closed issues Size GitHub Workflow Status

Description

Sends nice Discord embeded messages when a new map record is set. The messages will look like this:

Preview

Requirements

Note:

The stage record feature will only work with the version 1.0.5 or above of the main project.

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 SurfTimer-discord in the console to load the plugin.
  3. The config file will be automatically generated at cfg/sourcemod/SurfTimer-discord.cfg
  4. In the config file, configure your Discord Webhook and your Steam API key (optional, you can get it here).

Configuration

  • 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.

Usage

  • You can use the sm_ck_discordtest command to test the messages.

About

A Discord notification plugin for SurfTimer with some SteamAPI integration

https://discord.surftimer.dev/


Languages

Language:SourcePawn 99.6%Language:Pawn 0.4%