Guest User

Untitled

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