Advertisement
Guest User

Untitled

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