View Single Post
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 05-19-2019 , 04:17   Re: [Discord] Server crash (Accelerator)
Reply With Quote #5

Quote:
Originally Posted by CrazyHackGUT View Post
In core.cfg we have ability change address to Accelerator web, where all crashes will be placed. For this, Accelerator uses config key MinidumpUrl.

Code:
/**
* This file is used to set various options that are important to SourceMod's core.
* If this file is missing or an option in this file is missing, then the default values will be used.
*/
"Core"
{
    "Logging"        "on"
    // ...
    "MinidumpAccount"                "7656xxxxxxxxxxxxx"
    "MinidumpUrl"                    "https://crash.limetech.org/submit"
}
I know two peoples, who self-hosts Accelerator web for own usage in server local subnet.
But in this plugin, you hardcoded url for message in Discord - in Source Code. Maybe you should respect these users, who self-hosts Accelerator web, and get address dynamically from core.cfg?
Added. Also added text configuration for "Server crash" text, which means no hardcoded text in content anymore.
__________________
iGANGNAM is offline