Advertisement
Guest User

Untitled

a guest
Jul 12th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.95 KB | None | 0 0
  1. /***********************************************************************
  2. * ArcEmu Logonserver Configuration File
  3. * Last edited: 11/14/2010
  4. *
  5. *******************************************************************************
  6. * Configure the logonserver to connect to the accounts mysql database below   *
  7. *******************************************************************************
  8. * Database Section
  9. *
  10. * LogonDatabase.Host      - The hostname that the database is located on
  11. * LogonDatabase.Username  - The username used for the mysql connection
  12. * LogonDatabase.Password  - The password used for the mysql connection
  13. * LogonDatabase.Name      - The database name
  14. * LogonDatabase.Port      - Port that MySQL listens on. Usually 3306.
  15. *******************************************************************************/
  16.  
  17. <LogonDatabase Hostname = "127.0.0.1"
  18.                Username = "mangos"
  19.                Password = "mangos"
  20.                Name     = "arc_logon"
  21.                Port     = "3306">
  22.  
  23. /* Host Directive
  24. *
  25. *    This is the address that the realmlist will listen on.
  26. *    To listen on all addresses, set it to 0.0.0.0
  27. *    Default: 127.0.0.1 (localhost)
  28. *
  29. *    Note: ISHost is the interserver communication listener.
  30. */
  31.  
  32. <Listen Host = "0.0.0.0"
  33.         ISHost = "0.0.0.0"
  34.         RealmListPort = "3724"
  35.         ServerPort = "8093">
  36.  
  37. /* Server file logging level
  38. *
  39. *    This directive controls how much output the server will
  40. *    write to log files. It cannot be disabled
  41. *    0 = Normal + Error; 1 = Detail; 2 = Debug
  42. *    Default: 0
  43. */
  44.  
  45. <LogLevel File = "2">
  46.  
  47. /* Account Refresh Time
  48. *
  49. *    This controls on which time interval accounts gets
  50. *    refreshed. (In seconds)
  51. *    Default = 600
  52. *    600 seconds = 10 minutes - 1 second = 0.0166666667 minutes 300 seconds = 5 minutes, 150 seconds = 2.5minutes
  53. *
  54. */
  55.  
  56. <Rates AccountRefresh = "600">
  57.  
  58. /* WorldServer Setup
  59. *
  60. *  RemotePassword
  61. *    This directive controls the password used to authenticate with the worldserver.
  62. *    It must be the same between the two configs. If it is not, your server will
  63. *    not register.
  64. *
  65. *    Default: "change_me_logon"
  66. *
  67. *  AllowedIPs
  68. *    This section MUST be completed, otherwise all attempts to link your servers will fail.
  69. *    These "Allowed" fields are a space-separated list of CIDR-form IP addresses that are allowed
  70. *    to make server connections to your logonserver, and register realms.
  71. *    For example, everything in the 127.0.0.* range would be:
  72. *         127.0.0.0/24, as 24 of the bits must match the 127.0.0.0
  73. *
  74. *    To allow a single IP,
  75. *         1.3.3.7/32, would allow only 1.3.3.7 to connect as 32 of the bits must match.
  76. *
  77. *  AllowedModIPs
  78. *    In the same form as AllowedIPs, these are the IPs that are allowed to modify the database
  79. *    (adding bans, GMs, account permissions, etc)
  80. */
  81.  
  82. <LogonServer RemotePassword = "change_me_logon"
  83.              AllowedIPs = "127.0.0.1/24"
  84.              AllowedModIPs = "127.0.0.1/24">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement