Skip to content

Release 3.2.0

Compare
Choose a tag to compare
@KarlOfDuty KarlOfDuty released this 03 Mar 23:25
ab1c0af

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