Examples
You can use the "_" char for spaces in sub-commands.
Flat file example 1
Contents of the help.yml file:
sub1_sub2: - 'This is a &6test' - 'page of the &c&ncommand' - '/help sub1 sub2'
If you type the command /help sub1 sub2 it displays:
This is a test
page of the command
/help sub1 sub2
Flat file example 2
You can also use numbers in sub-commands:
1: - 'This is the' - 'page 1' test: - 'This is a test' 2_test: - 'This is' - 'another test'
The file above contains three commands:
- /help 1 (note that if the sub-command is equal to '1' you can write just /help), which displays:
This is the page 1
- /help test, which displays:
This is a test
- /help 2 test, which displays:
This is another test
Comments