@CompleteFor
annotation.
Examples:
Method1
to 20
.#range:20
will be from 1
to 20
, #range:0-5
will be from 0
to 5
, doing just #range
will default to 1
to 10
.#worlds
, don't forget the #
.
By registering a new completion with the same ID as an existing one, you can override it.X
if so, complete the second argument with Sounds
, if first argument is Y
complete the second argument with Materials
.hideTabComplete
.CommandManager
constructor on your onEnable
method.