Releases: ServerMod/SCPDiscord
Beta 0.3.3-A
Bot update not required but has a few new improvements
Changelog:
Language:
- Updated 2018/09/13: russian.yml - by Realm
- Updated 2018/09/13: french.yml - by Barna
Bot:
- Can no longer try to send messages before connected to discord
- Now sends messages on bot shutdown and properly closes Discord connection before shutdown
- Improved startup and shutdown messages
Plugin:
- Updated to ServerMod 3.1.16
- OnHandCuffed temporarily removed until next Smod version
- Fixed exceptions on startup caused by trying to send messages before loading the language files
- Improved language error handling
- Fixed OnBan when banning through Discord or console
- Removed inputs variable from OnSCP914Activate
- Fixed OnInfect somehow, I think
- Added kickall command
Beta 0.3.2
Bot update required (No config change though)
Changelog:
-
Updated to ServerMod 3.1.15
-
Added event OnHandcuff
-
Added event OnPlayerTrigger
-
Added event OnSCP914ChangeKnob
-
Added event OnSetNTFUnitName
-
Fixed Discord formatting with player names
-
Fixed security issue with Discord commands
-
Hotfix: Fixed commands not passing on their arguments
Beta 0.3.1-B
UPDATE: You can use console commands from Discord with the last two builds, you just have to type them in all caps. Example: +ROUNDRESTART works just like restarting the round from the console.
Fixes a few bugs and language issues from the last version, I recommend you update the bot too but you only need to switch out the DiscordBot.js file there.
I'm only going to upload them as zip archives now, I assume no one cares and it takes some extra time to make both a tar.gz and a zip of both the bot and plugin each time.
Beta 0.3.1-A
Bot update required
(Second release, fixes bot activity, channel topic and status syncing)
Changelog:
-
Fixed false disconnection messages when using commands
-
Updated French language - Gaby
-
Updated Russian language - Realm
-
No longer includes reserved slots in player limit
-
Fixed a few language issues
-
Added start of using console commands through discord, needs an smod update to work.
-
Added backup language system, languages will now load any missing entries from the english version
-
Added plugin config entry:
discord_activity_playercount
-
Also removed some events with empty data.
Beta 0.3.0
BOT SERVER UPDATE REQUIRED
Changelog:
- Fixed team damage calculation.
- Added self damage and suicide specific messages, languages will need to be updated.
- Removed semicolons from strings going into the ban file.
- Added switch for discord permissions.
- Split up messages over 2000 chars.
- Added player count to bot activity.
- Changing bot status to indicate server status, off, empty and not empty.
- Properly shut down discord connection on exit.
- Added automatically updating channel topic with server variables.
- Added new bot config entry
requirepermission
. - Added new plugin config entries
discord_server_status
,discord_server_status_regex
anddiscord_server_status_channel
.
Language writers will have to add a few new messages, they can be found in english.yml
Beta 0.2.2
Bot does not need updating
Changelog:
-
Updated to ServerMod 3.1.12
-
Added Russian language - courtesy of Realm
-
Added French language - courtesy of Gaby
Beta 0.2.1
No bot update required since 0.2.0
Changelog:
- Updated to ServerMod 3.1.11 (Third release)
- Added plugin config settings:
discord_channel_onscenechanged
discord_channel_onmedkituse
discord_channel_onshoot
discord_channel_on106createportal
discord_channel_on106teleport
discord_channel_onelevatoruse
Beta 0.2.0
(Bot update is required)
Changelog
-
Completely rewritten plugin to support the new messages and language system. This version only includes English but more languages are coming shortly. To find out how you can make a language file, check out this page.
-
Added both YAML and JSON parsers for the new messages system. Language files are kept in
SCPDiscord_Languages/
in the default config directory. -
Added the
unban <steamid/ip>
command -
New plugin config entry:
discord_language
- Selects a language file for the Discord messages to use. -
New bot config entry:
"cooldown"
- The bot waits for this number of milliseconds between sending messages. -
Fixed many crashes and errors in both the bot and the plugin.
Beta 0.1.1
Bot server has not changed since 0.1.0
Changelog:
Updated to ServerMod 3.1.10 - This fixes some OnPlayerDie events when SCPs are involved.
Added new events:
discord_channel_onplayerinfected
discord_channel_onspawnragdoll
discord_channel_onlure
discord_channel_oncontain106
Beta 0.1.0
Updating the bot is required to use this new version of the plugin!
Changelog:
Added Two-way communication between plugin and bot server.
Messages that are sent to Discord at the same time are now merged.
Updated to ServerMod 3.1.9-B.
Improved a lot of messages in both discord and server console.
Added teamdamage and teamkilling messages for OnPlayerDie and OnPlayerHurt.
Fixed crashes in the bot server.
Fixed re-connection issues in both bot and plugin.
New plugin config entry:
discord_verbose: false
added.
Bot config has been changed a bit, I recommend you start with a fresh bot config to avoid issues:
port
renamed to listeningPort
.
verbose
added.
New Discord commands:
ban <steamid> <duration> (reason)
- Bans a player from the server.
kick <steamid>
- Kicks a player from the server.