Guest User

Untitled

a guest
Feb 8th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.80 KB | None | 0 0
  1. --- DIRECTORY PATH ---
  2.  
  3.     DataDir = "data/"
  4.  
  5. --- BANS ---
  6.  
  7.     NotationsToBan = 3
  8.     WarningsToFinalBan = 4
  9.     WarningsToDeletion = 5
  10.     BanLength = 1 * 24 * 60 * 60
  11.     FinalBanLength = 7 * 24 * 60 * 60
  12.     IPBanishmentLength = 24 * 60 * 60
  13.     KillsToBan = 7
  14.  
  15. --- COMBAT ---
  16.  
  17.     -- World type
  18.     -- options: pvp, no-pvp, pvp-enforced
  19.     WorldType = "pvp"
  20.  
  21.     -- Exhausted time in ms (1000 = 1 second) for yelling
  22.     Exhausted = 1000
  23.  
  24.     -- Exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
  25.     FightExhausted = 2000
  26.  
  27.     -- Exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
  28.     HealExhausted = 1000
  29.  
  30.     -- How many ms to add if the player is already exhausted and tries to yell (1000 = 1 second)
  31.     ExhaustedAdd = 200
  32.  
  33.     -- How long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
  34.     PZLock = 60000
  35.  
  36.     -- How long a field belongs to a player before it no longer causes PZ lock for the owner
  37.     FieldOwnershipDuration = 5000
  38.  
  39.     -- In mili seconds
  40.     TimeToDecreaseFrags = 12 * 60 * 60 * 1000
  41.  
  42.     -- Time white skull will remain after killing a player, in minutes
  43.     WhiteSkullTime = 15
  44.  
  45.     -- amount of kills that leads to red skull
  46.     KillsToRedSkull = 5
  47.  
  48.     -- Remove ammunition
  49.     -- If false, ammunition will not be removed when using distance weapons
  50.     -- (or other weapons that use ammunition)
  51.     RemoveAmmunition = true
  52.  
  53.     -- Remove rune charges
  54.     -- This only applies to runes done using the default functions.
  55.     -- Custom runes made using actions will not be affected.
  56.     RemoveRuneCharges = true
  57.  
  58.     -- Remove weapon charges
  59.     -- Set to false to disable charges disappearing from weapons on use
  60.     RemoveWeaponCharges = true
  61.  
  62.     -- Top player on a stacked tile will be unable to heal
  63.     UHTrap = true
  64.  
  65. ---- CONNECTION ----
  66.  
  67.     -- Server ip (the ip that server listens on)
  68.     IP = "127.0.0.1"
  69.  
  70.     -- Server port (the port that server listens on)
  71.     Port = "7171"
  72.  
  73.     -- How many logins attempts until ip is temporary disabled
  74.     -- Set to 0 to disable
  75.     LoginTries = 5
  76.  
  77.     -- How long the retry timeout until a new login can be made (without disabling the ip)
  78.     RetryTimeout = 5000
  79.  
  80.     -- How long the player need to wait until the ip is allowed again
  81.     LoginTimeout = 60 * 1000
  82.  
  83.     -- Allow clones (multiple logins of the same char)
  84.     AllowClones = false
  85.  
  86.     -- Only one player online per account
  87.     CheckAccounts = true
  88.  
  89. ---- DATABASE ----
  90.  
  91.     -- SQL type
  92.     -- options: mysql, sqlite, odbc or pgsql
  93.     SQL_Type = "mysql"
  94.  
  95.     --- SQL connection part
  96.     SQL_DB   = "test"
  97.  
  98.     -- these settings are not used by SQLite
  99.     SQL_Host = "localhost"
  100.     SQL_Port = 3306
  101.     SQL_User = "root"
  102.     SQL_Pass = "bmm1nu1i"
  103.  
  104. ---- HOUSES ----
  105.  
  106.     -- house rent period
  107.     -- options: daily, weekly, monthly
  108.     HouseRentPeriod = "monthly"
  109.  
  110.     -- Price for a tile
  111.     HousePrice = 100
  112.  
  113.     HouseLevel = 20
  114.     PremOnlyHouse = true
  115.     PremOnlyBeds = true
  116.  
  117. --- INFO ---
  118.  
  119.     -- Login message
  120.     LoginMsg = "Welcome to LaterToBeNamed..."
  121.  
  122.     -- Server name
  123.     ServerName = "LaterToBeNamed"
  124.  
  125.     -- World name
  126.     WorldName = "LaterTobeNamed"
  127.  
  128.     -- Server owner name
  129.     OwnerName = "Caleb & Matt"
  130.  
  131.     -- Server owner email
  132.     OwnerEmail = "latertobenamed"
  133.  
  134.     -- Server url
  135.     URL = ""
  136.  
  137.     -- Server location
  138.     Location = "TBA"
  139.  
  140.  
  141. ---- ITEM USAGE ----
  142.  
  143.     -- Minimum amount of time between actions ('Use') (1000 = 1 second)
  144.     MinActionInterval = 200
  145.  
  146.     -- Minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
  147.     MinActionExInterval = 1000
  148.  
  149. ---- MAP ----
  150.  
  151.     -- Map location
  152.     Map = "data/world/dragonspawn.otbm"
  153.  
  154.     -- Mapkind
  155.     -- Options: OTBM for binary map, XML for OTX map
  156.     MapKind = "OTBM"
  157.  
  158.     -- Type of map storage,
  159.     -- 'relational' - Slower, but possible to run database queries to change all items to another id for example.
  160.     -- 'binary' - Faster, but you cannot run DB queries.
  161.     -- To switch, load server with the current type, change the type in config.lua
  162.     -- type /reload config and the save the server with /closeserver serversave
  163.     MapStoreType = "binary"
  164.  
  165. ---- RATES ----
  166.  
  167.     -- Rates (experience, skill, magic level, loot and spawn)
  168.     RateExp = 2
  169.     RateSkill = 10
  170.     RateMag = 3
  171.     RateLoot = 2
  172.     RateSpawn = 1
  173.  
  174.  
  175. --- SPAWNS ---
  176.  
  177.     -- Despawn configs
  178.     -- How many floors can a monster go from his spawn before despawning
  179.     DespawnRange = 2
  180.  
  181.     -- How many square metters can a monster be far from his spawn before despawning
  182.     DespawnRadius = 50
  183.  
  184. --- STATUS ---
  185.  
  186.     -- Message Of The Day box that you sometimes get before you choose characters)
  187.     MOTD = "Welcome to LaterToBeNamed!"
  188.     MOTD_Num = "1"
  189.  
  190.     -- Max number of players allowed
  191.     MaxPlayers = "1000"
  192.  
  193. --- OTHER ---
  194.  
  195.     -- Accounts password type
  196.     -- options: plain, md5, sha1
  197.     PasswordType = "plain"
  198.  
  199.     -- Max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
  200.     MaxMessageBuffer = 0
  201.  
  202.     -- Save client debug assertion reports
  203.     SaveClientDebug = false
  204.  
  205.     -- Should the server use account balance system or depot system for paying houses?
  206.     UseAccBalance = false
  207.  
  208.     -- Time after player will be kicked when idle, in minutes
  209.     MaxIdleTime = 15
  210.  
  211.     -- Level on which player will get rooked
  212.     LevelToRook = 0
  213.  
  214.     -- TownId to which player will be teleported
  215.     RookTempleId = 4
  216.  
  217.     -- if your website is not showing player deaths, then keep this as false
  218.     StorePlayerDeaths = true
  219.  
  220.     -- ID of temple to which player will get teleported when his prem end out
  221.     -- 0 to disable
  222.     -- not tested yet
  223.     FACCTempleID = 0
Add Comment
Please, Sign In to add comment