To pass commandline arguments to Jin, simply specify them at the end of the
command you use to run Jin. For example,
~/chess/jin-2.13/jin [argument1] [argument2] or
java -jar jin.jar [argument1].
Each argument specifies a parameter
name and a parameter value, separated by an equals sign (=), for
example, color=blue is an argument with a parameter name
color and a parameter value blue. When specifying a
boolean parameter whose value is true you may omit the equals sign
and the value. For example, beNice=true and beNice
are equivalent.
Unless otherwise specified, the order of the arguments is not imporant.
These arguments are used as if you entered their values into the login dialog you get when Jin starts up.
login.server - The id of the server,
possible values are currently icc and
fics.
login.guest - A boolean parameter specifying
whether you want to login as guest. Note that selecting this option
specifies that other login parameters (hostname, port etc.) will be taken
from the preferences of your guest account by default.
login.username - The username of the account
you want to use. Note that selecting this option specifies that other
login parameters (hostname, port, password etc.) will be taken from the
preferences of the specified account by default. This means that if you
just want to login with an account Jin already knows, you don't have to
specify all the login parameters - the server and username is enough.
login.password - The password.
login.savepassword - Remember the password
for future logins.
login.hostname - The hostname of the server
to connect to.
login.ports - A list of ports for Jin to
connect on, separated by commas (,).
autologin - Boolean parameter specifying
whether to login automatically, without waiting for the user to hit the
"Login" button on the login dialog. If you just have one account on one
server, you can pass just this option and have Jin login automatically.
Examples:
jin login.server=icc login.username=OrionsKnight
autologin - automatically logs on the ICC with the
OrionsKnight account. Note that if this is not a known account with a
previously saved password, you may be asked to specify a password.
jin login.username=MAd - Selects the
previously known MAd account in the login dialog (without logging in
automatically).
jin login.server=icc login.username=bkb
login.password=macsrule login.hostname=queen.chessclub.com login.ports=23
autologin - Logs on the queen ICC server with the bkb
account and macsrule password, forcing the connection to be opened on port
23.