suggest

open fun suggest(source: McCommandSource, arguments: Array<String>): List<String>

Provides a list of command suggestions based on the current input.

By default, it returns an empty list.

Return

A list of suggested command inputs.

Parameters

source

The command source requesting suggestions.

arguments

An array of command arguments provided by the user for generating suggestions.