dominique120

Untitled

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