Skip to content

Commit fdea0f8

Browse files
authored
Fix allowed values in StringArgument mentioned in the documentation (CommandAPI#581)
1 parent 96088e5 commit fdea0f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docssrc/src/argument_strings.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ There are three types of arguments that return Java's `String` object. Each have
66

77
## String argument
88

9-
The `StringArgument` class is used to represent a single word. These words **can only contain alphanumeric characters (A-Z, a-z and 0-9), and the underscore character**.
9+
The `StringArgument` class is used to represent a single word. These words **can only contain alphanumeric characters (A-Z, a-z and 0-9) and the underscore (_), plus (+), minus (-) and period (.) characters.**
1010

1111
Accepted `StringArgument` values:
1212

1313
```txt
1414
Hello
1515
123
1616
hello123
17+
hello-123
18+
hello.WORLD
1719
Hello_world
1820
```
1921

0 commit comments

Comments
 (0)