mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 22:23:03 +00:00
Made Config private by default
This commit is contained in:
+2
-2
@@ -112,7 +112,7 @@ void GenerateConfig() {
|
|||||||
FileStream.open(Sec("Server.cfg"));
|
FileStream.open(Sec("Server.cfg"));
|
||||||
FileStream << Sec("# This is the BeamMP Server Configuration File v0.60\n"
|
FileStream << Sec("# This is the BeamMP Server Configuration File v0.60\n"
|
||||||
"Debug = false # true or false to enable debug console output\n"
|
"Debug = false # true or false to enable debug console output\n"
|
||||||
"Private = false # Private?\n"
|
"Private = true # Private?\n"
|
||||||
"Port = 30814 # Port to run the server on UDP and TCP\n"
|
"Port = 30814 # Port to run the server on UDP and TCP\n"
|
||||||
"Cars = 1 # Max cars for every player\n"
|
"Cars = 1 # Max cars for every player\n"
|
||||||
"MaxPlayers = 10 # Maximum Amount of Clients\n"
|
"MaxPlayers = 10 # Maximum Amount of Clients\n"
|
||||||
@@ -126,7 +126,7 @@ void GenerateConfig() {
|
|||||||
void Default() {
|
void Default() {
|
||||||
info(Sec("Config not found generating default"));
|
info(Sec("Config not found generating default"));
|
||||||
GenerateConfig();
|
GenerateConfig();
|
||||||
warn(Sec("You are required to input the AuthKey"));
|
error(Sec("You are required to input the AuthKey"));
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(3));
|
std::this_thread::sleep_for(std::chrono::seconds(3));
|
||||||
_Exit(0);
|
_Exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user