Skip to content

SourceCord v1.0.1

Choose a tag to compare

@johnqherman johnqherman released this 10 Sep 17:25
· 44 commits to master since this release

🚨 Breaking Changes

Config System Overhaul

  • Removed all credential ConVars:

    • sc_bot_token, sc_channel_id, sc_guild_id, sc_webhook_url, and sc_steam_key no longer exist
  • New KeyValues config system:

    • Credentials are now stored separately in addons/sourcemod/configs/sourcecord.cfg

⚠️ Required Action for Server Admins

The plugin will automatically create the new config file template. You just need to:

  1. Load the plugin
    It will auto-create addons/sourcemod/configs/sourcecord.cfg with the template.

  2. Edit the auto-created file with your actual credentials:

    • Replace empty bot_token with your Discord bot token
    • Replace empty channel_id with your Discord channel ID
    • Replace empty guild_id with your Discord guild ID
    • Replace empty webhook_url with your Discord webhook URL
    • Replace empty api_key with your Steam API key
  3. Restart the plugin:

    sm plugins reload sourcecord
    
  4. (Optional) Remove credential ConVars:
    Remove old credential ConVar entries from your server’s cfg files 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