chore(config): Improve dist files (#3989)

This commit is contained in:
Francesco Borzì
2020-12-24 00:13:35 +01:00
committed by GitHub
parent bc51fbf3f4
commit fdc3fc962e
3 changed files with 15 additions and 11 deletions

View File

@@ -34,6 +34,7 @@
# Description: Logs directory setting.
# Important: LogsDir needs to be quoted, as the string might contain space characters.
# Logs directory must exists, or log file creation will be disabled.
# Example: "/home/youruser/azeroth-server/logs"
# Default: "" - (Log files will be stored in the current path)
LogsDir = ""
@@ -105,7 +106,7 @@ DebugLogMask = 64
#
# SQLDriverLogFile
# Description: Log file for SQL driver events.
# Example: "SQLDriver.log" - (Enabled)
# Example: "AuthSQLDriver.log" - (Enabled)
# Default: "" - (Disabled)
SQLDriverLogFile = ""
@@ -256,7 +257,7 @@ WrongPass.Logging = 0
# section my.ini)
# ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
# Unix/Linux)
# Default: "127.0.0.1;3306;acore;acore;auth"
# Default: "127.0.0.1;3306;acore;acore;acore_auth"
LoginDatabaseInfo = "127.0.0.1;3306;acore;acore;acore_auth"

View File

@@ -442,7 +442,9 @@ void World::LoadConfigSettings(bool reload)
///- Read the player limit and the Message of the day from the config file
if (!reload)
SetPlayerAmountLimit(sConfigMgr->GetIntDefault("PlayerLimit", 100));
{
SetPlayerAmountLimit(sConfigMgr->GetIntDefault("PlayerLimit", 1000));
}
Motd::SetMotd(sConfigMgr->GetStringDefault("Motd", "Welcome to an AzerothCore server"));

View File

@@ -71,6 +71,7 @@ DataDir = "."
# Description: Logs directory setting.
# Important: LogsDir needs to be quoted, as the string might contain space characters.
# Logs directory must exists, or log file creation will be disabled.
# Example: "/home/youruser/azeroth-server/logs"
# Default: "" - (Log files will be stored in the current path)
LogsDir = ""
@@ -86,9 +87,9 @@ LogsDir = ""
# section my.ini)
# ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
# Unix/Linux)
# Default: "127.0.0.1;3306;acore;acore;auth" - (LoginDatabaseInfo)
# "127.0.0.1;3306;acore;acore;world" - (WorldDatabaseInfo)
# "127.0.0.1;3306;acore;acore;characters" - (CharacterDatabaseInfo)
# Default: "127.0.0.1;3306;acore;acore;acore_auth" - (LoginDatabaseInfo)
# "127.0.0.1;3306;acore;acore;acore_world" - (WorldDatabaseInfo)
# "127.0.0.1;3306;acore;acore;acore_characters" - (CharacterDatabaseInfo)
LoginDatabaseInfo = "127.0.0.1;3306;acore;acore;acore_auth"
WorldDatabaseInfo = "127.0.0.1;3306;acore;acore;acore_world"
@@ -183,11 +184,11 @@ Compression = 1
# Description: Maximum number of players in the world. Excluding Mods, GMs and Admins.
# Important: If you want to block players and only allow Mods, GMs or Admins to join the
# server, use the DB field "auth.realmlist.allowedSecurityLevel".
# Default: 100 - (Enabled)
# 1+ - (Enabled)
# 0 - (Disabled, No limit)
# Default: 1000 - (Enabled)
# 1+ - (Enabled)
# 0 - (Disabled, No limit)
PlayerLimit = 100
PlayerLimit = 1000
#
# SaveRespawnTimeImmediately
@@ -653,7 +654,7 @@ SQLDeveloperLogFile = ""
#
# SQLDriverLogFile
# Description: Log file for SQL driver events.
# Example: "SQLDriver.log" - (Enabled)
# Example: "WorldSQLDriver.log" - (Enabled)
# Default: "" - (Disabled)
SQLDriverLogFile = ""