| 1 | /*********************************************************************** |
|---|
| 2 | * ArcEmu Logonserver Configuration File |
|---|
| 3 | * Last edited: 7/18/09 |
|---|
| 4 | *********************************************************************** |
|---|
| 5 | * Configure the logonserver to connect to the accounts database below * |
|---|
| 6 | *********************************************************************** |
|---|
| 7 | * LogonDatabase.Host - The hostname that the database is located on |
|---|
| 8 | * LogonDatabase.Username - The username used for the mysql connection |
|---|
| 9 | * LogonDatabase.Password - The password used for the mysql connection |
|---|
| 10 | * LogonDatabase.Name - The database name |
|---|
| 11 | * LogonDatabase.Port - Port that MySQL listens on. Usually 3306. |
|---|
| 12 | * LogonDatabase.Type - Client to use. 1 = MySQL |
|---|
| 13 | * Not supported: - 2 = PostgreSQL (Partly implemented) |
|---|
| 14 | * Not Supported: - 3 = SQLite (unimplemented) |
|---|
| 15 | ***********************************************************************/ |
|---|
| 16 | |
|---|
| 17 | <LogonDatabase Hostname = "host" |
|---|
| 18 | Username = "user" |
|---|
| 19 | Password = "pass" |
|---|
| 20 | Name = "dbname" |
|---|
| 21 | Port = "3306" |
|---|
| 22 | Type = "1"> |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | /* Host Directive |
|---|
| 26 | * |
|---|
| 27 | * This is the address that the realmlist will listen on. |
|---|
| 28 | * To listen on all addresses, set it to 0.0.0.0 |
|---|
| 29 | * Default: 127.0.0.1 (localhost) |
|---|
| 30 | * |
|---|
| 31 | * Note: ISHost is the interserver communication listener. |
|---|
| 32 | */ |
|---|
| 33 | |
|---|
| 34 | <Listen Host = "0.0.0.0" |
|---|
| 35 | ISHost = "0.0.0.0" |
|---|
| 36 | RealmListPort = "3724" |
|---|
| 37 | ServerPort = "8093"> |
|---|
| 38 | |
|---|
| 39 | /* Server console logging level |
|---|
| 40 | * |
|---|
| 41 | * This directive controls how much output the server will |
|---|
| 42 | * display in it's console. Set to 0 for none. |
|---|
| 43 | * 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug |
|---|
| 44 | * Default: 3 |
|---|
| 45 | */ |
|---|
| 46 | |
|---|
| 47 | <LogLevel Screen = "0" |
|---|
| 48 | File = "-1"> |
|---|
| 49 | |
|---|
| 50 | /* Account Refresh Time |
|---|
| 51 | * |
|---|
| 52 | * This controls on which time interval accounts gets |
|---|
| 53 | * refreshed. (In seconds) |
|---|
| 54 | * Default = 600 |
|---|
| 55 | * 600 seconds = 10 minutes - 1 second = 0.0166666667 minutes 300 seconds = 5 minutes, 150 seconds = 2.5minutes |
|---|
| 56 | * |
|---|
| 57 | */ |
|---|
| 58 | |
|---|
| 59 | <Rates AccountRefresh = "600"> |
|---|
| 60 | |
|---|
| 61 | /* Accepted Build Range Setup |
|---|
| 62 | * |
|---|
| 63 | * These two directives set up which clients will be |
|---|
| 64 | * allowed to authenticate with the realm list. |
|---|
| 65 | * |
|---|
| 66 | * Set these to the same builds that the server was |
|---|
| 67 | * compiled for. |
|---|
| 68 | * |
|---|
| 69 | * As of the last update, version 3.1.3 was build 9947. |
|---|
| 70 | */ |
|---|
| 71 | |
|---|
| 72 | <Client MinBuild = "10482" |
|---|
| 73 | MaxBuild = "10505"> |
|---|
| 74 | |
|---|
| 75 | /* WorldServer Setup |
|---|
| 76 | * |
|---|
| 77 | * RemotePassword |
|---|
| 78 | * This directive controls the password used to authenticate with the worldserver. |
|---|
| 79 | * It must be the same between the two configs. If it is not, your server will |
|---|
| 80 | * not register. |
|---|
| 81 | * |
|---|
| 82 | * Default: "change_me_logon" |
|---|
| 83 | * |
|---|
| 84 | * AllowedIPs |
|---|
| 85 | * This section MUST be completed, otherwise all attempts to link your servers will fail. |
|---|
| 86 | * These "Allowed" fields are a space-seperated list of CIDR-form IP addresses that are allowed |
|---|
| 87 | * to make server connections to your logonserver, and register realms. |
|---|
| 88 | * For example, everything in the 127.0.0.* range would be: |
|---|
| 89 | * 127.0.0.0/24, as 24 of the bits must match the 127.0.0.0 |
|---|
| 90 | * |
|---|
| 91 | * To allow a single IP, |
|---|
| 92 | * 1.3.3.7/32, would allow only 1.3.3.7 to connect as 32 of the bits must match. |
|---|
| 93 | * |
|---|
| 94 | * AllowedModIPs |
|---|
| 95 | * In the same form as AllowedIPs, these are the IPs that are allowed to modify the database |
|---|
| 96 | * (adding bans, GMs, account permissions, etc) |
|---|
| 97 | */ |
|---|
| 98 | |
|---|
| 99 | <LogonServer RemotePassword = "change_me_logon" |
|---|
| 100 | AllowedIPs = "127.0.0.1/24" |
|---|
| 101 | AllowedModIPs = "127.0.0.1/24"> |
|---|