All pastes #2054170 Raw Edit

config.lua

public text v1 · immutable
#2054170 ·published 2011-05-05 10:48 UTC
rendered paste body
----config.lua--------------
-- Config file for otserv
-- Comments start with a --
----------------------------

-- datadir
datadir = "data/"

-- map
-- sets what map to load, if sql, determines the sql map
map = "data/world/Evolutions.otbm"
mapstore = "data/world/Evolutions-mapstore.xml"
housestore = "data/world/Evolutions-housestore.xml"
houserentperiod = "monthly"

-- mapkind
-- OTBM for binary, SQL for SQL map, XML for OTX maps
mapkind = "OTBM"

-- bans
banIdentifier = "data/bans.xml"

-- 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 = 5000

-- how long the player need to wait until the ip is allowed again
logintimeout = 15*60*1000

-- loginmsg
-- the message the player gets when he logs in
loginmsg = "Welcome to Aussie Alliance RPG. For help visit http://www.otfans.net/showthread.php?t=46553"

-- port
-- the port otserv listens on
port = "7171"

-- servername
-- name of our server
servername = "Aussie Alliance"

-- ownername
-- name of the owner of our server
ownername = "AirHawk023"

-- owneremail
-- email of the owner of our server
owneremail = ""

-- url
-- the url for more server info
url = "http://aussiealliance.no-ip.org"

-- location
-- the location of the server
location = "netherland"

-- ip
-- the ip the server should redirect too
ip = "80.57.77.101"

-- motd
-- The messagebox you sometimes get before you choose characters
motd = "Welcome to Aussie Alliance 7.81 RPG. Please choose your character."
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 = "900"

-- exhausted time in ms (1000 = 1sec)
exhausted = 1000

-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 200

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 60*1000

-- allow multiple logins of the same char
allowclones = 0

--- SQL part
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db   = "otserv"


--- SQL MAP part
map_host = "localhost"
map_user = "root"
map_pass = ""
map_db   = ""

-------------------------------------------------------------------------------------------------
---------------------------- Evolutions basic configuration ----------------------------
-------------------------------------------------------------------------------------------------

-- world name in the char list
worldname = "Alliance"

-- interval between server saves
autosave = 10

-- maximum death entries
maxdeathentries = 10

-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15

-- cap system
capsystem = "no"

-- premium for all players
freepremium = "no"

-------------------------------------------------------------------------------------
---------------------------- Multipliers and gains ----------------------------
-------------------------------------------------------------------------------------

-- experience multiplier (how much faster you got exp from monsters)
expmul = 6

-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 2

-- monster lootrating (how much faster you get items from monsters)
lootmul = 3

-- Price for each SQM when buying a house
houseprice = 10000

-- level to buy a house
houselevel = 40

---------------------------------------------------------------------------------------
------------------------- Skull System configuration -------------------------
---------------------------------------------------------------------------------------

-- time to lose a white skull (1 = 1 minute)
whitetime = 15

-- time to lose one frag (1 = 1 hour)
fragtime = 1

-- 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 = 3

-- 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 = 3

-- access to broadcast messages and talk in colors (#c blabla - in public channels)
accesstalk = 1

-- access to move distant items from/to distant locations
accessmove = 3

-- access to see id and position of the item you are looking at
accesslook = 2