Skip to content
Ontey6 edited this page Sep 30, 2025 · 3 revisions

What is 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.

How to use

In your command, add a tab section:

command:
  tab:
    1: players # all online players
    2: # your own list
      - diamond
      - iron

Usually, 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

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
  - set

This defaults to to players

Argument Tab - v0.5

Sets the tab to reflect the args

Copy all args with

tab: args

Or just single arguments

tab:
  1: args
  2: players

Clone this wiki locally