-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
874 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
# SurfTimer-discord | ||
|
||
|
||
![Downloads](https://img.shields.io/github/downloads/Sarrus1/SurfTimer-discord/total?style=flat-square) ![Last commit](https://img.shields.io/github/last-commit/Sarrus1/SurfTimer-discord?style=flat-square) ![Open issues](https://img.shields.io/github/issues/Sarrus1/SurfTimer-discord?style=flat-square) ![Closed issues](https://img.shields.io/github/issues-closed/Sarrus1/SurfTimer-discord?style=flat-square) ![Size](https://img.shields.io/github/repo-size/Sarrus1/SurfTimer-discord?style=flat-square) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Sarrus1/SurfTimer-discord/Compile%20with%20SourceMod?style=flat-square) | ||
|
||
## Description ## | ||
## Description | ||
|
||
Sends nice Discord embeded messages when a new map record is set. | ||
The messages will look like this: | ||
|
||
![Preview](https://raw.githubusercontent.com/Sarrus1/SurfTimer-discord/master/img/desc.png) | ||
|
||
## Requirements | ||
|
||
## Requirements ## | ||
- Sourcemod and Metamod | ||
- [SurfTimer-Official (Sad's Fork)](https://github.com/qawery-just-sad/Surftimer-Official) | ||
- [SMJansson](https://forums.alliedmods.net/showthread.php?t=184604) | ||
- [SteamWorks](https://forums.alliedmods.net/showthread.php?t=229556) | ||
|
||
## Installation | ||
|
||
## 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 in cfg/sourcemod/ | ||
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](https://steamcommunity.com/dev/apikey)). | ||
|
||
## Configuration | ||
|
||
## 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. | ||
|
||
## Usage | ||
|
||
## Usage ## | ||
- You can use the `sm_ck_discordtest` command to test the messages. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.