mcclient.exe /install, automatic connection to the server with the settings file
Automatic connection to MyChat Server by using a ready settings file with the server address, user login and password.
Examples
mcclient.exe /install -profile "c:\data files\profile.ini"
Run MyChat Client and add the settings file "c:\data files\profile.ini".
mcclient.exe /install
Run MyChat Client, take the settings file "mc.ini" from a user profile folder in MyChat Client "C:\Users\%USERNAME%\AppData\Local\MyChat Client\" (if the final folder of the client installation MyChat Client).
Structure of the file "INI"
[server]
ip=192.168.10.101
ip2=213.130.24.149
port=2004
port2=2004
name=Copper
desc=MyChat Server
servpassword=x123
[user]
nick=User
password=123456
Description of the file parameters
Parameter |
Description |
ip |
main address of MyChat Server. You can specify IP address or DNS name; |
ip2 |
backup address for MyChat Server. Unnecessary parameter; |
port |
TCP port of MyChat Server. Unnecessary parameter. By default, it's 2004; |
port2 |
port for backup address of MyChat Server. Unnecessary parameter; |
name |
server name. Unnecessary parameter. If you do not specify this parameter, the server will be displayed instead of a name; |
desc |
server description. Unnecessary parameter; |
servpassword |
common security password to the server. This is not a user password. Unnecessary parameter; |
nick |
new user nickname that needs to be registered on the server for connection; |
password |
password for a user that you register. |
Be attentive, parameters "nick" and "password" must vary or any other user wouldn't be able to register on the server after his first launch (if the server has restrictions for creating duplicate nicknames. After the client launch with the key "/install", the file INI is automatically deleted.
Example of the file mc.ini in the folder \doc in MyChat Client.