-
Notifications
You must be signed in to change notification settings - Fork 0
Tab
Tab is a way to make players see what args they can type.
To show it visually, '_' will be the player's cursor here:
/command _
Here, the player will see the tab completion that you specified for arg 1.
In your command, add a tab section:
command:
tab:
1: players # all online players
2: # your own list
- diamond
- ironUsually, the suggestions are dynamic, which means, they will be hid when not matching the user input.
But you can make the always stay with the static prefix:
<static>amount
static follows the placeholder format.
Tab automatically gets sorted, I can't do anything against that.
No-Tab is the tab that is displayed when none is set.
You can simple set it in the no-tab field.
No-Tab supports the players, which returns the list of players,
and none, which just makes the tab disappear (equivalent to '[]')
no-tab:
- not
- setThis defaults to to players
Sets the tab to reflect the args
Copy all args with
tab: argsOr just single arguments
tab:
1: args
2: players