---------------------------- OTServ configuration ------------------------------
-- datadir
datadir = "data/"
-- sets what map to load
map = "data/world/test.otbm"
-- OTBM for binary, SQL for SQL map, XML for OTX maps
mapkind = "OTBM"
-- SQL for acc/player info from SQL, XML for acc/player info from XML
sourcedata = "XML"
-- the message the player gets when he logs in
loginmsg = "Witaj na Mojim ots"
-- the port otserv listens on
port = "7171"
-- name of our server
servername = "Daimond"
-- name of the owner of our server
ownername = "M & R"
-- email of the owner of our server
owneremail = "
[email protected]"
-- the url for more server info
url = ""
-- the location of the server
location = "Polska"
-- the ip the server should redirect too
ip = "10.0.27.110"
-- The messagebox you sometimes get before you choose characters
motd = "Witaj na OTS Daimond"
motdnum="1"
-- use md5 passwords for accounts, yes/no
md5passwords = "no"
-- world type. options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"
-- max number of players allowed
maxplayers = "15"
-- exhausted time in ms (1000 = 1sec)
exhausted = 2000
-- exhaustion time for healing spells (1000 = 1sec)
exhaustedheal = 1000
-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 300
-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 10*1000
-- allow multiple logins of the same char
allowclones = 0
-- vocation names
vocations = {"a sorcerer", "a druid", "a paladin", "a knight"}
promoted_vocations = {"a master sorcerer", "an elder druid", "a royal paladin", "an elite knight"}
--- SQL part
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db = "otserv"
--- SQL MAP part
sqlmap = "test_map"
map_host = "localhost"
map_user = "root"
map_pass = ""
map_db = ""
Zakładki