This commit is contained in:
Lion Kortlepel 2021-06-23 17:01:54 +02:00
parent c82c53e3d1
commit 77f6e9f842
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -68,7 +68,7 @@ void TConfig::CreateConfigFile(std::string_view name) {
"# IMPORTANT: Fill in the AuthKey with the key you got from `https://beammp.com/k/dashboard` on the left under \"Keys\"\n" "# IMPORTANT: Fill in the AuthKey with the key you got from `https://beammp.com/k/dashboard` on the left under \"Keys\"\n"
<< '\n'; << '\n';
ofs << tbl << '\n'; ofs << tbl << '\n';
error("There was no \"" + std::string(ConfigFileName) + "\" file (this is normal for the first time running the server), so one was generated for you. It was automatically filled with the settings from your Server.cfg, if you have one. Please open ServerConfig.toml and ensure your AuthKey and other settings are filled in and correct, then restart the server. The old Server.cfg file will no longer be used and cause a warning if it exists from now on."); error("There was no \"" + std::string(ConfigFileName) + "\" file (this is normal for the first time running the server), so one was generated for you. It was automatically filled with the settings from your Server.cfg, if you have one. Please open ServerConfig.toml and ensure your AuthKey and other settings are filled in and correct, then restart the server. The old Server.cfg file will no longer be used and causes a warning if it exists from now on.");
mFailed = true; mFailed = true;
} else { } else {
error("Couldn't create " + std::string(name) + ". Check permissions, try again, and contact support if it continues not to work."); error("Couldn't create " + std::string(name) + ". Check permissions, try again, and contact support if it continues not to work.");