Guest User

pol.cfg

a guest
Oct 13th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #############################################################################
  2. ## Basic Configuration
  3. #############################################################################
  4.  
  5. #
  6. # UoDataFileRoot: where the UO client files are located
  7. #
  8. UoDataFileRoot=/var/tmp/UOML
  9.  
  10. # 'RealmDataPath' to set a different path to the data created by uoconvert.
  11. # Defaults to 'realm/'
  12. # RealmDataPath=
  13.  
  14. # Entry to pol.cfg 'WorldDataPath' to set a different path to the data files.
  15. # Defaults to 'data/'
  16. # WorldDataPath=
  17.  
  18. #
  19. # ListenPort: TCP/IP port to listen
  20. #  NOTE, if you change this, you probably need to edit
  21. #  servers.cfg
  22. #
  23. #ListenPort=2593
  24.  
  25. #
  26. # ClientEncryptionVersion: The client encryption version
  27. #                          Supported values: 1.26.4  2.0.0  ignition  uorice  none
  28. ClientEncryptionVersion=2.0.0
  29.  
  30. #
  31. # RetainCleartextPasswords: If you select this, the server will save plain passwords
  32. # in the accounts.txt file. If you set it to 0, all will be erased. You can get them back
  33. # by changing this back to 1 and successfully logging into the account (for each account)
  34. #
  35. RetainCleartextPasswords=1
  36.  
  37.  
  38. #############################################################################
  39. ## Logon and Logoff
  40. #############################################################################
  41.  
  42. #
  43. # MinCmdlevelToLogin: Only characters with this command level or higher
  44. #                     log in. (0=player,5=admin)
  45. #
  46. MinCmdlevelToLogin=0
  47.  
  48. MinCmdLvlToIgnoreInactivity=1
  49.  
  50. #
  51. # InactivityWarningTimeout: Time in minutes until the user gets a "you are
  52. #                           about to be disconnected: message
  53. #
  54. InactivityWarningTimeout=59
  55.  
  56. #
  57. # InactivityDisconnectTimeout: Idle Time in minutes before the user is
  58. #                              disconnected.
  59. #
  60. InactivityDisconnectTimeout=60
  61.  
  62. #
  63. # MaximumClients: Sets the total number of clients allowed to connect at
  64. #                 one time.
  65. MaximumClients=1000
  66.  
  67. #
  68. # MaximumClientsBypassCmdLevel: Sets the character command level that bypasses the
  69. #                               MaximumClients limiter
  70. #
  71. MaximumClientsBypassCmdLevel=1
  72.  
  73. # Defaults to 5. This is to set the maximum number
  74. # of slots an account can hold - to support clients that support 6 slots.
  75. CharacterSlots=5
  76.  
  77. #############################################################################
  78. ## System Profiling and Performance
  79. #############################################################################
  80.  
  81. #
  82. # WatchRPM: display the RPM counter to console every minute
  83. #
  84. WatchRpm=1
  85.  
  86. #
  87. # WatchSysload: display the Sysload counter to console every minute
  88. #
  89. WatchSysload=1
  90.  
  91. WatchMapCache=1
  92.  
  93. #
  94. # LogSysLoad: log sysload to pol.log every minute
  95. #
  96. LogSysload=1
  97.  
  98. #
  99. # LogScriptCycles: Write profiling information on scripts to pol.log on exit
  100. #
  101. LogScriptCycles=1
  102.  
  103. #
  104. # RunawayScriptThreshold: a script executing this many instructions without
  105. #                         sleeping will be reported as a runaway script
  106. RunawayScriptThreshold=40000
  107.  
  108. #
  109. # ReportRunToCompletionScripts: Print "run to completion" scripts that are running
  110. #
  111. ReportRunToCompletionScripts=0
  112.  
  113. #
  114. # ReportCriticalScripts: Print "critical" scripts that are running
  115. #
  116. ReportCriticalScripts=0
  117.  
  118. #
  119. # MaxCallDepth: Maximum function call depth for scripts
  120. #
  121. MaxCallDepth=100
  122.  
  123. # Will spam console, printing a lot of messages like:
  124. # Incoming msg type: 0xBF
  125. # Message Received: Type 0xBF, Length 6 bytes
  126. Verbose=0
  127.  
  128. DisplayUnknownPackets=0
  129.  
  130. TimestampEveryLine=0
  131.  
  132. # Example Realm info:
  133. #    - malas (mob: 0, off: 0, tli: 349, mlt: 0)
  134. #    - britannia (mob: 9070, off: 7829, tli: 95629, mlt: 1018)
  135. #    - tokuno (mob: 0, off: 0, tli: 62, mlt: 0)
  136. #    - britannia_alt (mob: 0, off: 0, tli: 0, mlt: 0)
  137. #    - ilshenar (mob: 0, off: 0, tli: 4120, mlt: 0)
  138. ShowRealmInfo=0
  139.  
  140. ThreadDecayStatistics=1
  141.  
  142.  
  143. #############################################################################
  144. ## Debugging
  145. #############################################################################
  146.  
  147. #
  148. # CacheInteractiveScripts: if 0, always load interactive scripts from disk
  149. #                          Useful for script development
  150. #
  151. CacheInteractiveScripts=0
  152.  
  153. #
  154. # EnableAssertions: For Linux build only, enable core assertions
  155. #
  156. EnableAssertions=1
  157.  
  158. DumpStackOnAssertionFailure=1
  159.  
  160. AssertionFailureAction=abort
  161.  
  162. #
  163. # EnableDebugLog: Enable the script debug log (formerly known as pol.lg2)
  164. #
  165. EnableDebugLog=0
  166.  
  167. #
  168. # DebugPort: TCP/IP port to listen for debugger connections
  169. #
  170. DebugPort=5004
  171.  
  172. #
  173. # DebugPassword: Password for debugging
  174. #   If none is specified, no password is required.
  175. DebugPassword=dontdebug
  176.  
  177. #
  178. # DebugLocalOnly: Only allow access from localhost
  179. #
  180. DebugLocalOnly=1
  181.  
  182. DebugLevel=0
  183.  
  184. #
  185. # MiniDumpType: type of crash dump created. values: small (default) or
  186. # large.
  187. #               Case sensative.
  188. #
  189. # MiniDumpType=variable. This is a new DMP file version. For now, I HIGHLY
  190. # RECOMMEND USING THIS IF YOU EXPERIENCE A LOT OF CRASHES OR ONES YOU CAN'T FIGURE OUT!
  191. # The reason for this, is it is a small dump PLUS it stores all variable information
  192. # from internal core functions in relation to the crash. This is information that
  193. # could be VERY crucial to us Core Developers when you send the DMP file to the forums.
  194. # So please, try to start using this one (We know the large option can be horendous.
  195. # This is an alternative to that).
  196. MiniDumpType=small
  197.  
  198. # The pol.cfg setting "LogLevel" can be used to debug issues at startup of
  199. # POL and various other places (unloadall for example). By setting this
  200. # higher than 1, up to 11 (just sounds good), it will force printing of
  201. # better information to help you find out problems during Loading and such.
  202. # Setting it for example, above 0, core will start spitting out "Checkpoint"
  203. # data during startup to say what it is about to load/process. Such as the
  204. # configuration, load realms, load multis, etc etc.
  205. LogLevel=11
  206.  
  207. # POL.Cfg::ReportMissingConfigs 0/1 (Default 1). Handles if Missing Config File
  208. # reports are printed to the Debug.Log file. These are reports for example, when
  209. # you use :*:npcdesc to open all npcdesc files in a script but not all packages
  210. # of course will have this file.
  211. ReportMissingConfigs=1
  212.  
  213. #############################################################################
  214. ## System Load and Save
  215. #############################################################################
  216.  
  217. #
  218. # CheckIntegrity: check for duplicate objects on startup
  219. #
  220. CheckIntegrity=1
  221.  
  222. #
  223. # IgnoreLoadErrors: force load to continue even if object creations fail
  224. #                   or containers cannot be found.
  225. #
  226. IgnoreLoadErrors=0
  227.  
  228. #
  229. # InhibitSaves: Don't ever save world state
  230. #
  231. InhibitSaves=0
  232.  
  233. # AccountDataSave (default -1)
  234. # Values:
  235. # -1 : old behaviour, saves accounts.txt immediately after an account change
  236. #  0 : saves only during worldsave (if needed)
  237. # >0 : saves every X seconds and during worldsave (if needed)
  238. AccountDataSave=0
  239.  
  240. ShutdownSaveType=full
  241.  
  242.  
  243. #############################################################################
  244. ## Features
  245. #############################################################################
  246.  
  247. #
  248. # RequireSpellbooks: Require spellbooks for casting (in hand or in pack)
  249. #
  250. RequireSpellbooks=1
  251.  
  252. #
  253. # EnableSecureTrading: if you enable this, see changes.txt regarding an entry
  254. #                      that MUST be added to config/itemdesc.cfg
  255. #
  256. EnableSecureTrading=1
  257.  
  258. # Will enforce that only items with the mount objtype
  259. # (as defined in extobj.cfg, default 0x1F021) can be mounted.
  260. EnforceMountObjtype=0
  261.  
  262. MaxTileID=0x3FFF
  263. MaxObjtype=0x20000
  264.  
  265. DiscardOldEvents=0
  266.  
  267. # Disable Nagle's algorithm, default to 0. In theory, latency should improve
  268. # if DisableNagle=1
  269. DisableNagle=1
  270.  
  271.  
  272. #############################################################################
  273. ## Integrated Web Server
  274. #############################################################################
  275.  
  276. #
  277. # WebServer: in multithread mode only, run the internal web server
  278. #            This may be a security risk.  It's susceptible to DoS attacks.
  279. #            If someone knows a little about TCP/IP, they could cause you
  280. #            trouble if it's enabled.
  281. #
  282. WebServer=0
  283.  
  284. #
  285. # WebServerPort: What TCP/IP port to listen for web requests
  286. #
  287. WebServerPort=8000
  288.  
  289. #
  290. # WebServerLocalOnly: Only allow access from localhost
  291. #
  292. WebServerLocalOnly=0
  293.  
  294. #
  295. # WebServerDebug: Print trace information about http requests
  296. #
  297. WebServerDebug=0
  298.  
  299. #
  300. # WebServerPassword: username/password required for access to the web server.
  301. #                    if not specified, no password is required.
  302. #
  303. WebServerPassword=
  304.  
  305.  
  306.  
  307. #############################################################################
  308. ## Experimental Options - Modify at your own risk
  309. #############################################################################
  310.  
  311. #
  312. # ExpLosChecksMap - prevents stuff like arrows from going through the 'black'
  313. #                   areas in dungeons.
  314. #
  315. ExpLosChecksMap=1
  316.  
  317.  
  318.  
  319. #############################################################################
  320. ## Obsolete options - do not modify these
  321. #############################################################################
  322.  
  323. #
  324. # Keyfile - contains crypto constants for a given client version
  325. #
  326. #Keyfile=crypto/v1_26_1.key
  327.  
  328. #
  329. # Multithread: use multiple threads to lower CPU usage
  330. # If you are using Linux 2.4.*, set this to 1.
  331. #
  332. Multithread=1
  333.  
  334. # UseSingleThreadLogin 1/0 default 0
  335. # if set all prelogin clients are handled inside the listener thread and not inside an extra thread
  336. # this will reduce the amount of thread creates and destroys
  337. UseSingleThreadLogin=0
  338.  
  339. SingleThreadDecay=1
  340.  
  341. #
  342. # SelectTimeout: I/O sleep time
  343. #   Set to 0 for a dedicated server.
  344. #   Set to 10 for a non-dedicated server.
  345. #   Has no effect in multithread mode
  346. #
  347. SelectTimeout=0
Add Comment
Please, Sign In to add comment