-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.lua
128 lines (112 loc) · 2.91 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
-- Banishments
banDays = 7
-- Combat settings
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
criticalHitChance = 0
removeAmmoWhenUsingDistanceWeapon = "yes"
runesHitTopCreature = "yes"
removeChargesFromRunes = "yes"
removeChargesFromWeapons = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
oldConditionAccuracy = "no"
stairJumpExhaustion = 2000
experienceByKillingPlayers = "no"
-- Connection Config
ip = "127.0.0.1"
bindOnlyGlobalAddress = "no"
loginProtocolPort = 7171
gameProtocolPort = 7172
adminProtocolPort = 7171
statusProtocolPort = 7171
maxPlayers = "1000"
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Forgotten"
loginMessage = "Welcome to The Forgotten Server!"
adminLogsEnabled = "no"
statusTimeout = 60000
replaceKickOnLogin = "yes"
maxPacketsPerSecond = 25
-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use Tibia's
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1
deathListEnabled = "yes"
maxDeathRecords = 5
-- Houses
housePriceEachSQM = 1000
houseRentPeriod = "never"
-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Map
mapName = "forgotten"
mapAuthor = "Komic"
-- Market
marketEnabled = "yes"
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = "yes"
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306
-- Misc.
allowChangeOutfit = "yes"
displayGamemastersWithOnlineCommand = "no"
displayOnOrOffAtCharlist = "no"
freePremium = "no"
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
noDamageToSameLookfeet = "no"
tileHeightBlock = "yes"
autoStack = "no"
summonsDropCorpse = "yes"
blessingsReduceItemDrop = "no"
displayLootMessage = "no"
-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 5
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1
offlineRateSkill = 2
offlineRateMagic = 2
-- Server save
-- NOTE: serverSaveHour is the hour of the day when the server save will occur,
-- if you would rather save the server with intervals, disable server save and
-- use autoSaveEachMinutes.
serverSaveEnabled = "no"
serverSaveHour = 10
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "yes"
autoSaveEachMinutes = 0
saveGlobalStorage = "no"
-- Monsters
deSpawnRange = 2
deSpawnRadius = 50
-- Stamina
staminaSystem = "yes"
-- Startup
-- NOTE: defaultPriority only works on Windows and sets process priority.
defaultPriority = "high"
startupDatabaseOptimization = "no"
-- Storage
passwordType = "sha1"
-- Status server information
ownerName = "Mark Samman"
ownerEmail = "[email protected]"
url = "http://otland.net/"
location = "Sweden"