Release 3.2.0
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>
toscpd <command>
, courtesy of @Bay62. - Removed verbose command.
- Added new
emotes.yml
andemote-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
, andplaytime.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
andonplayerreport
. Checkoverrides.yml
for an example
on how to make in-game player reports ping your staff in Discord.
Pull Requests
- New Command System by @Bay62 in #98
- Updated CI for the new server by @KarlOfDuty in #112
- Add italian localisation by @Bay62 in #118
- New 3.2.0 features by @KarlOfDuty in #123
- Update ukrainian.yml by @n3k0q in #147
New Contributors
- @Bay62 made their first contribution in #98
- @KarlOfDuty (?????) made their first contribution in #112
- @n3k0q made their first contribution in #147
Full Changelog: 3.1.4...3.2.0