Advertisement
Guest User

Untitled

a guest
Nov 6th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.59 KB | None | 0 0
  1. -- The Forgotten Server Config
  2.  
  3. -- Account manager
  4. accountManager = true
  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 = "192.168.0.102" --OR my own public ip e.g. 74.144.12.2
  90. bindOnlyGlobalAddress = false
  91. loginPort = 7171
  92. gamePort = 7172
  93. loginTries = 10
  94. retryTimeout = 5 * 1000
  95. loginTimeout = 60 * 1000
  96. maxPlayers = 1000
  97. motd = "Welcome to the Forgotten Server!"
  98. displayOnOrOffAtCharlist = false
  99. onePlayerOnlinePerAccount = true
  100. allowClones = false
  101. serverName = "Forgotten"
  102. loginMessage = "Welcome to the Forgotten Serveasdr!"
  103. statusTimeout = 5 * 60 * 1000
  104. replaceKickOnLogin = true
  105. forceSlowConnectionsToDisconnect = false
  106. loginOnlyWithLoginServer = false
  107. premiumPlayerSkipWaitList = false
  108. enableCast = true
  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. -- encryptionType can be plain, md5, sha1, sha256, sha512 or vahash.
  114. sqlType = "mysql"
  115. sqlHost = "127.0.0.1"
  116. sqlPort = 3306
  117. sqlUser = "xxxxx"
  118. sqlPass = "xxxxx"
  119. sqlDatabase = "xxxxx"
  120. sqlFile = "theforgottenserver.s3db"
  121. sqlKeepAlive = 0
  122. mysqlReadTimeout = 10
  123. mysqlWriteTimeout = 10
  124. encryptionType = "plain"
  125.  
  126. -- Deathlist
  127. deathListEnabled = true
  128. deathListRequiredTime = 1 * 60 * 1000
  129. deathAssistCount = 19
  130. maxDeathRecords = 5
  131.  
  132. -- Guilds
  133. ingameGuildManagement = true
  134. levelToFormGuild = 8
  135. premiumDaysToFormGuild = 0
  136. guildNameMinLength = 4
  137. guildNameMaxLength = 20
  138.  
  139. -- Highscores
  140. highscoreDisplayPlayers = 15
  141. updateHighscoresAfterMinutes = 60
  142.  
  143. -- Houses
  144. buyableAndSellableHouses = true
  145. houseNeedPremium = true
  146. bedsRequirePremium = true
  147. levelToBuyHouse = 1
  148. housesPerAccount = 0
  149. houseRentAsPrice = false
  150. housePriceAsRent = false
  151. housePriceEachSquare = 1000
  152. houseRentPeriod = "never"
  153. houseCleanOld = 0
  154. guildHalls = false
  155.  
  156. -- Item usage
  157. timeBetweenActions = 500
  158. timeBetweenExActions = 1000
  159. hotkeyAimbotEnabled = true
  160.  
  161. -- Exhaust
  162. onBuy = 500
  163. onSell = 500
  164. changeOutfit = 500
  165.  
  166. -- Map
  167. -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
  168. mapName = "omniverse.otbm"
  169. mapAuthor = "Komic"
  170. randomizeTiles = true
  171. storeTrash = true
  172. cleanProtectedZones = true
  173. mailboxDisabledTowns = ""
  174.  
  175. -- Process
  176. -- NOTE: defaultPriority works only on Windows and niceLevel on *nix
  177. -- niceLevel works only on *nix systems
  178. -- coresUsed are seperated by comma cores ids used by server process,
  179. -- default is -1, so it stays untouched (automaticaly assigned by OS).
  180. defaultPriority = "high"
  181. niceLevel = 5
  182. coresUsed = "-1"
  183.  
  184. -- Startup
  185. startupDatabaseOptimization = true
  186. updatePremiumStateAtStartup = true
  187. confirmOutdatedVersion = false
  188. skipItemsVersionCheck = true
  189.  
  190. -- Spells
  191. formulaLevel = 5.0
  192. formulaMagic = 1.0
  193. bufferMutedOnSpellFailure = false
  194. spellNameInsteadOfWords = false
  195. emoteSpells = false
  196.  
  197. -- Outfits
  198. allowChangeOutfit = true
  199. allowChangeColors = true
  200. allowChangeAddons = true
  201. disableOutfitsForPrivilegedPlayers = false
  202. addonsOnlyPremium = true
  203.  
  204. -- Miscellaneous
  205. -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
  206. -- called "exception tracer" (__EXCEPTION_TRACER__ flag).
  207. dataDirectory = "data/"
  208. logsDirectory = "data/logs/"
  209. bankSystem = true
  210. displaySkillLevelOnAdvance = false
  211. promptExceptionTracerErrorBox = true
  212. maximumDoorLevel = 500
  213. maxMessageBuffer = 4
  214.  
  215. -- VIP list
  216. separateVipListPerCharacter = false
  217. vipListDefaultLimit = 20
  218. vipListDefaultPremiumLimit = 100
  219.  
  220. -- Saving-related
  221. -- useHouseDataStorage usage may be found at README.
  222. saveGlobalStorage = true
  223. useHouseDataStorage = true
  224. storePlayerDirection = false
  225.  
  226. -- Loot
  227. -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)
  228. checkCorpseOwner = true
  229. monsterLootMessage = 3
  230. monsterLootMessageType = 25
  231.  
  232. -- Ghost mode
  233. ghostModeInvisibleEffect = true
  234. ghostModeSpellEffects = true
  235.  
  236. -- Limits
  237. idleWarningTime = 14 * 60 * 1000
  238. idleKickTime = 15 * 60 * 1000
  239. reportsExpirationAfterReads = 1
  240. playerQueryDeepness = 2
  241. tileLimit = 0
  242. protectionTileLimit = 0
  243. houseTileLimit = 0
  244.  
  245. -- Premium-related
  246. freePremium = true
  247. premiumForPromotion = true
  248.  
  249. -- Blessings
  250. -- NOTE: blessingReduction* regards items/containers loss.
  251. -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
  252. blessings = true
  253. blessingOnlyPremium = true
  254. blessingReductionBase = 30
  255. blessingReductionDecrement = 5
  256. eachBlessReduction = 8
  257.  
  258. -- Rates
  259. -- NOTE: experienceStages configuration is located in data/XML/stages.xml.
  260. -- rateExperienceFromPlayers 0 to disable.
  261. experienceStages = false
  262. rateExperience = 5.0
  263. rateExperienceFromPlayers = 0
  264. rateSkill = 3.0
  265. rateMagic = 3.0
  266. rateLoot = 2.0
  267. rateSpawn = 1
  268.  
  269. -- Monster rates
  270. rateMonsterHealth = 1.0
  271. rateMonsterMana = 1.0
  272. rateMonsterAttack = 1.0
  273. rateMonsterDefense = 1.0
  274.  
  275. -- Experience from players
  276. -- NOTE: min~Threshold* set to 0 will disable the minimum threshold:
  277. -- player will gain experience from every lower leveled player.
  278. -- max~Threshold* set to 0 will disable the maximum threshold:
  279. -- player will gain experience from every higher leveled player.
  280. minLevelThresholdForKilledPlayer = 0.9
  281. maxLevelThresholdForKilledPlayer = 1.1
  282.  
  283. -- Stamina
  284. -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
  285. -- rateStaminaHits multiplies every hit done a creature, which are later
  286. -- multiplied by player attack speed.
  287. -- rateStaminaGain is multiplying every second of logged out time, eg:
  288. -- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off.
  289. -- rateStaminaThresholdGain is dividing in case the normal gain (that is
  290. -- multiplied by rateStaminaGain, btw.) passed above threshold, eg:
  291. -- 60 * 1000 / 3 = 20 / 4 = 5 seconds (3 * 4 = 12 minutes for 1 stamina minute).
  292. -- staminaRatingLimit* is in minutes.
  293. rateStaminaLoss = 1
  294. rateStaminaGain = 3
  295. rateStaminaThresholdGain = 12
  296. staminaRatingLimitTop = 40 * 60
  297. staminaRatingLimitBottom = 14 * 60
  298. staminaLootLimit = 14 * 60
  299. rateStaminaAboveNormal = 1.5
  300. rateStaminaUnderNormal = 0.5
  301. staminaThresholdOnlyPremium = true
  302.  
  303. -- Party
  304. -- NOTE: experienceShareLevelDifference is float number.
  305. -- experienceShareLevelDifference is highestLevel * value
  306. experienceShareRadiusX = 30
  307. experienceShareRadiusY = 30
  308. experienceShareRadiusZ = 1
  309. experienceShareLevelDifference = 2 / 3
  310. extraPartyExperienceLimit = 20
  311. extraPartyExperiencePercent = 5
  312. experienceShareActivity = 2 * 60 * 1000
  313.  
  314. -- Global save
  315. -- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
  316. -- if you want such a system please check out data/globalevents/globalevents.xml.
  317. globalSaveEnabled = false
  318. globalSaveHour = 8
  319. globalSaveMinute = 0
  320. shutdownAtGlobalSave = true
  321. cleanMapAtGlobalSave = false
  322.  
  323. -- Spawns
  324. deSpawnRange = 2
  325. deSpawnRadius = 50
  326.  
  327. -- Summons
  328. maxPlayerSummons = 2
  329. teleportAllSummons = false
  330. teleportPlayerSummons = false
  331.  
  332. -- Status
  333. statusPort = 7171
  334. ownerName = ""
  335. ownerEmail = "@otland.net"
  336. url = "http://otland.net/"
  337. location = "Europe"
  338. displayGamemastersWithOnlineCommand = false
  339.  
  340. -- Logs
  341. displayPlayersLogging = true
  342. prefixChannelLogs = ""
  343. runFile = ""
  344. outputLog = ""
  345. truncateLogsOnStartup = false
  346.  
  347. -- Manager
  348. -- NOTE: managerPassword left blank disables manager.
  349. managerPort = 7171
  350. managerLogs = true
  351. managerPassword = ""
  352. managerLocalhostOnly = true
  353. managerConnectionsLimit = 1
  354.  
  355. -- Admin
  356. -- NOTE: adminPassword left blank disables manager.
  357. -- Set to anything if you set adminRequireLogin to false.
  358. -- adminEncryption available options: rsa1024xtea;
  359. -- remember to set correct data!
  360. adminPort = 7171
  361. adminLogs = true
  362. adminPassword = ""
  363. adminLocalhostOnly = true
  364. adminConnectionsLimit = 1
  365. adminRequireLogin = true
  366. adminEncryption = ""
  367. adminEncryptionData = ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement