-------- config.lua --------
-- Config file for OTServ --
----------------------------
-- data directory location
datadir = "data/"
-- map location
map = "data/world/map.otbm"
-- mapkind
-- options: OTBM for binary map, XML for OTX map
mapkind = "OTDB"
-- map store location (for XML only)
mapstore = "data/world/Bianco-mapstore.xml"
-- house store location (for XML only)
housestore = "data/world/Bianco-housestore.xml"
-- bans storage (for XML only)
banIdentifier = "data/bans.xml"
-- server name
servername = "OTDB"
-- server location
location = "Brazil"
-- server ip (the ip that server listens on)
ip = "ipotdbonline.zapto.org"
-- server port (the port that server listens on)
port = "7171"
-- server owner name
ownername = "ADM Makarov"
-- world type
-- options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"
-- exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
exhausted = 2000
-- exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
fightexhausted = 2000
-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1 second)
exhaustedadd = 2000
-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
pzlocked = 5*1000
-- set to 0 = disabled (default), 1 = enabled
enablehotkeys = 1
-- minimum amount of time between actions ('Use') (1000 = 1 second)
minactioninterval = 100
-- minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
minactionexinterval = 2000
-- how many messages player can span before get muted
maxmessagebuffer = 10
despawnragne = 2
despawnradius = 50
-- house rent period
-- options: daily, weekly, monthly
houserentperiod = "daily"
-- motd (the message box that you sometimes get before you choose characters)
motd = "Server Criado por Makarov."
motdnum = "1"
-- login message
loginmsg = "Bem vindos!"
-- how many logins attempts until ip is temporary disabled
-- set to 0 to disable
logintries = 0
-- how long the retry timeout until a new login can be made (without disabling the ip)
retrytimeout = 60*1000
-- how long the player need to wait until the ip is allowed again
logintimeout = 60 * 1000
-- allow clones (multiple logins of the same char)
-- options: 0 (no), 1 (yes)
allowclones = 0
-- max number of players allowed
maxplayers = "120"
-- SQL type
-- options: mysql
sql_type = "mysql"
--- MySQL part (ignore if you are using SQLite)
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db = "wodbo"
--- SQLite part (ignore if you are using MySQL)
sqlite_db = "db.s3db"
-------------------------------------------------------------------------------------------------
---------------------------- Configuration ------------------------------------------------------
-------------------------------------------------------------------------------------------------
-- world name (shows in the character list)
worldname = "Criado por Makarov"
-- time to save the server (default = 5)
autosave = 5
-- do you want to enable cap system? (yes/no)
capsystem = "no"
-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 3600
-- how many summons player can have
maxsummons = 0
-- maximum items in depot
maxdepotitems = 1000
-- learn spells (yes/no)
learnspells = "no"
-- do you want everyone to have premium
freepremium = "no"
-- how many mana grow in 1 min sleep
bedregen = 10
-- Price for each SQM when buying a house
houseprice = 1000
-- level to buy a house
houselevel = 250
-- maximum death entries per player
maxdeathentries = 10
-- time, what player need wait to open body, if he not kill this creature (in seconds)
ownerloot = 10
-- players with that and lower lvl's cant be attacked
protectlevel = 50
-- color o exp above player
expcolor = 71
-- animated spells above player (yes/no)
animatedspells = "yes"
-- remove distance ammunition (yes/no)
removedistance = "no"
-- remove runes (yes/no
removerunes = "no"
-------------------------------------------------------------------------------------
----------------------------------- Multipliers -----------------------------------
-------------------------------------------------------------------------------------
-- experience multiplier (how much faster you got exp from monsters)
rate_exp = 999
-- monster lootrating (how much faster you get items from monsters)
rate_loot = 3
-- skill multiplier (another multiplier in data/vocations.xml)
rate_skill = 250
-- manaspent multiplier (another multiplier in data/vocations.xml)
rate_magic = 150
-- spawn multiplier
rate_spawn = 1
---------------------------------------------------------------------------------------
-------------------------- Skull System -----------------------------------------------
---------------------------------------------------------------------------------------
-- time to lose a white skull (1 = 1 minute)
whitetime = 10
-- time to lose one frag (1 = 1 hour)
fragtime = 10
-- ban unjust, how many frags you need to get banned (1 = 1 frag)
banunjust = 6
-- red skull unjust, how many frags you need to get a red skull (1 = 1 frag)
redunjust = 3
-- bantime, for how long the player is banned (1 = 1 hour)
bantime = 24*1
--------------------------------------------------------------------------------------
------------------------------- GM access rights -------------------------------------
--------------------------------------------------------------------------------------
-- access to walk into houses and open house doors
accesshouse = 5
-- access to login without waiting in the queue or when server is closed
accessenter = 1
-- access to ignore damage, exhaustion, cap limit and be ignored by monsters
accessprotect = 4
-- access to broadcast messages and talk in colors (#c blabla - in public channels)
accesstalk = 2
-- access to see id and position of the item you are looking at
accesslook = 4