This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathconfig.lua.dist
121 lines (104 loc) · 3.14 KB
/
config.lua.dist
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
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = "127.0.0.1"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The Ruby Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Ruby"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 25
-- RSA config (1024-bit)
prime1 = "11529513972452594599397943766675918249175495076059297175490701849849074635590986035940837614682055080505831296855785117473158634241843652583781417871644217"
prime2 = "11357701122311633579783270598731867871078257849167281928523412961982978631326055885477501671483966536488958047963248917681241501436288235828208990107723433"
-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1
-- Houses
-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionality
housePriceEachSQM = 1000
houseRentPeriod = "never"
-- Items
maxStackedItems = 250
maxTradeItems = 250
maxBuyOrSellItems = 250
-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Pokeball Usage
timeBetweenPokeballs = 200
timeBetweenGoback = 500
-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "ruby"
mapAuthor = "Tataboy67"
-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "rubyserver"
mysqlPass = ""
mysqlDatabase = "rubyserver"
mysqlPort = 3306
mysqlSock = ""
-- Misc.
-- NOTE: classicAttackSpeed set to true makes players constantly attack at regular
-- intervals regardless of other actions such as item (potion) use. This setting
-- may cause high CPU usage with many players and potentially affect performance!
allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteMoves = false
classicEquipmentSlots = false
classicAttackSpeed = false
-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 5
rateSkill = 3
rateLoot = 2
rateSpawn = 1
rateCatch = 1
-- Pokemon
deSpawnRange = 2
deSpawnRadius = 50
teleportToPlayerFloor = 1
teleportToPlayerTiles = 8
-- Stamina
staminaSystem = true
-- Scripts
warnUnsafeScripts = true
convertUnsafeScripts = true
-- Startup
-- NOTE: defaultPriority only works on Windows and sets process
-- priority, valid values are: "normal", "above-normal", "high"
defaultPriority = "high"
startupDatabaseOptimization = false
-- Status server information
ownerName = ""
ownerEmail = ""
url = "https://github.com/therubyproject/rubyserver/"
location = "Brazil"