Annotation Interface Text
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated.booleanDeprecated.No longer needed.Deprecated.booleanDeprecated.No longer needed.booleanAllow the text box to span multiple lines, wrapping long text and accepting line breaks (the enter key and pasted\n/\r\n).Deprecated.booleanDeprecated.No longer needed.Insert a regex expression which will be used to validate the text written in the box.Deprecated.Deprecated.booleanDeprecated.No longer needed.
-
Element Details
-
title
String title -
titleTranslation
Deprecated.No longer needed. OneConfig now checks whether the given title is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the title and remove this flag.- Default:
false
-
titleKey
Deprecated.- Default:
""
-
description
String description- Default:
""
-
descriptionTranslation
Deprecated.No longer needed. OneConfig now checks whether the given description is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the description and remove this flag.- Default:
false
-
descriptionKey
Deprecated.- Default:
""
-
icon
String icon- Default:
""
-
regex
String regexInsert a regex expression which will be used to validate the text written in the box.- Default:
""
-
multiline
boolean multilineAllow the text box to span multiple lines, wrapping long text and accepting line breaks (the enter key and pasted\n/\r\n).- Default:
false
-
category
String category- Default:
"General"
-
categoryKey
Deprecated.- Default:
""
-
categoryTranslation
Deprecated.No longer needed. OneConfig now checks whether the given category is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the category and remove this flag.- Default:
false
-
subcategory
String subcategory- Default:
"General"
-
subcategoryKey
Deprecated.- Default:
""
-
placeholder
- Default:
"oneconfig.textinput.placeholder"
-
placeholderTranslation
Deprecated.No longer needed. OneConfig now checks whether the given placeholder is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the placeholder and remove this flag.- Default:
false
-
placeholderKey
Deprecated.- Default:
""
-