- All Known Implementing Classes:
public interface CommandRepresents a command that can be executed by a
CommandSourcesuch as a
Playeror the console.
Velocity 1.1.0 introduces specialized command subinterfaces to separate command parsing concerns. These include, in order of preference:
BrigadierCommand, which supports parameterized arguments and specialized execution, tab complete suggestions and permission-checking logic.
SimpleCommand, modelled after the convention popularized by Bukkit and BungeeCord. Older classes directly implementing
Commandare suggested to migrate to this interface.
RawCommand, useful for bolting on external command frameworks to Velocity.