Skip to content

Releases: KarlOfDuty/SCPDiscord

Release 3.2.2

26 Oct 21:04
6a333b9
Compare
Choose a tag to compare

Hotfix 2024-10-26:

  • Reverted Discord API update, it caused issues with commands.
  • Fixed an issue where some bot commands were unable to find players.

Changelog

This release is mostly focused on performance improvements, and also adds a Brazilian Portuguese translation.

  • Made performance improvements in message handling.
  • Added Brazilian Portuguese, courtesy of @Firething.
  • Added list of languages on startup with translation percentages.
  • Removed several events that are not very useful.
  • Removed several events with a high performance impact.
  • Fixed issue where spawn points get messed up (again).
  • Added metadata such as the version to the DLL which can be viewed on Windows using the Explorer file properties.
  • Added git commit hash to the bot version and added build time to the bot's --version arguments.
  • Improved handling of missing message config entries.
  • Updated Discord API.

Pull Requests

New Contributors

Full Changelog: 3.2.1...3.2.2

Release 3.2.1

23 Jul 22:58
5a42780
Compare
Choose a tag to compare

Hotfix 2024-07-29 16:00 UTC:
(Only the plugin dll is updated)

  • Fixed incorrectly shown error message spam in console.
  • Fixed another incorrect error message in console.
  • Fixed config validator always showing even when turned off.
  • Fixed issue where the player count would show 0/0 until a player joins after server startup on some servers.

Changelog

    onplayeraim: []
    onplayercancelusingitem: []
    onplayerchangeitem: []
    onplayerchangespectator: []
    onplayerdamageshootingtarget: []
    onplayerdamagewindow: []
    onplayerdryfireweapon: []
    onplayerreceiveeffect: []
    onmapgenerated: []
    onitemspawned: []
    onplaceblood: []
    onplayerinteractlocker: []
    onplayerinteractshootingtarget: []
    oninteract330: []
  • Added log file option to plugin config. If enabled it will write all log messages to file regardless of log level set in the config.
  • Added more debug logging, all interactions between the bot and plugin are now logged.
  • Added sendmessage console command to allow plugins/players to send manual messages to discord.
  • Fixed russian translation, courtesy of @scpsltest.
  • Improved time definition for ban/mute commands. One can now use multiple time units in the same command such as 2d3h5m, courtesy of @TouDead.
  • Fixed some parts of rolesync still being active when the rolesync system is turned off.
  • Fixed debug messages during plugin startup even if debug was off.
  • Updated and fixed a lot of log messages.
  • Fixed exception when players leave.
  • Various fixes to config validator.
  • Load config earlier so fewer systems are started if the config is invalid.
  • Fixed exception sometimes occurring in the time tracking system.
  • Fixed exceptions sometimes occurring in the rolesync system.
  • Fixed possible exceptions in steamid and ip filtering.
  • Fixed unmute command triggering a mute event instead of an unmute event.
  • Fixed exceptions sometimes occurring when the server hasn't correctly loaded reserved slots.
  • Added some more steamid validation in the bot before sending commands to the plugin.
  • Added more metadata to bot packets which can be used in the language files to show information about the discord users running commands.

Pull Requests

New Contributors

Full Changelog: 3.2.0...3.2.1

Release 3.2.0

03 Mar 23:25
ab1c0af
Compare
Choose a tag to compare

Changelog

BREAKING CHANGES

The config files for the plugin and bot have had some major changes, it is recommended that you set them up again from scratch.

The rolesync file format has changed. The file format will be updated automatically on startup, but if you have
other servers running an older version of SCPDiscord they will no longer be able to parse the file.

This also means if you upgrade to 3.2.0 you cannot go back to a lower version without either resetting the rolesync file or manually changing the format back. It is recommended to make a backup of the rolesync file before installing this update.

If you currently provide the config file as an argument to the bot you will have to edit it to use the new named parameter: SCPDiscordBot --config <config file> instead of SCPDiscordBot <config file> as it was before.

General

  • Updated bot to .NET 8.0
  • Started providing two editions of the bot, the self contained version previously available and a
    framework dependent one which requires you to have dotnet-8.0 installed on your system. The advantage of the standard version is that it is much smaller in file size.
  • Added new bot commands: mute, unmute, playerinfo, listsynced. All of these work on both online and offline players.
  • Added mute system to handle temporary mutes and syncing mutes between servers.
  • Added playtime system to track how long players have played the server. Has multi-server support.
  • Moved SCPDiscord server commands to the official sub-command system which changes them from scpd_<command> to scpd <command>, courtesy of @Bay62.
  • Removed verbose command.
  • Added new emotes.yml and emote-overrides.yml files to handle message emotes.
  • Made bot status and activity/presence more customisable.
  • Reworked how player information is added in the language system, requiring much less code.
  • Made rolesync.json, mutes.json, and playtime.json auto-reload when changed, in order to sync better with multiple servers.
  • Major code refactoring to simplify several systems in the bot and plugin.
  • Added new command line argument parser, and added command line arguments: --leave, --config and --help.

Bot config

  • Added status type configuration.
  • Added the Custom presence type, and set it as default.
  • Changed default presence text.
  • Added option to disable bot commands.

Plugin config

  • Added settings for bot activity and status, the actual text can be overridden in the language system.
  • Added Italian language support, courtesy of @Bay62.
  • Moved emotes to a separate option rather than a language variant.
  • Removed verbose option, switched those messages to normal or debug messages.
  • Added setting for turning playtime tracking on and off.
  • Added settings to auto-reload reserved slots and whitelist files (Experimental).
  • Updated default rolesync commands.
  • Added option to invert steamid and ip filters, making them whitelists instead of blacklists.
  • Added new events: onplayercheaterreport and onplayerreport. Check overrides.yml for an example
    on how to make in-game player reports ping your staff in Discord.

