Package com.velocitypowered.api.command
Interface Command
-
- All Known Subinterfaces:
InvocableCommand<I>,RawCommand,SimpleCommand
- All Known Implementing Classes:
BrigadierCommand
public interface CommandRepresents a command that can be executed by aCommandSourcesuch as aPlayeror the console.You must not subclass
Command. Use one of the following registrable subinterfaces:BrigadierCommandwraps a Brigadier literal command node. It supports parameterized arguments and specialized execution, tab complete suggestions and permission-checking logic.SimpleCommandis modelled after the convention popularized by Bukkit and BungeeCord.RawCommandis useful for bolting on external command frameworks onto Velocity.