Advertisement
Guest User

config

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