mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
put a line between header and content of toml
This commit is contained in:
parent
208a41d45f
commit
db92f2867d
@ -54,7 +54,7 @@ void TConfig::CreateConfigFile(std::string_view name) {
|
|||||||
if (ofs.good()) {
|
if (ofs.good()) {
|
||||||
ofs << "# This is the BeamMP-Server config file.\n"
|
ofs << "# This is the BeamMP-Server config file.\n"
|
||||||
"# Help & Documentation: `https://wiki.beammp.com/en/home/server-maintenance`\n"
|
"# Help & Documentation: `https://wiki.beammp.com/en/home/server-maintenance`\n"
|
||||||
"# IMPORTANT: Fill in the AuthKey with the key you got from `https://beammp.com/k/dashboard` on the left under \"Keys\""
|
"# 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. Please open it and fill in your AuthKey and other settings, 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. Please open it and fill in your AuthKey and other settings, then restart the server. The old Server.cfg file will no longer be used and cause a warning if it exists from now on.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user