conf: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


:<config key>
:<config key>
::- a configuration key name from [[config.txt]].  
::- a configuration key name from [[:Category:config.txt|config.txt]].  
:<value>
:<value>
::- any value depending on the configuration key being changed.  
::- any value depending on the configuration key being changed.  

Revision as of 22:46, 2 March 2017

conf <config key> [<value>|none]
conf <label>.(<attribute> | block) [<value>|none]
<config key>
- a configuration key name from config.txt.
<value>
- any value depending on the configuration key being changed.
<label>
- by specified label name in configuration block, you can use label name instead of configuration key (see example in config.txt)
Change a configuration key.
Command Description
conf <config key> Display the current value of the specified configuration key.
conf <config key> <value> Set a new value for the specified configuration key.
conf <config key> none Unset the specified configuration key.
conf <label>.<attribute> Display the current value of the specified attribute
conf <label>.<attribute> <value> Set a new value for the specified attribute through <label>.<attribute>.
conf <label>.<attribute> none Unset the specified attribute through <label>.<attribute>.
conf <label>.block Display the current value of the specified block.
conf <label>.block <value> Set a new value for the specified block through <label>.
conf <label>.block none Unset the specified block through <label>.

Notes

Kore will not disclose value of any option which name matches /password/i using this command.

Examples

  • config.txt:
lockMap prt_fild06

useSelf_item Apple, Red Herb {
	label useHP
	hp < 95%
	disabled 0
}

Console log:

conf lockMap
Config 'lockMap' is prt_fild06

conf lockMap prt_fild08
Config 'lockMap' set to prt_fild08 (was prt_fild06)
Calculating lockMap route to: Prontera Field(prt_fild08)

conf lockMap none
Config 'lockMap' unset (was prt_fild08)

conf useHP.hp
Config 'useSelf_item_0_hp' is < 95%

conf useHP.hp < 70%
Config 'useSelf_item_0_hp' set to < 70% (was < 95%)

conf useHP.disabled none
Config 'useSelf_item_0_disabled' unset (was 0)

conf useHP.block
Config 'useSelf_item_0' is Apple, Red Herb

conf useHP.block none
Config 'useSelf_item_0' unset (was Apple, Red Herb)

conf useHP.block Meat
Config 'useSelf_item_0' set to Meat (was not set)