Category:config.txt: Difference between revisions
Technology (talk | contribs) m (remove a space) |
m (4epT moved page Category:сonfig.txt to Category:config.txt without leaving a redirect) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 12: | Line 12: | ||
<attribute2> <value2> | <attribute2> <value2> | ||
} | } | ||
* These formats are strict. You can't use many options in one line. Curly brackets must be positioned exactly as in the example. | |||
==Details== | ==Details== | ||
Line 23: | Line 25: | ||
:These are basically the same as config keys but they are only used inside configuration blocks. These attributes define properties for the current block, as well as the conditions when the block will be used. | :These are basically the same as config keys but they are only used inside configuration blocks. These attributes define properties for the current block, as well as the conditions when the block will be used. | ||
Note | Note: Lines that begin with the pound sign (#) are comment lines. They are ignored by Openkore. You can also make blocks of comments by enclosing multiple lines inside /* and */. | ||
==Notes== | |||
Most of the configuration settings in this file are optional. Unless otherwise specified, you can either leave the value empty or delete the whole entry, in which case either the default value will be used (e.g disabled for boolean flags) or the option will be completely ignored. | |||
Each unique configuration key in key-value lines must appear only once inside this file (except for [[!include]]). When multiple lines have the same config key, that configuration option takes the value set in the line that appears last. | |||
In contrast, you can specify an unlimited number of blocks with the same configuration key name. However, not all blocks defined for a certain configuration key will always be used by Kore. When Kore is ready to use a certain type of block configuration, Kore checks each defined block from top to bottom and stops when it finds a block whose defined attributes or conditions are met. Therefore, place the more important block options on top and the lower priority ones, below. | |||
== Developer Notes == | |||
Empty by default options which are rarely needed shouldn't be added to default config. New users would be confused by them, and power users can discover them by reading this manual or source code. | |||
[[Category: | [[Category:control]] |
Latest revision as of 01:34, 27 April 2021
The file config.txt is the main configuration file. It is where you configure most of Kore's behavior.
Syntax
Entries in this file follows two distict formats, the key-value and the block format. The key-value format is outright simple. Each line contains a configuration key as the first word, followed by the value:
<config key> <value>
The block format, on the other hand, follows the similar concept, but additional attributes enclosed in curly brackets "{ }" extend the block config option's meaning:
<config key> <value> { <attribute1> <value1> <attribute2> <value2> }
- These formats are strict. You can't use many options in one line. Curly brackets must be positioned exactly as in the example.
Details
- <config key>
- This is one of the configuration variable names used by Kore. See the configuration list below for a list of available config variables.
- <value>
- This sets the value for the corresponding configuration variable that will be used by Kore. The type of meaningful values vary with each configuration key. The proper values for each config keys are described in the configuration list below.
- <attribute>
- These are basically the same as config keys but they are only used inside configuration blocks. These attributes define properties for the current block, as well as the conditions when the block will be used.
Note: Lines that begin with the pound sign (#) are comment lines. They are ignored by Openkore. You can also make blocks of comments by enclosing multiple lines inside /* and */.
Notes
Most of the configuration settings in this file are optional. Unless otherwise specified, you can either leave the value empty or delete the whole entry, in which case either the default value will be used (e.g disabled for boolean flags) or the option will be completely ignored.
Each unique configuration key in key-value lines must appear only once inside this file (except for !include). When multiple lines have the same config key, that configuration option takes the value set in the line that appears last.
In contrast, you can specify an unlimited number of blocks with the same configuration key name. However, not all blocks defined for a certain configuration key will always be used by Kore. When Kore is ready to use a certain type of block configuration, Kore checks each defined block from top to bottom and stops when it finds a block whose defined attributes or conditions are met. Therefore, place the more important block options on top and the lower priority ones, below.
Developer Notes
Empty by default options which are rarely needed shouldn't be added to default config. New users would be confused by them, and power users can discover them by reading this manual or source code.
Subcategories
This category has the following 22 subcategories, out of 22 total.
Pages in category "config.txt"
The following 200 pages are in this category, out of 449 total.
(previous page) (next page)I
L
- label
- lockMap
- lockMap randX
- lockMap randY
- lockMap x
- lockMap y
- logAppendServer
- logAppendUsername
- logChat
- logConsole
- logDead
- logEmoticons
- logGuildChat
- loginPinCode
- logLocalBroadcast
- logPartyChat
- logPrivateChat
- logShop
- logSystemChat
- logToFile Debug
- logToFile Errors
- logToFile Messages
- logToFile Warnings
M
- macAddress
- manualURL
- master
- mercenary attackAuto
- mercenary attackAuto considerDamagedAggressive
- mercenary attackAuto inLockOnly
- mercenary attackAuto notInTown
- mercenary attackAuto onlyWhenSafe
- mercenary attackAuto party
- mercenary attackBeyondMaxDistance waitForAgressive
- mercenary attackCanSnipe
- mercenary attackChangeTarget
- mercenary attackCheckLOS
- mercenary attackDistance
- mercenary attackDistanceAuto
- mercenary attackMaxDistance
- mercenary attackMaxRouteTime
- mercenary attackNoGiveup
- mercenary attackRouteMaxPathDistance
- mercenary followDistanceMax
- mercenary followDistanceMin
- mercenary route step
- mercenary runFromTarget
- mercenary runFromTarget dist
- mercenary runFromTarget inAdvance
- mercenary runFromTarget maxPathDistance
- mercenary runFromTarget minStep
- mercenary tankMode
- mercenary tankModeTarget
- mercenary teleportAuto deadly
- mercenary teleportAuto dropTarget
- mercenary teleportAuto dropTargetKS
- mercenary teleportAuto hp
- mercenary teleportAuto maxDmg
- mercenary teleportAuto maxDmgInLock
- mercenary teleportAuto totalDmg
- mercenary teleportAuto totalDmgInLock
- mercenary teleportAuto unstuck
- message length max
- minStorageZeny
- missDamage
- monster filter
- monsterLog
- monsterSkill
P
R
- relogAfterStorage
- repairAuto
- repairAuto list
- rodexMaxItems
- route avoidWalls
- route escape randomWalk
- route escape reachedNoPortal
- route escape shout
- route maxNpcTries
- route maxWarpFee
- route randomWalk
- route randomWalk inTown
- route randomWalk maxRouteTime
- route reAddMissingPortals
- route removeMissingPortals
- route removeMissingPortals NPC
- route step
- route teleport
- route teleport maxTries
- route teleport minDistance
- route teleport notInMaps
- route tryToGuessMissingPortalByDistance
- runFromTarget
- runFromTarget dist
- runFromTarget inAdvance
- runFromTarget maxPathDistance
- runFromTarget minStep
S
- saveMap
- saveMap warpChatCommand
- saveMap warpToBuyOrSell
- secureAdminPassword
- sellAuto
- sellAuto distance
- sellAuto maxDistance
- sellAuto npc
- sellAuto npc steps
- sellAuto standpoint
- server
- sex
- shop LockOnly
- shop random
- shop useSkill
- shop useSkill delay
- shopAuto open
- shopTitleOversize
- showAllDamage
- showDomain
- showDomain NPC
- showDomain Shop
- showTime
- showTimeDomains
- showTimeDomainsFormat
- sitAuto follow
- sitAuto hp lower
- sitAuto hp upper
- sitAuto idle
- sitAuto look
- sitAuto look from wall
- sitAuto over 50
- sitAuto sp lower
- sitAuto sp upper
- sitTensionRelax
- skillsAddAuto
- skillsAddAuto list
- sleepTime
- squelchDomains
- statsAdd over 99
- statsAddAuto
- statsAddAuto dontUseBonus
- statsAddAuto list
- status mapProperty
- status mapType
- storageAuto
- storageAuto distance
- storageAuto keepOpen
- storageAuto maxDistance
- storageAuto notAfterDeath
- storageAuto npc
- storageAuto npc steps
- storageAuto npc type
- storageAuto password
- storageAuto standpoint
- storageAuto type
- storageAuto useChatCommand
- storageAuto useItem
- storageAuto useItem item
T
- tankersList
- tankMode
- tankModeTarget
- teleportAuto allPlayers
- teleportAuto atkCount
- teleportAuto atkMiss
- teleportAuto attackedWhenSitting
- teleportAuto deadly
- teleportAuto dropTarget
- teleportAuto dropTargetHidden
- teleportAuto dropTargetKS
- teleportAuto equip leftAccessory
- teleportAuto equip rightAccessory
- teleportAuto hp