Advertisement
Guest User

Untitled

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