···11+package tech.henning.client;
22+33+import java.math.BigInteger;
44+55+public class Configuration {
66+77+ /**
88+ * IP Address or Hostname of the server to establish a connection.
99+ */
1010+ public static final String SERVER_ADDRESS = "127.0.0.1";
1111+1212+ /**
1313+ * Name of the cache folder located in the users home directory.
1414+ */
1515+ public static final String CACHE_NAME = ".377cache";
1616+1717+ /**
1818+ * Port for establishing a connection to the game server.
1919+ */
2020+ public static final int GAME_PORT = 43594;
2121+2222+ /**
2323+ * Port for establishing a connection to the update server.
2424+ */
2525+ public static final int JAGGRAB_PORT = 43595;
2626+2727+ /**
2828+ * Port for establishing a backup connection to the update
2929+ * server in case the initial JAGGRAB connection fails.
3030+ */
3131+ public static final int HTTP_PORT = 80;
3232+3333+ /**
3434+ * Whether or not the update server should be used.
3535+ */
3636+ public static final boolean JAGGRAB_ENABLED = true;
3737+3838+ /**
3939+ * Whether or not the network packets should be encrypted.
4040+ */
4141+ public static final boolean RSA_ENABLED = true;
4242+4343+ /**
4444+ * Public key to be used in RSA network encryption.
4545+ */
4646+ public static final BigInteger RSA_PUBLIC_KEY = new BigInteger("65537");
4747+4848+ /**
4949+ * Modulus to be used in the RSA network encryption.
5050+ */
5151+ public static final BigInteger RSA_MODULUS = new BigInteger("141676157752195554735559211145264378937976297633767586286947546254112706939523147177486275692443604121432268321940975736544648897121324600822274740814139678532354218331462623318311718669229065754584663117654839398911927015058106642488139604266125209131471909966472090271413833528051210941238152814528481571969");
5252+5353+}