I'll soon be on a short break to catch up with school again. Working on one new version to be out before then.
SCPDiscord links features from your SCP:SL server console to Discord channels, such as printing out server events to Discord and using server commands through Discord. It is incredibly customisable as you can read more about below.
I was going to wait with making this plugin until SCP:SL updates to .NET 4.6 from the current .NET 3.5 but apperently that has been delayed (indefinitely?). This means I can't use a C# Discord API directly from the plugin and thus have to seperate it into two different programs.
They send messages along like this: SCPDiscordPlugin -> SCPDiscordBot -> Discord Channel
-
Ability to log any ServerMod event to Discord. All are optional and can be toggled individually.
-
Complete multi-channel support letting you post different events to different channels. All can be individually re-routed.
-
Support for MultiAdmin managed servers, each sub-server can post to the same channel, different channels or even different bots and different Discord servers.
-
You can for instance have one public channel for each of your servers where things like player joins, kills, round starts and round ends are posted. You could then add one channel for each server visible only to moderators, showing things like admin actions and logging who attacks who on each server to check for teamkillers.
-
Ability to use different commands through Discord, currently kick, ban and unban. To my knowledge this is the only plugin that currently offers banning offline players, so hackers leaving as soon as they see an admin coming on is no longer an issue. It is also the only plugin I'm aware of that lets you unban players.
-
The ability to completely customise every single message from the plugin and use different languages. More info here.
-
Player count is displayed in the bot activity field. The bot's status changes from dnd when the scp server is on but the bot server is on, away when there are no players on a server and online when a server has players.
-
An auto-updating channel topic with information such as number of players, server uptime, ip and gameplay information.
It will be possible to sync ranks from discord to the game, letting you automate things like patreon rewards and moderator positions.
Check out the Wiki tab for all guides on installation and configs.
Command usage:
setavatar <url>/<path>
- Sets the avatar picture for your bot. (Administrator permission in Discord required)
Variables:
<url>/<path>
- Either a local path or url to an image to set as your bot's avatar.
Command usage:
ban <steamid> <duration> (reason)
- Bans a player from the server. (Ban permission in Discord required)
Variables:
-
<steamid>
- The SteamID of the player to be banned. -
<duration>
- The duration of the ban, time formatting info below. -
(reason)
- Optional reason for the ban.
Example: +ban 76561138022363616 4d Bad man.
Bans the player for four days with the reason "Bad man."
Command usage:
unban <steamid/ip>
- Unbans a player from the server. (Ban permission in Discord required)
Variables:
<steamid/ip>
- The SteamID or IP of the player to be unbanned.
Command usage:
kick <steamid> (reason)
- Kicks a player from the server. (Kick permission in Discord required)
Variables:
<steamid>
- The SteamID of the player to be kicked.(reason)
- Optional reason for the ban.
Command usage:
kickall (reason)
- Kicks all players from the server with a message, useful for server shutdowns. (Kick permission in Discord required)
Variables:
(reason)
- Reason to be displayed to all players kicked.
Command usage:
Enter the console command starting with your command prefix. Example with command prefix +
: +roundrestart
(Administrator permission in Discord required).
Time is expressed in the format NumberUnit where unit is a unit of time and number is the amount of that time unit, for example 6M represents six months.
Valid time units:
-
s
- Seconds -
m
- Minutes -
h
- Hours -
d
- Days -
w
- Weeks -
M
- Months -
y
- Years