Pull Requests

New Contributors

Full Changelog: 3.1.4...3.2.0

Release Candidate 3.2.0-RC3

21 Feb 22:08
33547f3
Compare
Choose a tag to compare
Pre-release

Changelog

  • Fixed variables in escape and ban messages
  • Split ban response message into online and offline bans
  • Split config filter inverts, filters section looks like this now:
channelsettings:
    # Removes online players' IPs/SteamIDs from discord messages in specific channels, use the channel aliases from above.
    # Warning: This only works on online players, so may fail on player disconnect related events
    filterips: [ "staff" ]
    filtersteamids: []

    # If true only the messages in the channels above are filtered,
    # if false all messages except the ones in the above channels are filtered.
    invertipfilter: true
    invertsteamidfilter: false

Only the plugin library was updated, you don't have to update the bot or dependencies.

Full Changelog: 3.2.0-RC2...3.2.0-RC3

Release Candidate 3.2.0-RC2

15 Feb 21:29
49854b4
Compare
Choose a tag to compare
Pre-release

Changelog

  • Fixed an issue where if the playtime is not available most messages fail to send in the plugin

Only the plugin library was updated, you don't have to update the bot or dependencies.

Full Changelog: 3.2.0-RC1...3.2.0-RC2

Release Candidate 3.2.0-RC1

14 Feb 20:10
477fcec
Compare
Choose a tag to compare
Pre-release

Changelog 3.2.0-RC1

NOTICE

The config files for the plugin and bot have had some major changes, it is recommended that you set them up again from scratch.

The rolesync file format has changed. The file format will be updated automatically on startup, but if you have
other servers running an older version of SCPDiscord they will no longer be able to parse the file.

This also means if you upgrade to 3.2.0 you cannot go back to a lower version without either resetting the rolesync file or changing the format back.

It is recommended to make a backup of the rolesync file before installing this update.

General

  • Updated bot to .NET 8.0
  • Started providing two editions of the bot, the self contained version previously available and a
    framework dependent one which requires you to have dotnet-8.0 installed on your system.
  • Added new bot commands: mute, unmute, playerinfo, listsynced. All of these work on both online and offline players.
  • Added mute system to handle temporary mutes and syncing mutes between servers.
  • Added playtime system to track how long players have played the server. Has multi-server support.
  • Moved SCPDiscord server commands to the official sub-command system which changes them from scpd_<command> to scpd <command>, courtesy of @Bay62.
  • Removed verbose command.
  • Added new emotes.yml and emote-overrides.yml files to handle message emotes.
  • Made bot status and activity/presence more customisable.
  • Reworked how player information is added in the language system, requiring much less code.
  • Made rolesync.json, mutes.json, and playtime.json auto-reload when changed, in order to sync better with multiple servers.
  • Major code refactoring to simplify several systems in the bot and plugin.

Bot config

  • Added status type configuration.
  • Added the Custom presence type, and set it as default.
  • Changed default presence text.
  • Added option to disable bot commands.

Plugin config

  • Added settings for bot activity and status, the actual text can be overridden in the language system.
  • Added Italian language support, courtesy of @Bay62.
  • Moved emotes to a separate option rather than a language variant.
  • Removed verbose option, switched those messages to normal or debug messages.
  • Added setting for turning playtime tracking on and off.
  • Added settings to auto-reload reserved slots and whitelist files (Experimental).
  • Updated default rolesync commands.
  • Added option to invert steamid and ip filters, making them whitelists instead of blacklists.
  • Added new events: onplayercheaterreport and onplayerreport. Check overrides.yml for an example
    on how to make in-game player reports ping your staff in Discord.

New Contributors

Full Changelog: 3.1.4...3.2.0-RC1

Release 3.1.4

28 Oct 22:57
7f0d3a8
Compare
Choose a tag to compare

Changelog

  • Updated to match new game version 13.3.0
  • Added simplified-chinese translation courtesy of @FXDYJ
    Bot is identical to previous release, you do not need to update it if you already have 3.1.3.

What's Changed

New Contributors

  • @FXDYJ made their first contribution in #93

Full Changelog: 3.1.3...3.1.4

Release 3.1.3

02 Sep 13:19
f47da05
Compare
Choose a tag to compare

Changelog

  • Updated NWAPI for the plugin
  • Updated Discord API for the bot
  • Added some fixes for some moderation events when using cedmod, please open issues if there are any more

Full Changelog: 3.1.2...3.1.3

Release 3.1.2

03 Jul 21:12
6f255a8
Compare
Choose a tag to compare

Changelog

  • Updated plugin to 13.1.0.
  • Added the muting/unmuting player to mute/unmute events.
  • Updated Discord API version in the bot.
  • Fixed /list formatting, courtesy of @SirNanos.
  • Some documentation updates.
  • Fixed a spawn bug which affects some servers.
  • Removed old prefix from bot config, you will have to remove it from your own config as well.

What's Changed

New Contributors

Full Changelog: 3.1.1...3.1.2

Release Candidate 3.1.2-RC2

25 Jun 22:24
ce207d3
Compare
Choose a tag to compare
Pre-release

Changelog

  • Fixed some language things I forgot in the previous RC

Spawn position issues

Some servers have a bug where the RoleChange event breaks player spawning. This version of the plugin has that event disabled: Patched Version

Full Changelog: 3.1.2-RC1...3.1.2-RC2