Advertisement
Guest User

Untitled

a guest
Jan 31st, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.51 KB | None | 0 0
  1. -- The Forgotten Server Config
  2.  
  3. -- Account manager
  4. accountManager = false
  5. namelockManager = true
  6. newPlayerChooseVoc = true
  7. newPlayerChooseTown = false
  8. newPlayerDefaultTownId = 1
  9. newPlayerLevel = 1
  10. newPlayerMagicLevel = 0
  11. generateAccountNumber = false
  12.  
  13. -- Unjustified kills
  14. -- NOTE: *Banishment and *BlackSkull variables are >summed up<
  15. -- (dailyFragsToRedSkull + dailyFragsToBanishment) with their
  16. -- *RedSkull equivalents.
  17. -- Auto banishing works only if useBlackSkull set to negative.
  18. -- advancedFragList is not advised if you use huge frags
  19. -- requirements.
  20. useFragHandler = true
  21. redSkullLength = 30 * 24 * 60 * 60
  22. blackSkullLength = 45 * 24 * 60 * 60
  23. dailyFragsToRedSkull = 3
  24. weeklyFragsToRedSkull = 5
  25. monthlyFragsToRedSkull = 10
  26. dailyFragsToBlackSkull = dailyFragsToRedSkull
  27. weeklyFragsToBlackSkull = weeklyFragsToRedSkull
  28. monthlyFragsToBlackSkull = monthlyFragsToRedSkull
  29. dailyFragsToBanishment = dailyFragsToRedSkull
  30. weeklyFragsToBanishment = weeklyFragsToRedSkull
  31. monthlyFragsToBanishment = monthlyFragsToRedSkull
  32. blackSkulledDeathHealth = 40
  33. blackSkulledDeathMana = 0
  34. useBlackSkull = true
  35. advancedFragList = false
  36.  
  37. -- Banishments
  38. -- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment
  39. -- killsBanLength works only if useBlackSkull option is disabled.
  40. notationsToBan = 3
  41. warningsToFinalBan = 4
  42. warningsToDeletion = 5
  43. banLength = 7 * 24 * 60 * 60
  44. killsBanLength = 7 * 24 * 60 * 60
  45. finalBanLength = 30 * 24 * 60 * 60
  46. ipBanishmentLength = 1 * 24 * 60 * 60
  47. broadcastBanishments = true
  48. maxViolationCommentSize = 200
  49. violationNameReportActionType = 2
  50. autoBanishUnknownBytes = false
  51.  
  52. -- Battle
  53. -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
  54. -- loginProtectionPeriod is the famous Tibia anti-magebomb system.
  55. -- deathLostPercent set to nil enables manual mode.
  56. worldType = "open"
  57. protectionLevel = 1
  58. pvpTileIgnoreLevelAndVocationProtection = true
  59. pzLocked = 60 * 1000
  60. huntingDuration = 60 * 1000
  61. criticalHitChance = 7
  62. criticalHitMultiplier = 1
  63. displayCriticalHitNotify = false
  64. removeWeaponAmmunition = true
  65. removeWeaponCharges = true
  66. removeRuneCharges = true
  67. whiteSkullTime = 15 * 60 * 1000
  68. noDamageToSameLookfeet = false
  69. showHealingDamage = false
  70. showHealingDamageForMonsters = false
  71. healthHealingColor = COLOR_GREEN
  72. manaHealingColor = COLOR_DARKPURPLE
  73. fieldOwnershipDuration = 5 * 1000
  74. stopAttackingAtExit = false
  75. loginProtectionPeriod = 10 * 1000
  76. deathLostPercent = 10
  77. stairhopDelay = 2 * 1000
  78. pushCreatureDelay = 2 * 1000
  79. deathContainerId = 1987
  80. gainExperienceColor = 215
  81. addManaSpentInPvPZone = true
  82. squareColor = 0
  83. allowFightback = true
  84. fistBaseAttack = 7
  85. optionalWarAttackableAlly = false
  86.  
  87. -- Connection config
  88. worldId = 0
  89. ip = "127.0.0.1"
  90. loginPort = 7171
  91. gamePort = 7172
  92. loginTries = 10
  93. retryTimeout = 5 * 1000
  94. loginTimeout = 60 * 1000
  95. maxPlayers = 1000
  96. motd = "Welcome to the Forgotten Server!"
  97. displayOnOrOffAtCharlist = false
  98. onePlayerOnlinePerAccount = true
  99. allowClones = false
  100. serverName = "Forgotten"
  101. loginMessage = "Welcome to the Forgotten Server!"
  102. statusTimeout = 5 * 60 * 1000
  103. replaceKickOnLogin = true
  104. forceSlowConnectionsToDisconnect = false
  105. loginOnlyWithLoginServer = false
  106. premiumPlayerSkipWaitList = false
  107. enableCast = true
  108.  
  109. -- Database
  110. -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
  111. -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
  112. -- encryptionType can be plain, md5, sha1, sha256, sha512 or vahash.
  113. sqlType = "sqlite"
  114. sqlHost = "localhost"
  115. sqlPort = 3306
  116. sqlUser = "*****"
  117. sqlPass = "*****"
  118. sqlDatabase = "arcoma"
  119. sqlFile = "theforgottenserver.s3db"
  120. sqlKeepAlive = 0
  121. mysqlReadTimeout = 10
  122. mysqlWriteTimeout = 10
  123. encryptionType = "sha1"
  124.  
  125. -- Deathlist
  126. deathListEnabled = true
  127. deathListRequiredTime = 1 * 60 * 1000
  128. deathAssistCount = 19
  129. maxDeathRecords = 5
  130.  
  131. -- Guilds
  132. ingameGuildManagement = true
  133. levelToFormGuild = 8
  134. premiumDaysToFormGuild = 0
  135. guildNameMinLength = 4
  136. guildNameMaxLength = 20
  137.  
  138. -- Highscores
  139. highscoreDisplayPlayers = 15
  140. updateHighscoresAfterMinutes = 60
  141.  
  142. -- Houses
  143. buyableAndSellableHouses = true
  144. houseNeedPremium = true
  145. bedsRequirePremium = true
  146. levelToBuyHouse = 1
  147. housesPerAccount = 0
  148. houseRentAsPrice = false
  149. housePriceAsRent = false
  150. housePriceEachSquare = 1000
  151. houseRentPeriod = "never"
  152. houseCleanOld = 0
  153. guildHalls = false
  154.  
  155. -- Item usage
  156. timeBetweenActions = 500
  157. timeBetweenExActions = 1000
  158. hotkeyAimbotEnabled = true
  159.  
  160. -- Exhaust
  161. onBuy = 500
  162. onSell = 500
  163. changeOutfit = 500
  164.  
  165. -- Map
  166. -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
  167. mapName = "forgotten.otbm"
  168. mapAuthor = "Komic"
  169. randomizeTiles = true
  170. storeTrash = true
  171. cleanProtectedZones = true
  172. mailboxDisabledTowns = ""
  173.  
  174. -- Process
  175. -- NOTE: defaultPriority works only on Windows and niceLevel on *nix
  176. -- niceLevel works only on *nix systems
  177. -- coresUsed are seperated by comma cores ids used by server process,
  178. -- default is -1, so it stays untouched (automaticaly assigned by OS).
  179. defaultPriority = "high"
  180. niceLevel = 5
  181. coresUsed = "-1"
  182.  
  183. -- Startup
  184. startupDatabaseOptimization = true
  185. updatePremiumStateAtStartup = true
  186. confirmOutdatedVersion = false
  187. skipItemsVersionCheck = true
  188.  
  189. -- Spells
  190. formulaLevel = 5.0
  191. formulaMagic = 1.0
  192. bufferMutedOnSpellFailure = false
  193. spellNameInsteadOfWords = false
  194. emoteSpells = false
  195.  
  196. -- Outfits
  197. allowChangeOutfit = true
  198. allowChangeColors = true
  199. allowChangeAddons = true
  200. disableOutfitsForPrivilegedPlayers = false
  201. addonsOnlyPremium = true
  202.  
  203. -- Miscellaneous
  204. -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
  205. -- called "exception tracer" (__EXCEPTION_TRACER__ flag).
  206. dataDirectory = "data/"
  207. logsDirectory = "data/logs/"
  208. bankSystem = true
  209. displaySkillLevelOnAdvance = false
  210. promptExceptionTracerErrorBox = true
  211. maximumDoorLevel = 500
  212. maxMessageBuffer = 4
  213.  
  214. -- VIP list
  215. separateVipListPerCharacter = false
  216. vipListDefaultLimit = 20
  217. vipListDefaultPremiumLimit = 100
  218.  
  219. -- Saving-related
  220. -- useHouseDataStorage usage may be found at README.
  221. saveGlobalStorage = true
  222. useHouseDataStorage = true
  223. storePlayerDirection = false
  224.  
  225. -- Loot
  226. -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)
  227. checkCorpseOwner = true
  228. monsterLootMessage = 3
  229. monsterLootMessageType = 25
  230.  
  231. -- Ghost mode
  232. ghostModeInvisibleEffect = true
  233. ghostModeSpellEffects = true
  234.  
  235. -- Limits
  236. idleWarningTime = 14 * 60 * 1000
  237. idleKickTime = 15 * 60 * 1000
  238. reportsExpirationAfterReads = 1
  239. playerQueryDeepness = 2
  240. tileLimit = 0
  241. protectionTileLimit = 0
  242. houseTileLimit = 0
  243.  
  244. -- Premium-related
  245. freePremium = true
  246. premiumForPromotion = true
  247.  
  248. -- Blessings
  249. -- NOTE: blessingReduction* regards items/containers loss.
  250. -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
  251. blessings = true
  252. blessingOnlyPremium = true
  253. blessingReductionBase = 30
  254. blessingReductionDecrement = 5
  255. eachBlessReduction = 8
  256.  
  257. -- Rates
  258. -- NOTE: experienceStages configuration is located in data/XML/stages.xml.
  259. -- rateExperienceFromPlayers 0 to disable.
  260. experienceStages = false
  261. rateExperience = 5.0
  262. rateExperienceFromPlayers = 0
  263. rateSkill = 3.0
  264. rateMagic = 3.0
  265. rateLoot = 2.0
  266. rateSpawn = 1
  267.  
  268. -- Monster rates
  269. rateMonsterHealth = 1.0
  270. rateMonsterMana = 1.0
  271. rateMonsterAttack = 1.0
  272. rateMonsterDefense = 1.0
  273.  
  274. -- Experience from players
  275. -- NOTE: min~Threshold* set to 0 will disable the minimum threshold:
  276. -- player will gain experience from every lower leveled player.
  277. -- max~Threshold* set to 0 will disable the maximum threshold:
  278. -- player will gain experience from every higher leveled player.
  279. minLevelThresholdForKilledPlayer = 0.9
  280. maxLevelThresholdForKilledPlayer = 1.1
  281.  
  282. -- Stamina
  283. -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
  284. -- rateStaminaHits multiplies every hit done a creature, which are later
  285. -- multiplied by player attack speed.
  286. -- rateStaminaGain is multiplying every second of logged out time, eg:
  287. -- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off.
  288. -- rateStaminaThresholdGain is dividing in case the normal gain (that is
  289. -- multiplied by rateStaminaGain, btw.) passed above threshold, eg:
  290. -- 60 * 1000 / 3 = 20 / 4 = 5 seconds (3 * 4 = 12 minutes for 1 stamina minute).
  291. -- staminaRatingLimit* is in minutes.
  292. rateStaminaLoss = 1
  293. rateStaminaGain = 3
  294. rateStaminaThresholdGain = 12
  295. staminaRatingLimitTop = 40 * 60
  296. staminaRatingLimitBottom = 14 * 60
  297. staminaLootLimit = 14 * 60
  298. rateStaminaAboveNormal = 1.5
  299. rateStaminaUnderNormal = 0.5
  300. staminaThresholdOnlyPremium = true
  301.  
  302. -- Party
  303. -- NOTE: experienceShareLevelDifference is float number.
  304. -- experienceShareLevelDifference is highestLevel * value
  305. experienceShareRadiusX = 30
  306. experienceShareRadiusY = 30
  307. experienceShareRadiusZ = 1
  308. experienceShareLevelDifference = 2 / 3
  309. extraPartyExperienceLimit = 20
  310. extraPartyExperiencePercent = 5
  311. experienceShareActivity = 2 * 60 * 1000
  312.  
  313. -- Global save
  314. -- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
  315. -- if you want such a system please check out data/globalevents/globalevents.xml.
  316. globalSaveEnabled = false
  317. globalSaveHour = 8
  318. globalSaveMinute = 0
  319. shutdownAtGlobalSave = true
  320. cleanMapAtGlobalSave = false
  321.  
  322. -- Spawns
  323. deSpawnRange = 2
  324. deSpawnRadius = 50
  325.  
  326. -- Summons
  327. maxPlayerSummons = 2
  328. teleportAllSummons = false
  329. teleportPlayerSummons = false
  330.  
  331. -- Status
  332. statusPort = 7171
  333. ownerName = ""
  334. ownerEmail = "@otland.net"
  335. url = "http://otland.net/"
  336. location = "Europe"
  337. displayGamemastersWithOnlineCommand = false
  338.  
  339. -- Logs
  340. displayPlayersLogging = true
  341. prefixChannelLogs = ""
  342. runFile = ""
  343. outputLog = ""
  344. truncateLogsOnStartup = false
  345.  
  346. -- Manager
  347. -- NOTE: managerPassword left blank disables manager.
  348. managerPort = 7171
  349. managerLogs = true
  350. managerPassword = ""
  351. managerLocalhostOnly = true
  352. managerConnectionsLimit = 1
  353.  
  354. -- Admin
  355. -- NOTE: adminPassword left blank disables manager.
  356. -- Set to anything if you set adminRequireLogin to false.
  357. -- adminEncryption available options: rsa1024xtea;
  358. -- remember to set correct data!
  359. adminPort = 7171
  360. adminLogs = true
  361. adminPassword = ""
  362. adminLocalhostOnly = true
  363. adminConnectionsLimit = 1
  364. adminRequireLogin = true
  365. adminEncryption = ""
  366. adminEncryptionData = ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement