ConfigDeprecated

annotation class ConfigDeprecated(val value: String = "")

A setting marked as ConfigDeprecated will not appear in the auto-generated config screen and won't be saved (but WILL be read from file).

This may be useful for conversion of configs over time. If you mark a deprecated setting with ConfigDeprecated, you can still use that setting in Config.update, paired with Version

Author

fzzyhmstrs

Since

0.7.5

Parameters

value

reason for the deprecation, optional

Properties

Link copied to clipboard