khanat-code-old/code/nelns/login_service/login_service.cfg

34 lines
1.5 KiB
INI
Raw Normal View History

2016-12-09 15:04:26 +00:00
// link the common configuration file
RootConfigFilename = "common.cfg";
DisplayedVariables += { "", "@Shards|shards", "@RegUsers|registeredUsers", "@OnlineUsers|onlineUsers", "OnlineUsers|OnlineUsersNumber" };
WSPort = 49999; // port for the welcome service connection (default is 49999)
WebPort = 49998; // port for the web server (default 49998)
ClientsPort = 49997; // port for the clients connection (default 49997)
AcceptExternalShards = 1; // 1 if you want to accept external shard that are not in database
AcceptUnknownUsers = 1; // 1 if you want to accept users that are not in database
Beep = 0; // 1 if you want to beep when a new client comes
DatabaseHost = "localhost"; // name of the host where the mysql database is (empty string mean localhost)
DatabaseName = "nel"; // name of the database where we can find needed info
DatabaseLogin = "root"; // if we need a login to access the database
DatabasePassword = ""; // if we need a password to access the database
ForceDatabaseReconnection = "dummy"; // change this value to force a configfile reload and reconnection to the database
// to take in count the new value of Database*
// the content of this variable doesn't matter, it s just a fake to reload database var
// If 1, the client directly connects to the LS
// If 0, the client already has the fsaddr and cookie from the launcher
UseDirectClient = 0;
DontUseNS = 1;
DontUseAES = 1;
SId = 3;