Advertisement
Guest User

Untitled

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