Repository navigation
SourceCord v1.0.1
🚨 Breaking Changes
Config System Overhaul
-
Removed all credential ConVars:
sc_bot_token,sc_channel_id,sc_guild_id,sc_webhook_url, andsc_steam_keyno longer exist
-
New KeyValues config system:
- Credentials are now stored separately in
addons/sourcemod/configs/sourcecord.cfg
- Credentials are now stored separately in
⚠️ Required Action for Server Admins
The plugin will automatically create the new config file template. You just need to:
-
Load the plugin
It will auto-createaddons/sourcemod/configs/sourcecord.cfgwith the template. -
Edit the auto-created file with your actual credentials:
- Replace empty
bot_tokenwith your Discord bot token - Replace empty
channel_idwith your Discord channel ID - Replace empty
guild_idwith your Discord guild ID - Replace empty
webhook_urlwith your Discord webhook URL - Replace empty
api_keywith your Steam API key
- Replace empty
-
Restart the plugin:
sm plugins reload sourcecord
-
(Optional) Remove credential ConVars:
Remove old credential ConVar entries from your server’scfgfiles to avoid confusion.These entries are no longer used:
sc_bot_token sc_channel_id sc_guild_id sc_webhook_url sc_steam_key
What's Changed
- Configuration system separated into operational settings (ConVars) and sensitive credentials (auto-created KeyValues file)
- Enhanced cache cleanup and error handling
- Version bump to v1.0.1