From afb3763eab690e795dd95adef08af7dc6284e161 Mon Sep 17 00:00:00 2001 From: "alex.ita" <153282308+AlexITA1100@users.noreply.github.com> Date: Wed, 14 Feb 2024 11:51:24 +0100 Subject: [PATCH 1/2] Update TConfig.cpp --- src/TConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TConfig.cpp b/src/TConfig.cpp index 2e39f3a..14c02e6 100644 --- a/src/TConfig.cpp +++ b/src/TConfig.cpp @@ -143,7 +143,7 @@ void TConfig::FlushToFile() { SetComment(data["Misc"][StrSendErrorsMessageEnabled.data()].comments(), " You can turn on/off the SendErrors message you get on startup here"); std::stringstream Ss; Ss << "# This is the BeamMP-Server config file.\n" - "# Help & Documentation: `https://wiki.beammp.com/en/home/server-maintenance`\n" + "# Help & Documentation: `https://docs.beammp.com/server/server-maintenance/`\n" "# IMPORTANT: Fill in the AuthKey with the key you got from `https://keymaster.beammp.com/` on the left under \"Keys\"\n" << data; auto File = std::fopen(mConfigFileName.c_str(), "w+"); From 87d2e3355a5d6fc813a9bd9e4f5ff484d7e57ea2 Mon Sep 17 00:00:00 2001 From: "alex.ita" <153282308+AlexITA1100@users.noreply.github.com> Date: Wed, 14 Feb 2024 11:56:02 +0100 Subject: [PATCH 2/2] Update Common.cpp --- src/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common.cpp b/src/Common.cpp index 300fc89..c2ac242 100644 --- a/src/Common.cpp +++ b/src/Common.cpp @@ -222,7 +222,7 @@ void Application::CheckForUpdates() { auto RemoteVersion = Version(VersionStrToInts(Response)); if (IsOutdated(MyVersion, RemoteVersion)) { std::string RealVersionString = std::string("v") + RemoteVersion.AsString(); - const std::string DefaultUpdateMsg = "NEW VERSION IS OUT! Please update to the new version ({}) of the BeamMP-Server! Download it here: https://beammp.com/! For a guide on how to update, visit: https://wiki.beammp.com/en/home/server-maintenance#updating-the-server"; + const std::string DefaultUpdateMsg = "NEW VERSION IS OUT! Please update to the new version ({}) of the BeamMP-Server! Download it here: https://beammp.com/! For a guide on how to update, visit: https://docs.beammp.com/server/server-maintenance/#updating-the-server"; auto UpdateMsg = Env::Get(Env::Key::PROVIDER_UPDATE_MESSAGE).value_or(DefaultUpdateMsg); UpdateMsg = fmt::vformat(std::string_view(UpdateMsg), fmt::make_format_args(RealVersionString)); beammp_warnf("{}{}{}", ANSI_YELLOW_BOLD, UpdateMsg, ANSI_RESET);